Sheet 2
1- What is the largest binary number that can be expressed with 16 bits?
What are the equivalent decimal and hexadecimal numbers?
2- Obtain the 1's and 2's complements of the following binary numbers:
(a) 00010000 (b) 00000000 (c) 11011010
(d) 10101010 (e) 10000101 (f) 11111111.
3- Find the 9's and the 10's complement of the following decimal numbers:
(a) 25,478,036 (b) 63,325,600
(c) 25,000,000 (d) 00,000,000.
4- Find the 16's complement of C3DF.
5- Find ( 53 +35 )10 using the 2’s complement binary system
6- Find ( 53 -35 )10 using the 2’s complement binary system
7- Find ( -53 +35 )10 using the 2’s complement binary system
8- Find ( -53 -35 )10 using the 2’s complement binary system
9- What is the bias of half precision, single precision, double precision,
Quadruple precision.
10- Using half precision (binary16) floating-point IEEE format convert the
decimal number -29.375
11- Using single precision (binary32) floating-point IEEE format convert
the decimal number -32.625
12- Using double precision (binary16) floating-point IEEE format convert
the decimal number +44.375
13- Using single precision (binary32) floating-point IEEE format convert
C8200000 to decimal number
14- Using half precision (binary16) floating-point IEEE format convert
BB00 to decimal number
15- Convert decimal 6514 to both BCD and ASCII codes. For ASCII, an
even parity bit is to be appended at the left
16- Decode the following ASCII code:
1
2