Thursday, 14 November 2013

Digital Logic and Design CS302 Assignment No. 1 solution November 2013

Assignment No. 1
(Non-Graded)
Semester Fall 2013
Digital Logic and Design – CS302

Total Marks:   20

Due Date: 20thNov 2013

Objective:
The assignment has been designed to develop the understanding related to the followings:
  • Conversion
  • Logic gates

Instructions:
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) due to followings,
  1. The assignment is submitted after due date.
  2. The submitted assignment does not open or file is corrupt.
  3. The assignment not submitted in MS Word file format.
  4. The assignment is copied (from other student or copied from handouts or internet).
  5. Student ID is not mentioned in the assignment file or name of file is other than student ID.

For any query about the assignment, contact only at CS302@vu.edu.pk
Do not post queries related to assignment on MDB.

GOOD LUCK



Question 1                                                                                                                                          [5 Marks]
Convert the following caveman numbers into decimal numbers by performing all the steps.
 (a) ∑ ↑ Ω
 (b) ↑ ∆ ∑ ∑

(Show complete conversion steps)


Question 2                                                                                                                                          [5Marks]
Convert binary code 11101110 to Gray code by showing all steps of conversion and mention which method is used for conversion?
 (Show complete conversion steps)



Question 3                                                                                                                                          [10Marks]
Following two waves are applied at 2-input NAND and NOR gates. Draw the output waveform of both gates.
Idea Solution  :

Question No. 1
(a)  Given caveman numbers are
∑ ↑ Ω
We have to convert them in decimal numbers
∑ ×52 + ↑ × 51 + Ω × 50
= ∑ × 25 + ↑× 5 + Ω × 1
By replacing the caveman numbers with equivalent decimal values in the expression
∑ × 25 + ↑× 5 + Ω × 1 = (0) × 25 + (4) × 5 + (3) × 1
=  0 + 20 + 3
= 20 + 3 = 23
zzz