August 1999
LD201 : LOGIC DESIGN

QUESTION 2

Total Marks: 20 Marks

Click here to access other questions

Click to access
SUGGESTED SOLUTIONS
for Question 2

(a) Explain how to perform negation in each of the three fixed-point representations sign-modules, one's-complement and two's-complement.

 

[3]
(b) Express the number -5 in 4 bits in each of these three representations.

 

[3]
(c) Give one advantage of one's-complement and two's-complement representations over sign-modules.

 

[1]
(d) Give one advantage of one's-complement representation over two's-complement.

 

[1]
(e) Give one advantage of two's-complement representation over one's-complement.

 

[1]
(f) Explain how to convert a multi-digit decimal number into binary-coded decimal and back again, and how to add two multi-digit BCD numbers.

 

[3]
(g) Express the numbers B.AD16 and -1.238 in normalized floating-point format, using an 11-bit mantissa and 5-bit exponent, each in two's-complement format.

 

[4]
(h) Add the above two numbers, and give the result in the same floating-point format.

 

[4]