Mon Sep 21
You have up to 25 minutes. You may use a standard calculator, but no text book or notes.
Suppose we have the digits 124, written using base six. What quantity does that represent, expressed in base ten? +2
The column values in base six are (left to right) 36, 6, and 1. So this number is 1×36 + 2×6 + 4×1 = 36 + 12 + 4 = 52.
Convert the following unsigned binary numbers into base ten. +4
Convert the following base ten numbers into binary using 5-bit signed two’s complement +4
Add and verify the following unsigned (not fixed-size) binary numbers. +4
We keep the extra carry bit, because these are not fixed width!
1 1 1 1 1 1
1 1 0 0 = 12 1 1 1 1 1 = 31
+ 1 0 0 1 1 0 = 38 + 1 0 0 1 0 0 = 36
—————————————— ——————————————
1 1 0 0 1 0 = 50 1 0 0 0 0 1 1 = 67
Convert the hexadecimal number 2C4
to binary. +3
0010 1100 0100
Convert the octal number 617
to binary. +3
110 001 111