Anda di halaman 1dari 3

Assignment # 1

Digital Logic Design Course Code: CS2513 Instructor: Omar Anwar Session: Spring 2013

Submission Date: Friday, 15th of March, 2013

A quiz from this chapter will also be held on Friday, 15th of March, 2013.

Question #1 Convert the following numbers to Decimal form:

1. (1001001.011)2 2. (0.342)6 3. (1248)3 4. (1032.2)4 5. (198)12

Question #2 Represent the decimal number 862058 in the following: 1. BCD. 2. Excess-3 Code. 3. Binary Form. Question #3 Write down the Gray Codes Table from 0 to 32 Question #4 i. Find 16s Complement of AF8B ii. Convert AF8B to Binary
iii. Find the 2s Complement of result of Part ii. iv. Convert the result to Hexa decimal

Question#5 Add and multiply the following without converting them to the Decimal
1. (1011)2 and (101)2? 2. (2E)16 and (1011100)2?

Question#6 Subtract the following using rs Compliment


1. (3160-72356)8

2. (7254-32501)10 Question#7 Convert (153)10 to Octal? Also mention the steps.

Question#8 Using Signed 2s Complement representation, perform the following mathematical operations. Verify the results by doing this also in decimal. iii(+27) + (-61) (-27) + (-61)

Question#9 List the binary, octal, hexa and penta decimal numbers from 0-31, also write these numbers in bit form (Hint: Use alphabet Characters from 10 and onwards)? Question #10 Complete the following table Decimal ? 5479.24 ? ? Binary 101110001.01010 ? ? ? Octal ? ? 171707.3271 ? Hexa decimal ? ? ? E7C9.B2

Question # 11 Find the binary representation of the following BCD numbers: 1. 0100001101100101.10000111 2. 0111001100100001.00111001 3. 011001010110.0011100110010001 Question #12 Perform the BCD addition on the following: 1. 776 + 798 (011001110101)BCD + 979

2. (100101110110)BCD + 3. 279

Question #13 Determine the radix r (base)?


1. (BEE)r = (2699)10 2. (365) r = (194)10