0% found this document useful (0 votes)
31 views26 pages

Chapter 3 - Logic Gates

logic gate topics past paper questions

Uploaded by

siva
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)
31 views26 pages

Chapter 3 - Logic Gates

logic gate topics past paper questions

Uploaded by

siva
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/ 26

Chapter 3

Logic gates &


Logic circuits
1 For this logic statement:

X = 1 if (( A is 1 AND B is 1 ) OR ( B is 1 AND C is NOT 1 ))

(a) Draw the logic circuit.

A-

B- -x

c-
[4]

(b) Complete the truth table for the given logic statement.

Working space
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

[4]

Siva - 777 77 77 88 Page 1 of 25


2 Consider the logic statement:

X = 1 if ((A is 1 AND B is NOT 1) NANO C is 1) XOR ((A is 1 AND C is 1) OR B is 1)

(a) Draw a logic circuit to represent the given logic statement.

A-

B- ------x

c-

[6]

(b) Complete the truth table for the given logic statement.

A B C Working space 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

[4]

Siva - 777 77 77 88 Page 2 of 25


3 (a) Complete the truth table for the following logic circuit:

Workspace
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
[4]

Siva - 777 77 77 88 Page 3 of 25


(b) Draw a logic circuit which corresponds to the following logic statement:

X = 1 if ((A is NOT 1 OR B is 1) AND C is 1) OR (B is NOT 1 AND C is 1)

A----1

8----t ---x

c----t

[3]

(c) Write a logic statement which corresponds to the following logic circuit:

A-------------\
8-------------t

[3]

Siva - 777 77 77 88 Page 4 of 25


4 Consider the logic statement:

X = 1 if ((A is 1 NOR C is 1) AND (B is NOT 1 NOR C is 1)) OR (A is 1 AND B is 1)

(a) Draw a logic circuit to match the given logic statement. Each logic gate used must have a
maximum of two inputs. Do not attempt to simplify the logic statement.

A-----1

B-----1 --x

C-----1

[6]

(b) Complete the truth table for the given logic statement.

Working space
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
[4]

Siva - 777 77 77 88 Page 5 of 25


5 Rajesh creates a logic circuit.

He uses three different logic gates in his circuit. Each logic gate has a maximum of two inputs.

He describes the logic of each gate.

(a) "The only time the output will be 1 is when both inputs are 1."

State the single logic gate ...................................................

Draw the single logic gate:

[2]

(b) "The only time the output will be 1 is when both inputs are O."

State the single logic gate ...................................................

Draw the single logic gate:

[2]

(c) "The only time the output will be O is when both inputs are 1."

State the single logic gate ...................................................

Draw the single logic gate:

[2]

Siva - 777 77 77 88 Page 6 of 25


6 (a) Identify the name and draw the single logic gate that can replace the given logic circuits.

(i)
A

Name of gate: ................................. Drawing of gate:

[2]

(ii)
A

Name of gate: ................................. Drawing of gate:

[2]

(b) Complete the truth table for the given logic statement:

X = (((A OR C) AND (NOT A AND NOT C)) XOR B)

Working space
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

[4]

Siva - 777 77 77 88 Page 7 of 25


7 Consider the logic circuit:

(a) Write a logic statement to match the given logic circuit.

............................................................................................................................................. [3]
(b) Complete the truth table for the given logic circuit.

Working space
A 8 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
[4]

Siva - 777 77 77 88 Page 8 of 25


8 (a) For this logic circuit:

C-+------------------1
__
...._

Complete the truth table.

Working space
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

[4]

Siva - 777 77 77 88 Page 9 of 25


(b) For this logic statement:

X = 1 if (B is 1 OR C is NOT 1) AND ((A is NOT 1) AND (B is 1 OR C is 1))

Draw a logic circuit.

A-

B- ,-..--x

c-

[6]

(c) Complete the truth table for the logic statement given in part (b).

Working space
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

[4]

Siva - 777 77 77 88 Page 10 of 25


9 A greenhouse uses a system to monitor the conditions that plants need to grow.

The inputs to the system are:

Binary
Input Condition
value
1 Window is open
0 Window is closed
1 Temperature >=26 °C
T
0 Temperature <26 °c
1 Humidity >=50%
H
0 Humidity <50%

T he system will sound an alarm when certain conditions are detected.

Alarm (X) will sound (=1) when:

window is closed and temperature >=26 °C

or

temperature <26 °C and humidity >=50%

Draw a logic circuit to represent the system.

w-

T- -x

H-

[5]

Siva - 777 77 77 88 Page 11 of 25


10 A computer-controlled machine produces plastic sheets. The thickness of each sheet must be
within a certain tolerance. The sheets are kept below 50 ° C as they move over rollers at 1 O metres
per second.

Three parameters need to be monitored all the time.

Binary
Parameter Description Conditions
value
1 thickness of sheet in tolerance
D sheet thickness
0 thickness of sheet out of tolerance
1 roller speed = 1 O metres/second
roller speed
0 roller speed<> 1 O metres/second
1 temperature< 50 ° C
temperature
0 temperature>= 50 ° C

An alarm, X, will sound if:

thickness is in tolerance AND (roller speed<> 1 O metres/second OR temperature>= 50 ° C)

OR

roller speed = 1 O metres/second AND temperature>= 50 ° C

(a) Draw a logic circuit to represent the above monitoring system.

D---

s--- ---x

T---

[6]

Siva - 777 77 77 88 Page 12 of 25


11 A factory that manufactures cleaning products has a system that monitors conditions throughout
the manufacturing process.

The inputs to the system are:

Input Binary value Condition


1 pH >7
0 pH <=7
1 Temperature < 35 °C
0 Temperature >= 35 °C
1 Pressure >= 80 %
0 Pressure < 80 %

(a) The system will sound an alarm (X) when certain conditions are detected.

The alarm will sound when:

• The pressure >= 80 % and the temperature >= 35 °C

or

• The temperature < 35 °C and the pH >7

Draw a logic circuit to represent the alarm system in the factory. Each logic gate must have a
maximum of two inputs.

A-----1

T-----1 --x

P-----1

[4]

Siva - 777 77 77 88 Page 13 of 25


12 Three switches, A, Band C, each send values of O or 1 to a logic circuit. Value Xis output from the
logic circuit.

--------:-_1 ___
Switch A
Switch B
Switch C
L
ogic circuit
:-----11..� Output x

_ _ _ _ - - - __
Output Xhas a value of 1 depending on the following conditions:

Switch A sends value 1 AND Switch B sends value 0

OR

Switch B sends value 1 AND Switch C sends value O

(a) Draw a logic circuit to represent the conditions above.

A----1

8----t ---x

c---

[5]

Siva - 777 77 77 88 Page 14 of 25


13 (a) Complete the truth table for the given logic circuit.

Do not attempt to simplify the logic circuit.

Working space
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

[4]

Siva - 777 77 77 88 Page 15 of 25


(b) A water control system uses a switch and two pressure sensors.

The outputs of the switch and sensors are shown in the table.

Sensor or Switch Output of 1 Output of 0


Switch
On Off
(S1)
Pressure Sensor
>= 3 <3
(P1)
Pressure Sensor
>= 3 <3
(P2)

Create a logic circuit that will produce an output (X) of 1 when:

The switch S1 is on

and

either P1 is less than 3 or P2 is less than 3, but not both.

All logic gates used must have a maximum of two inputs.

S1-

P1- ,____ X

P2-

[4]

Siva - 777 77 77 88 Page 16 of 25


14 (a) Complete the truth table for the following logic circuit:

__
A--­
e--­,,__

A B C Working 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

[4]

Siva - 777 77 77 88 Page 17 of 25


(b) Re-draw the logic circuit shown opposite, using NANO and NOR gates only.

[2]

(c) Write a logic statement that describes the following logic circuit:

A--------1

B ----------1

............................................................................................................................................... [3]

Siva - 777 77 77 88 Page 18 of 25


15 (a)

Complete the truth table for this logic circuit.

Working space
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

[4]

Siva - 777 77 77 88 Page 19 of 25


(b) Draw a logic circuit corresponding to the following logic statement:

X = 1 if ( ( A is 1 OR B is 1 ) AND ( A is 1 AND B is 1 ) ) OR ( C is NOT 1 )

A----1

8----1 ---x

c--.....

[5]

Siva - 777 77 77 88 Page 20 of 25


(c) Re-draw the following logic circuit using NANO gates only.

Logic circuit re-drawn:

A----1

8----1 ---x

c---

[4]

Siva - 777 77 77 88 Page 21 of 25


16 (a) Complete the truth tables and name the single logic gate that could replace each logic circuit:

(i)
Working space
A A B X
X
B 0 0
0 1
1 0
1 1

Single logic gate ............................................................................................................ [3]

(ii)

A Working space
A B X

X 0 0
0 1
B 1 0
1 1

Single logic gate ............................................................................................................ [3]

Siva - 777 77 77 88 Page 22 of 25


(b) (i) Draw a logic circuit to represent the following logic statement:

X = 1 if (A= 1 AND B = 1) OR ( (B = NOT 1) AND C = 1)

A-

B- ------x

c-

[4]

(ii) Complete the truth table for the logic statement in part (b)(i).

Working space
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

[4]

Siva - 777 77 77 88 Page 23 of 25


17 (a) (i) Complete the truth table for the logic circuit which is made up of NAND gates only.

Working space

A B X
0 0
0 1

1 0
1 1

[2]

(ii) What single logic gate has the same function as the above logic circuit?

[1]

Siva - 777 77 77 88 Page 24 of 25


18 (a) Complete the tru th table for the following logic circu it, which is made up of NANO
gates:

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

[4]

Siva - 777 77 77 88 Page 25 of 25

You might also like