CARC103 Week 3 Tutorial – Introduction to Computer System and Architecture
Work on the following questions:
1. Using a "word" of 4 bits, list all of the possible signed binary numbers and their decimal
equivalents that are representable in: a) Unsigned integer, b) Signed magnitude, c) One’s
complement, d) Two's complement
Binary Unsigned Signed One’s Two’s
Integer Magnitude Complement Complement
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
2. Represent the number -92 and -256 in 8-bit 2's complement
3. Represent the following decimal numbers in binary using 8-bit signed magnitude, one's
complement and two's complement:
a. 77
b. −42
c. 119
d. −107
4. Generalize the range of values (in decimal) that can be represented in any given x number of
bits using:
a. Signed magnitude
b. One's complement
c. Two's complement
5. What is the highest and lowest values can be stored using 6 bits 2’s complement method?
6. Convert the following numbers from unsigned binary notation to decimal notation, and from 6-
bit 2's complement notation to decimal notation:
i) 110011, ii) 001101, iii) 101101
7. Show how each of the following floating point values would be stored using IEEE-754 single
precision (be sure to indicate the sign bit, the exponent, and the significand fields):
a. 12.5 b. −1.5 c. 0.75 d. 26.625
8. The following is a representation of a decimal floating value using IEEE-754 single precision.
Find out the value in decimal.
0 10000011 10101000000...0
9. Show how the text ‘HelloW’ will be stored in computer using 7-bit ASCII standard. You will
need to consult the ASCII table.
10. Fill in the following addition table for base 3.
+ 0 1 2
0
1
2
11. Identify the following statements as TRUE OR FALSE.
a) BCD stands for Binary Coded Decimal and encodes each digit of a decimal number
to an 8-bit binary form.
b) Unicode is a 16-bit code, occupying twice the disk space for text as ASCII or EBCDIC
would require.
c) A signed-magnitude integer representation includes more negative numbers than it
does positive ones.
d) A byte is 8 bits, but a word may vary in size (16-bits, 32-bits, etc.) from one
architecture to another.
e)The largest value that a 60-bit unsigned binary integer can represent is (260 -1).
f) A 2's complement integer representation includes more negative numbers than it does
positive ones.