You are on page 1of 3

National University

Of Computer & Emerging SciencesFaisalabad.

Assignment # 02
____________________________________________________________________________________
Course Title: Digital Logic Design Course Code: EE227
Instructor: Due Date: 15-10-2015(Before 3PM)

Solve the following DLD questions & also show your calculations on a separate page.

Question#4: Convert the following decimal values to octal:

a. 59
b.65536
c.255
d.375
e.819
f.76524

Question#5: Convert the following hex values to decimal:

a. 92
b. FF
c. 2C1 d.
37FD e.
1B9

Question#6: Convert the following decimal values to hex:

a. 75
b. 314
c. 4095
d.25619
e. 65760

Question#7: Add the following binary numbers:

a.1010+1011
b.0.1011+0.1111
c.1111+0011
d.1011.1101+11.1
e.10011011+10011101

Question#8: Subtract the following binary numbers :

a. 101011100–11101110
b. 101010100–1111000
c. 111100000–10101111
d. 100000111–000001101

Question#9: Convert the following numbers with the indicated bases into decimal:

a.(4310)5
b.(6241)7
c.(85231)9
d.(AB36)16
e.(7D5C)16
Question10: Perform the following operations:

a.481716+792B16
b.7925116+ 3A1E116
c.CD6616+B23A16
d.D42316–A99916
e.14028+25378
f.0110011112*011010102
g.101516*F216
h.3268*668
i.(A5B6)16–(58D)16

Question11: Convert 10101101 to decimal assuming the number is storedineach of the


following representations:

a. Un signedmagnitude
b. Signed magnitude
c. One’scomplement
d. Two’scomplement

Question12: Convert 1000111000101001 to decimal assuming that the number is storedin

a. Signedmagnitude
b. Two’scomplement
Question13: Do the following conversions

a. -201to16-bit2’s complement
b. -6543to16-bit 1’scomplement
c. 1456710to16-bitunsignedmagnitude
d. 1111000111100101from1’scomplementtodecimal
e. 1110001001111110from2’scomplementtodecimal

You might also like