CSC112F2020SylNumbersHome

From BU Computer Science
Jump to navigation Jump to search

Homework for Chapter 5 (numbers)

  • Part A: Convert from base 2 to base 10
    1. 101101
    2. 110111
  • Part B: Convert from base 8 to base 10
    1. 463
    2. 154
  • Part C: Convert from base 16 to base 10
    1. A31
    2. 250
  • Part D: Convert from base 10 to binary
    1. 73
    2. 47
  • Part E: Convert from base 10 to base 8 (octal)
    1. 73
    2. 67
  • Part F: Convert from base 10 to base 16 (hex)
    1. 73
    2. 255
  • Part G: Convert from base 2 to base 16
    1. 1011 0101
    2. 0110 0001
  • Part H: Convert from base 16 to base 2
    1. AF3
    2. ABCD
  • Part I: Convert to base 2 as a 2's compliment using 8 digits
    1. -34
    2. -1
    3. 43