Test 1: Binary Numbers
This test is a set of correct/wrong statements. You
may check your answers by Clicking on the appended
Answer.
-Prof. M.-C. Brunet
- The BCD coding is the same as the binary coding.
Answer
- Computers do not use the excess-3 coding (and arithmetic)
because the substraction operation is not "very" convenient to
implement.
Answer
- Positive binary numbers are encoded with the same string of
bits in the signed-magnitude and the 2's complement number sytems
(assuming the same number of bits).
Answer
- The same decimal numbers (positive and negative) can be
represented in the signed-magnitude and 2's complement number
sytems (assuming the same number of bits).
Answer
- Given a negative number in the 2's complement number system,
using p bits. To represent the same (decimal)
number in the same sytem with p+1 bits, a "1" (one) just needs
to be added in the leftmost binary position.
Answer