logotransparent.png

Legion of Learners

www.lol-101.com

  • Home

  • Classrooms

  • Courses

  • About Us

    • Executive Team
    • Board Members
  • Resources

  • More

    Use tab to navigate through the menu items.
    To see this working, head to your live site.
    • Categories
    • All Posts
    • My Posts
    clarkipeng
    Jun 10

    6/9 Lesson Notes and HW

    in Java for ACSL

    Today we went over the basics of ACSL competitions and Java primitive types.

    Java primitive types fall into 3 main categories:

    - integer datatypes (byte, short, int, long)

    - character datatypes (char)

    - floating-point datatypes (float, double)


    Lesson notes can be found here:

    kahoot

    ACSL junior practice problem


    primitive types HW


    HW answers:

    5 is an int

    'h' is a char

    "hi" is a String

    true is a boolean

    19/10 = 1 because int division floors the result

    123/2 = 61 because int division floors the result

    10.5/5 = 2.1 because float division

    0 comments
    0
    0 comments

    Questions? Email us at legionoflearners@gmail.com or join our WeChat group!

    • lol-101dotcom

    ©2020 Legion of Learners