0% found this document useful (0 votes)
45 views7 pages

Excellent Module Bahan Week 10

Module scomp

Uploaded by

NOT A HUMAN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views7 pages

Excellent Module Bahan Week 10

Module scomp

Uploaded by

NOT A HUMAN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

SC015: EXCELLENT MODULES

WEEK 10: TOPIC 1.4 LOGIC GATE AND SIMPLE CIRCUIT


1. KMPh 2023/2024
Logic gates are the basic building blocks of any digital system. It is an
electronic circuit having one or more than one input and only one output.
(a) Figure 1 shows a logic circuit with three input P, Q and R.

(i) Based on the Figure 1 above, write the Boolean expression.


[2 marks]

(ii) Based on the answer of question 2.a.i, list all possible combination of
input that not produce the output 1.
[4 marks]

(a) Draw a logic circuit for the Boolean expression given.

𝑍=(𝑅⊕𝑆)• (𝑇+𝑆)
[ 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) Derive a truth table.


[3 marks]
2. KMP 2023/ 2024
(a) Figure below shows a logic circuit to operate the system X.

(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) Write the Boolean expression of Y in FIGURE below.


.

A
B

[3 marks]

b) Create a Boolean expression to represent the following logic


statement.
“The car can start if it is in good condition and the fuel tank is not empty”.
[3 marks]

c) Complete the truth table for the following Boolean expression.

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.

Call Elevator Button: 1 when pressed, 0 when not pressed.


Select Floor Button: 1 when pressed, 0 when not pressed.
Obstruction Sensor: 1 when obstructed, 0 when
unobstructed.

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]

You might also like