Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Home Assignment No-1

Subject: Course: Teacher: Digital Logic Design BEE-4AB Arshad Nazir Marks: Issue: Due on: 100 18 Sep 2013 25 Sep 2013

Note: (at 10:00 AM) Attempt the given problem set in a sequential order. Show neat and complete
work. Make an index on the front page showing summary of the problems solved with page numbers and also mention the missing ones. No late submissions will be accepted unless a prior approval from the teacher has been obtained in advance with extreme genuine reasons. The assignments submitted after due date/time will be graded zero. University has zero tolerance for plagiarism and serious penalties apply. Any assignment found mutually copied will be marked zero and such recurrence will result in award of zero out of total assignment weight age. All the students will submit a certificate with the assignment work stating the originality of their efforts and no copying from others. Note that Ten Marks are reserved for neat work, table of contents, and certificate to be attached with the assignment work.

Problem No-1 Which of the following are analog quantities, and which are digital? a. Ten-Position switch b. Mercury thermometer c. Pressure in a bicycle tire d. The time of day displayed on a quartz watch e. Compact Disc (CD) player Problem No-2 Convert the following numbers from the given base to the indicated bases in the table: Decimal Binary Octal Hexadec 174.375 ? ? ? ? 1011011.110101 ? ? ? ? 2365.123 ? ? ? ? AF3.15 Problem No-3 The following calculation was performed by a particular breed of unusually intelligent chicken. If the radix r used by the chicken corresponds to its total number of toes, how many toes does the chicken have on each foot? ((35)r +(24)r) (21)r =(1501)r Problem No-4 Given the two unsigned numbers X=9BE.F16 and Y=5142.0436: a. Perform subtraction X-Y using 1s complement. Page 1 of 2

b. Convert your answer to Excess-3 and Gray codes. Problem No-5 Given the two signed numbers A= -2910 and B= + 8510. Perform the subtraction A-B using 2s complement method. Indicate whether overflow occurs. Express the result in 8-bit Sign-magnitude, Sign-1s complement and sign-2s complement form. Problem No-7 Write your following bio-data in ASCII using an 8-bit code with even parity:Complete Registration Number Name CGPA e-mail address ____________________________________________________________________ Good Luck

Page 2 of 2

You might also like