You are on page 1of 5

CHAPTER TEST

Bina Bangsa School BOOLEAN LOGIC

Continual Assessment Term/Week:


1/7
Duration:
2 periods
Subject : Name :
Computer Science
Class :
Mark : / 50
Level : Sec4E Date :

Answer All The Questions

1. Complete the following table

Logic Gate Name Symbol Logic Statement

OR Gate X=A+B

[10]
2. Consider the following logic gate circuit

a. Write the logic statement to represent this logic circuit

[3]

b. When A = 1, B = 1, C = 1, Output X = [1]

c. When A = 0, B = 1, C = 0, Output X = [1]

d. When A = 0, B = 0, C = 1, Output X = [1]

3. Consider the following logic gate circuit

a. Write the logic statement to represent logic circuit above

[4]
b. Complete the truth table for the following logic circuit

Input Output
A B C X

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

[8]

4. Draw the logic circuit for the following logic statement

X =((A XOR B)XOR(NOT A NAND C))NOR(NOT C)

[6]
5. A wind turbine has a safety system which uses three inputs to a logic circuit. A certain combination of
conditions results in an output, X, from the logic circuit being equal to 1. When the value of X = 1 then the
wind turbine is shut down.
The following table shows which parameters are being monitored and form the three inputs to the logic
circuit

Parameter Description Parameter Binary Value Description of Condition

0 <= 1000rpm
Turbine Speed S
1 >1000rpm
0 <=80C
Bearing Temperature T
1 >80C

0 <=120 kph
Wind Velocity W
1 >120kph

The output, X, will have a value of 1 if any of the following combination of conditions occur:
• either turbine speed <= 1000 rpm and bearing temperature > 80°C
• or turbine speed > 1000 rpm and wind velocity > 120 kph
• or bearing temperature <= 80°C and wind velocity > 120 kph.

a. Design the logic circuit according to the condition above!

[8]
b. Complete the truth table for the derived logic circuit from item a.

Input Output
S T W X

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

You might also like