Docsity

Midterm Exam Fall 2018-2019, Exams of Digital Logic Design and Programming

Toggle sidebar
bg1
1
THE INTERNATINONAL UNIVERSITY (IU) – VIETNAM NATIONAL UNIVERSITY – HCMC
MIDTERM EXAMINATION
Date: 12 Nov 2018
Duration: 90 minutes
Subject: Digital Logic Design (EE053IU)
Approved by
Dean of School of Electrical Engineering
Mai Linh, Ph.D.
Lecturer
Do Ngoc Hung
READ CAREFULLY THE INSTRUCTIONS:
1. This is a semi-closed exam. Students are allowed to bring a handwritten A4 note.
2. Students are not allowed to leave the room before the exam ends. If you really
want to do so, you MUST submit your paper before leaving the room at any time.
3. If there is any point in those questions that is not clear, please make assumptions
and state clearly those assumptions in your work.
4. The usage of any electronic devices (electronic calculator, laptop, electronic
dictionary, cell phones…) is strictly PROHIBITED.
pf3
pf4
Discount

On special offer

Partial preview of the text

Download Midterm Exam Fall 2018-2019 and more Exams Digital Logic Design and Programming in PDF only on Docsity!

THE INTERNATINONAL UNIVERSITY (IU) – VIETNAM NATIONAL UNIVERSITY – HCMC MIDTERM EXAMINATION Date: 12 Nov 2018 Duration: 90 minutes

Subject: Digital Logic Design (EE053IU)

Approved by

Dean of School of Electrical Engineering

Mai Linh, Ph.D.

Lecturer

Do Ngoc Hung

READ CAREFULLY THE INSTRUCTIONS:

1. This is a semi-closed exam. Students are allowed to bring a handwritten A4 note.

2. Students are not allowed to leave the room before the exam ends. If you really

want to do so, you MUST submit your paper before leaving the room at any time.

3. If there is any point in those questions that is not clear, please make assumptions

and state clearly those assumptions in your work.

4. The usage of any electronic devices (electronic calculator, laptop, electronic

dictionary, cell phones…) is strictly PROHIBITED.

Question 1. [ 20 marks] a) Do the following conversions i) ( 1 𝐶𝐹) 16 to decimal number ii) ( 362 ) 10 to hexadecimal, then binary and octal numbers iii) ( 10010101. 1 ) 2 to decimal number iv) ( 726 ) 8 to decimal number, then BCD code v) (− 58 ) 10 to signed binary number using 1’s complement form [10 marks] b) Perform the following decimal addition in BCD numbers: 1492  366  1858 [ 5 marks] c) Perform the following decimal subtraction in 2’s complement form of signed binary numbers: 36  42   6 [5 marks] Question 2. [ 20 marks] Given the following logic diagram

A

B C F

X 1 X 2

X 3

X 4

Figure 1. Logic diagram

a) Determine the output expressions of each logic gates X1, X2, X3, X4, and F [ 10 marks] b) Fill the following truth table

A B C X1 X2 X3 X4 F

[ 10 marks]

S > ST and P > PTS > ST and T > TT [ 5 marks] b) Sketch the designed circuit diagram in a) by using only NAND gates [ 5 marks] c) Sketch the designed circuit diagram in a) by using only NOR gates [ 5 marks] d) Compare the number of ICs that we need to use to implement the above designed circuits. [ 5 marks] Question 5. [30 marks] Given the following expressions:

F 1  A B C , ,    0,1, 2, 4, 6

F 2  A B C D , , ,   1,3,5, 7,10,11,12,14 

a) Use K-map to simplify the expressions F 1^ , F 2 [ 10 marks] b) Sketch the logic circuit diagrams using logic gates [ 10 marks] c) Given the following input waveforms

A

B

C

D

0

1

1 0

0

1

1 0

0

1

0

1

F 1

F 2

Figure 3. Input waveforms Based on the results in part a), sketch the output waveforms for functions F 1 (^) , F 2 [ 10 marks]