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
    12
    Steven
    Jun 14, 2020

    6/13 Homework: Computer Number Systems, part 1

    in CS Fundamentals for ACSL

    Pick a random decimal number between 100 and 999 and convert it to binary, octal, and hexadecimal while showing work. That's it!

    23 comments
    angelina_wang
    Jun 14, 2020

    My number: 175 [Capital “R” <—-Like this one means remainder! ]


    Binary: converted-10101111


    - (Work: 175/2=87 R1, 87/2=43 R1, 43/2=21 R1, 21/2=10 R1, 10/2=5, 5/2=2 R1, 2/2=1, 1/2=0 R1) number from last to first turns out to be —> 10101111


    Octal: converted-257


    - (work: 175/8=21 R7, 21/8=2 R5, 2/8=0 R2) numbers from last to first turns out to be —> 257


    Hexadecimal: converted answer- AF


    - (Work: 175/16=10 R15, 10/16=0 R10) letters from last to first is—> AF

    0
    Andy Ding
    Jun 14, 2020

    Scan_Jun_14_2020
    .pdf
    Download PDF • 302KB

    0
    olivialilo88
    Jun 14, 2020

    My work: Number=400

    Re=Remainder


    Binary:

    400/2=200, Re=0

    200/2=100, Re=0

    100/2=50, Re=0

    50/2=25, Re=0

    25/2=12, Re=(0.5)


    Octal:

    400/8=50, Re=0

    50/8=6, Re=(0.25)

    6.25/8=0, Re=(0.78125)

    0.78125/8=0, Re=(0.09765625)

    0.09765625/8=0, Re=(0.01220703125)


    Hexadecimal:

    400/16=25, Re=0

    25/16=1, Re=(1.5625)

    1.5625/16=1, Re=(0.09765625)

    0.09765625/16=0, Re=(0.00610351562)




    0
    olivialilo88
    Jun 15, 2020

    Answer for Binary: 387.5

    Answer for Octal: 51.1411132813

    Answer for Hexadecimal: 26.6662597656

    0
    yuyifei08
    Jun 14, 2020

    My number: 200


    Binary:

    200/2=100, R=0

    100/2=50, R=0

    50/2=25, R=0

    25/2=12, R=1

    12/2=6, R=0

    6/2=3, R=0

    3/2=1, R=1

    1/2=0, R=1

    Answer: 11001000


    Octal:

    200/8=25, R=0

    25/8=3, R=1

    3/8=0, R=3

    Answer: 310


    Hexadecimal:

    200/16=12, R=8

    12/16=0, R=12 (C)

    Answer: C8

    0
    kc5608
    Jun 14, 2020  ·  Edited: Jun 16, 2020

    Name: Kimi

    My Number: 100

    R = reminder


    Binary:

    100/2 = 50 R = 0

    50/2 = 25 R = 0

    25/2 = 12 R = 1

    12/2 = 6 R = 0

    6/2 = 3 R = 0

    3/2 = 1 R = 1

    1/2 = 0 R = 1

    ANS: 1100100


    Octal:

    100/8 = 12 R = 4

    12/8 = 1 R = 4

    1/8 = 0 R = 1

    ANS: 144


    Hexadecimal:

    100/16 = 6 R = 4

    6/16 = 0 R = 6

    ANS: 64

    0
    SamZ
    Jun 15, 2020  ·  Edited: Jun 15, 2020

    Name: Sammie Zhang

    My number: 112


    Binary:

    112/2 = 56 R = 0

    56/2 = 28 R = 0

    28/2 = 14 R = 0

    14/2 = 7 R = 0

    7/2 = 3 R = 1

    3/2 = 1 R = 1

    1/2 = 0 R = 1

    Answer: 1110000


    Octal:

    112/8 = 14 R = 0

    14/8 = 1 R = 6

    1/8 = 0 R = 1

    Answer: 160


    Hexadecimal:

    112/16 = 7 R = 0

    7/16 = 0 R = 7

    Answer: 70

    0
    hastin.chen
    Jun 15, 2020

    My Number: 420


    BINARY: 110100100

    420 ÷ 2 = 210 R 0

    210 ÷ 2 = 105 R 0

    105 ÷ 2 = 52 R 1

    52 ÷ 2 = 26 R 0

    26 ÷ 2 = 13 R 0

    13 ÷ 2 = 6 R 1

    6 ÷ 2 = 3 R 0

    3 ÷ 2 = 1 R 1

    1 ÷ 2 = 0 R 1


    OCTAL: 644

    420 ÷ 8 = 52 R 4