


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



THE INTERNATINONAL UNIVERSITY (IU) – VIETNAM NATIONAL UNIVERSITY – HCMC MIDTERM EXAMINATION Date: 12 Nov 2018 Duration: 90 minutes
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
[ 10 marks]
S > ST and P > PT S > 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:
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
0
1
1 0
0
1
1 0
0
1
0
1
Figure 3. Input waveforms Based on the results in part a), sketch the output waveforms for functions F 1 (^) , F 2 [ 10 marks]