Test 2024
Test 2024
SCHOOL OF ENGINEERING
DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING
MID TERM TESTS
2023/24 ACADEMIC YEAR
Instructions
1. The test paper has 4 questions.
2. All questions carry 25 marks each.
3. Answer all four questions.
Figure 1.1
Question 2
2.1 Write the Boolean expression for output x in Figure 2.1. Determine the value of x for all
possible input conditions by listing the values in a truth table. [3 +3 = 6 Marks]
Fig 2.1
2.2 Simplify the following expressions using theorems:
a. M N M P N P [3 Marks]
Question 3
3.1 Write the complete VHDL code to implement a two input AND gate. [4 Marks]
3.2 Write the complete VHDL code that will produce the following output function:
a. Z A B C [5 Marks]
3.3 Consider the circuit of Fig 3.1:
a. Write the Boolean expression represented by the circuit. [4 Marks]
b. Use Boolean algebra to minimize the expression obtained in question 3.3a
[3 Marks]
3.4 Consider Figures; Fig 3.2a and Fig 3.2b. Redraw the K-maps and by showing the
groupings clearly obtain the minimum Boolean expressions. [3+3 = 6 Marks]
Fig 3.1
3.5 Write the Boolean expression represented by the following VHDL code architecture.
[3 Marks]
End of Test