Excellent Module Bahan Week 10
Excellent Module Bahan Week 10
(ii) Based on the answer of question 2.a.i, list all possible combination of
input that not produce the output 1.
[4 marks]
𝑍=(𝑅⊕𝑆)• (𝑇+𝑆)
[ 5 marks]
c) Naufal want to go to cinema to watch ‘Gemencheh Boy’ movie on this
Saturday. His father will only bring him to cinema if both of his sister at hostel
can go out for outing. otherwise, he can go for the movie if his parent free on
that day.
Based on the scenario given above,
i) Write a Boolean expression.
[2 marks]
(i) Construct the Boolean expression based on the given logic circuit in
FIGURE 1.
[5 marks]
(i) Complete the truth table for the given logic circuit in FIGURE 1.
[5 marks]
A B C C’ X
(b) Mr. Bakar has a greenhouse that he uses to grow fruit and vegetables. He
needs to make sure the temperature in the greenhouse stays between 25 °C
and 30 °C (inclusive). A system (Y) that has a temperature sensor and a
microprocessor is used to maintain the temperature in the greenhouse. The
system (Y) will:
• open a window (W) and turn a heater (H) off if it gets too hot.
• close a window (W) and turn a heater (H) on if it gets too cold.
(i) Based on the situation given above, describe how the system uses
the temperature sensor and the microprocessor to maintain the
temperature in the greenhouse by writing the Boolean Expression.
[4 marks]
(i) Illustrate the logic circuit for the answer given in 2(b)(i)
[5 marks]
3. KMM 2023/ 2024
Logic gates is a device performing a Boolean logic operation on one or more
binary inputs and then outputs a single binary output.
A
B
[3 marks]
F = (( A + B) ⊕ B’) • C’
[6 marks]
d) Draw a logic circuit for Y = (( A + B )’ • (C + D) • C’)’
[6 marks]
e) You are given a task to design a simple elevator control system. The
system involves three control elements.
The elevator should start moving if either “Call Elevator” button is pressed or “Select
Floor is pressed. However, if the obstruction sensor is activated, the elevator should
stop moving for safety reason.
Draw the logic circuit to represent the scenario above.
[6 marks]