Malaviya National Institute of Technology Jaipur
Assignment 1
Digital Logic Design (CST-205)
Q1. List the first 16 numbers in base 12. Use A and B to represent last two digits.
Q2. What is the largest binary number that can be obtained with 16 bits? What is its decimal equivalent?
Q3. Convert these binary numbers to decimal:
a. 11101
b. 1101000111101
c. 10010110
d. 101010101010
e. 101011111
Q4. Convert the following decimal values to binary:
a. 58
b. 2032
c. 5696
d. 3.578
e. 123.750
Q5. Convert the following octal numbers to decimal:
a. 743
b. 365
c. 3777
d. 1204
Q6. Convert the following decimal values to octal:
a. 59
b. 65536
c. 255
d. 819
Q7: Convert the following hex values to decimal:
a. 92
b. FF
c. 2C1
d. 37FD
e. 1B9
Q8: Convert the following decimal values to hex:
a. 75
b. 314
c. 4095
d. 25619
e. 65760
Q9. Add the following binary numbers:
a. 1010 + 1011
b. 0.1011 + 0.1111
c. 1111 + 0011
d. 1011.1101 + 11.1
e. 10011011 + 10011101
Q10. Subtract the following binary numbers:
a. 101011100 – 11101110
b. 101010100 – 1111000
c. 111100000 – 10101111
d. 100000111 – 000001101
Q11. Convert the following numbers with the indicated bases into decimal:
a. (4310)5
b. (6241) 7
c. (85231)9
d. (AB36)16
Q12. Perform the following operations:
a. (4817)16 + (792B)16
b. (79251)16 + (3A1E1)16
c. (1402)8 + (2537)8
d. ( 011001111)2*(01101010)2
e. ( 326)8 * (66)8
f. (A5B6)16 – (58D)16
Q 13 : Convert 10101101 to decimal assuming the number is stored in each of the following
representations:
a. Unsigned representation
b. Signed magnitude
c. One’s complement
d. Two’s complement
Q 14 : Convert 1000111000101001 to decimal assuming that the number is stored in
a. Signed magnitude
b. Two’s complement
Q15 : Do the following conversions
a. -201 to 16-bit 2’s complement
b. -6543 to 16-bit 1’s complement
c. 14567 to 16-bit unsigned magnitude
d. 1111000111100101 from 1’s complement to decimal
e. 1110001001111110 from 2’s complement to decimal
Q16. Perform the following operations on decimal numbers using 10’s complement representation
(Explore 9’s and 10’s complement operations. It’s similar to 1’s and 2’s complement representation used
in binary numbers)
a. 5250-1321
b. 1753-8640
c. 20-100
d. 1200-250