Tutorial 1
Tutorial 1
TUTORIAL 1
1. Convert the following numbers with the indicated bases to decimal: (4310)5 and
(198)12.
Ans: 58010 & 26010
2. Determine the base of the numbers in each case for the following operations to be
correct: (a) 14/2 = 5, (b) 54/4 = 13, (c) 24+17 = 40.
Ans: 6, 8, & 11
3. Convert each of the following decimal numbers to binary, octal and hexadecimal
numbers: (a) 27, (b) 915.
Ans: (a) 110112, 338, & 1B16
(b) 0011 1001 00112, 16238, & 39316
4. Obtain the 1’s and 2’s complements of the following binary numbers:
(a) 00101010 (b) 01101011 (c) 00000000 (d) 11111111 (e) 10000000
6. Convert decimal +61 and +27 to binary using the 2’s complement representation. Then
perform the binary equivalent of (+27) + (-61), (-27) + (+61) and (-27) + (-61). Convert
the answers back to decimal and verify that they are correct.
Ans: -3410, +3410, -8810
1
7. Encode each of the following decimal numbers in BCD.
(a) 39 (b) 1950 (c) 94704 (d) 625
8. A register (to be studied in later part of the course) of n bits in size is a memory for
storing an n-bit data. When a 12-bit register stores 100010010111, what is its content if
it represents: