Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

University of Science & Technology, Bannu

Bannu Township, Khyber Pakhtunkhwa, Bannu, Pakistan.


Ph # 0928–633825 Fax # 0928—633821 www.ustb.edu.pk

Subject: Digital Logic Design Exam: Mid Term (Fall 2018) Department: Software Engg
Batch: 7th Time Allowed: 1 hour

Solve all questions.

Answer the following questions

Q1. Design a 2-bit Magnitude comparator. [6]

Q2.

I. Add the following BCD Numbers [2+2+3+3]


a. 00010111+00010101 b. 01100111+01010011

II. Perform the following subtraction of the signed numbers

III. Convert the decimal fraction 0.188 to binary

Page 1 of 3
Q3. Determine the output waveforms for the XOR gate and for the XNOR gate, given the input waveforms, D and C,
in the below Figure [6]

Q4. [4+4]

I- Use a Karnaugh map to minimize the following POS expression:

II- Map the following SOP expression on a Karnaugh map:

Page 2 of 3
Page 3 of 3

You might also like