CSci 150: Foundations of computer science I
Home Syllabus Assignments Tests

printable version

Quiz 2 Review

[1] [2] [3] [4] [5] [6] [7] [8] [9]

Problem Q2r.1.

Show your intermediate work on each of the following.
  1. What base-10 number does the eight-bit two's-complement bit pattern 01010101 represent?
  2. What base-10 number does the eight-bit two's-complement bit pattern 10101010 represent?
  3. Convert 26(10) to an eight-bit two's-complement representation.
  4. Convert −104(10) to an eight-bit two's-complement representation.