Attempt by: Monday, February 26
Due by: Thursday, March 1
The following problems will give you extra practice, and are strongly recommended, but you don't need to turn them in. Solutions are given on pages 688-693, but don't look at the answers until you have tried working through them on your own.
From the textbook: exercises 1 and 3, page 184. Show your work.
Convert each of the following decimal numbers to binary and hexadecimal. Show your work.
31 128 219
From the textbook: exercises 4(c), 5, 6, and 7, page 184. Show your work.
Fill in the table below to show how each sequence of eight bits can be interpreted in different ways. The first row is filled in as an example. For the column labeled "ASCII", show the character that corresponds to the last seven bits of each sequence. (Hint: See figure 4.3 on page 141.)
hexadecimal | ASCII | unsigned | sign/magnitude | two's complement | |
---|---|---|---|---|---|
11000001 | C1 | A | 193 | -65 | -63 |
01111100 | |||||
11111110 | |||||
11011011 |
From the textbook: exercises 15 and 16, page 184. Show your work.
From the textbook: exercise 18, page 185. Show your work.