Assignment DLD
Assignment DLD
Problem No-2 The following calculation was performed by a particular breed of unusually
intelligent chicken. If the radix r used by the chicken corresponds to itstotal
number of toes, how many toes does the chicken have on each foot?
((34)r+(24)r)x(21)r=(1460)r
Problem No-3 Given the two unsigned numbers X=1101.04038 and Y=3C.A16, perform
subtraction X-Y using 2’s complement method. Convert the answer to
decimal.
Problem No-4 Perform the subtraction A-B on the following signed binary numbers using 1’s
complement method.
A=10101010.012; B=0101111.12
Express the result in 12-bit Signed-magnitude, Signed-1’s complement and
signed-2’s complement form.
Problem No-5 Decode the following 16 bits register as (a) ASCII code, (b) BCD, (c) 2421
and (d) Binary value. Also mention the type of parity used in ASCII codes
1001 0110 0111 0001
_____________________________________________________________________
“Good Luck”