Number representations

Computers operate on binary values (as a result of being built from transistors). Signed number representations are required to encode negative numbers in binary number systems. The three best-known methods of extending the binary numeral system to represent signed numbers are sign magnitude, 1's complement and 2's complement. Virtually all modern computers operate based on 2's complement representation (why?)

The IEEE Standard 754 is used to represent real numbers on the majority of contemporary computer systems. It utilizes a 32-bit pattern to represent single-precision numbers and a 64-bit pattern to represent double-precision numbers. In this assignment you will practice the single-precision floating-point representation, as well as integer number representations.

To Do

  1. Complete exercises 1-4, 6, 10-12 and 17-18 (inclusive) from pages 69-70 (end of chapter 3) of the Tarnoff textbook. Show your work clearly.