0% found this document useful (0 votes)
201 views

Logic Gate

The document describes a logic circuit with inputs A, B, and C and output X. It provides a logic diagram and asks to complete the truth table for the circuit. The truth table has columns for the three inputs and one output.

Uploaded by

Manahil ali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
201 views

Logic Gate

The document describes a logic circuit with inputs A, B, and C and output X. It provides a logic diagram and asks to complete the truth table for the circuit. The truth table has columns for the three inputs and one output.

Uploaded by

Manahil ali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

8

4 (a) An alarm system (X) is enabled and disabled using either a switch (A) or a remote control (B).
There are two infra-red sensors (C, D) and one door pressure sensor (E).

Description of
Parameter Binary value Condition
parameter
1 Switch enabled
A Switch
0 Switch disabled
1 Remote enabled
B Remote control
0 Remote disabled
1 Activated
C Infra-red sensor
0 Not activated
1 Activated
D Infra-red sensor
0 Not activated

Door pressure 1 Activated


E
sensor 0 Not activated

The alarm sounds (X = 1) if the alarm is enabled and any one or more of the sensors is
activated.

Draw a logic circuit to represent the alarm system.

C
X

[3]

© UCLES 2018 9608/11/M/J/18


9

(b) Complete the truth table for the logic expression: X = A OR (B XOR C)

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]

© UCLES 2018 9608/11/M/J/18 [Turn over


4

2 (a) A greenhouse control system has four input parameters (H, D, T, W) and two outputs (X, Y).

Description of
Parameter Binary value Condition
parameter
0 Too low
H Humidity
1 Acceptable
0 Night
D Day
1 Day
0 Too high
T Temperature
1 Acceptable
0 Closed
W Windows
1 Open

The watering system turns on (X = 1) if:

either it is daytime and the temperature is too high

or the humidity is too low.

The fan turns on (Y = 1) if the temperature is too high and the windows are closed.

Draw a logic circuit to represent the greenhouse control system.

T
Y

[6]

© UCLES 2018 9608/12/M/J/18


5

(b) Complete the truth table for the logic expression: X = NOT A AND (B NAND C)

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]

© UCLES 2018 9608/12/M/J/18 [Turn over


10

5 (a) A student needs to design a logic circuit to model the requirements for membership of a
snooker club. Membership (X) depends on four criteria, as shown in the table:

Description of Binary
Parameter Condition
parameter value
1 True
A Over 18
0 False
1 True
B Recommended
0 False
1 True
C Full-time
0 False
1 True
D Retired
0 False

Membership is approved (X = 1) if the person:

• is over the age of 18 and has been recommended by a pre-existing member and
• either is working full-time or is retired, but not both.

Draw a logic circuit to represent the membership requirements.

[3]

© UCLES 2018 9608/13/M/J/18


11

(b) Complete the truth table for the logic expression: X = (A XOR B) AND NOT C

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]

© UCLES 2018 9608/13/M/J/18 [Turn over


13

6 (a) Draw a logic circuit to represent the logic expression:

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

B X

[5]

(b) Complete the truth table for the logic expression in part (a).

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]

© UCLES 2019 9608/12/M/J/19


8

5 (a) A logic circuit is given:

X
B

Complete the following truth table for 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]

© UCLES 2020 9608/11/M/J/20


9

(b) Identify one logic gate not used in the logic circuit in part (a).

Draw the symbol for this logic gate and complete its truth table.

Logic gate: ......................................

Symbol:

Truth table: Input


Output
A B

0 0

0 1

1 0

1 1

[3]

© UCLES 2020 9608/11/M/J/20 [Turn over


6

3 The following is a logic expression.

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

Draw the logic circuit for the given expression using a maximum of four gates.

B X

[4]

© UCLES 2020 9608/12/M/J/20


5

3 (a) The following is a logic expression.

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

Draw the logic circuit for the given expression, using a maximum of four logic gates.

B
X

[4]

© UCLES 2020 9608/13/M/J/20 [Turn over


6

(b) Complete the truth table for the logic expression:

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

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]

(c) The following is a logic expression.

A AND B XOR C OR NOT A

Identify one logic gate that would not be used in the logic circuit for this expression.
Draw the symbol for the logic gate.

Logic gate .................................................................................................................................

Logic gate symbol:

[2]

© UCLES 2020 9608/13/M/J/20


6

5 A motor is controlled by a logic circuit. The circuit has inputs (0 or 1) from three sensors
R, T and W. The motor is switched off when the output from the logic circuit is 1.

The following table shows the three sensors and the conditions being monitored.

Sensor Description Binary value Condition

0 rotation < 4000 rpm


R rotation
1 rotation >= 4000 rpm

0 temperature >= 90 °C
T temperature
1 temperature < 90 °C

0 water flow rate >= 50 litre/min


W water flow rate
1 water flow rate < 50 litre/min

The output, X, is 1 if:

temperature >= 90 °C and rotation >= 4000 rpm

or

temperature < 90 °C and water flow rate >= 50 litre/min

(i) Draw a corresponding logic circuit.

T X

[5]

© UCLES 2016 9608/11/O/N/16


7

(ii) Give a logic statement corresponding to the logic circuit in part (i).

...........................................................................................................................................

.......................................................................................................................................[2]

(iii) Complete the truth table for this system.

INPUT Workspace OUTPUT

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

6 A user watches a video available on a website. The website uses on-demand bit streaming.

Describe how it is possible to watch the video without it continually pausing.

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

......................................................................................................................................................[4]

© UCLES 2016 9608/11/O/N/16 [Turn over


2

1 (a) A student writes the following logic expression:

X is 1 IF (B is NOT 1 AND S is NOT 1) OR (P is NOT 1 AND S is 1)

Draw a logic circuit to represent this logic expression.

Do not attempt to simplify the logic expression.

S X

[6]

(b) Complete the truth table for the logic expression given in part (a).

B S P 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]

© UCLES 2016 9608/12/O/N/16


6

5 A motor is controlled by a logic circuit. The circuit has inputs (0 or 1) from three sensors
R, T and W. The motor is switched off when the output from the logic circuit is 1.

The following table shows the three sensors and the conditions being monitored.

Sensor Description Binary value Condition

0 rotation < 4000 rpm


R rotation
1 rotation >= 4000 rpm

0 temperature >= 90 °C
T temperature
1 temperature < 90 °C

0 water flow rate >= 50 litre/min


W water flow rate
1 water flow rate < 50 litre/min

The output, X, is 1 if:

temperature >= 90 °C and rotation >= 4000 rpm

or

temperature < 90 °C and water flow rate >= 50 litre/min

(i) Draw a corresponding logic circuit.

T X

[5]

© UCLES 2016 9608/13/O/N/16


7

(ii) Give a logic statement corresponding to the logic circuit in part (i).

...........................................................................................................................................

.......................................................................................................................................[2]

(iii) Complete the truth table for this system.

INPUT Workspace OUTPUT

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

6 A user watches a video available on a website. The website uses on-demand bit streaming.

Describe how it is possible to watch the video without it continually pausing.

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

......................................................................................................................................................[4]

© UCLES 2016 9608/13/O/N/16 [Turn over


14

8 (a) Draw a logic circuit to represent the logic expression:

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

B X

[4]

(b) Complete the truth table for the logic expression in part (a).

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]

© UCLES 2018 9608/13/O/N/18


7

3 (a) A bank approves a customer for an account based on the criteria in the following table.

Parameter Description of parameter Binary value Condition

1 True
A Employed
0 False
1 True
B Self-employed
0 False
1 True
C Over 21
0 False
1 True
D Earn more than 30 000
0 False
1 True
E Another account
0 False

A customer is approved (X = 1) if the person:

• is over 21 and employed


or
• is over 21 and self-employed and

• either earns more than 30 000


or
• has another account.

Draw a logic circuit to represent the model.

C X

[5]

© UCLES 2019 9608/11/O/N/19 [Turn over


8

(b) Complete the truth table for the logic expression:

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

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]

© UCLES 2019 9608/11/O/N/19


3

2 (a) Draw a logic circuit to represent the following logic expression:

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

B
X

[4]

(b) Complete the truth table for the logic expression:

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

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]

© UCLES 2019 9608/12/O/N/19 [Turn over


10

5 (a) Draw a logic circuit to represent the logic expression:

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

B X

[5]

(b) Complete the truth table for the logic expression:

X = NOT (A OR C) OR (A AND NOT 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]

© UCLES 2019 9608/13/O/N/19


10

7 A system is monitored using sensors. The sensors output binary values corresponding to physical
conditions, as shown in the table:

Description of Binary
Parameter Description of condition
parameter value
1 pressure >= 3 bar
P oil pressure
0 pressure < 3 bar
1 temperature >= 200°C
T temperature
0 temperature < 200°C
1 rotation <= 1000 revs per minute (rpm)
R rotation
0 rotation > 1000 revs per minute (rpm)

The outputs of the sensors form the inputs to a logic circuit. The output from the circuit, X, is 1 if
any of the following three conditions occur:

either oil pressure >= 3 bar and temperature >= 200°C

or oil pressure < 3 bar and rotation > 1000 rpm

or temperature >= 200°C and rotation > 1000 rpm

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

T X

[5]
© UCLES 2015 9608/11/M/J/15
11

(b) Complete the truth table for this system.

Workspace
P T R 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]

© UCLES 2015 9608/11/M/J/15 [Turn over


10

7 A system is monitored using sensors. The sensors output binary values corresponding to physical
conditions, as shown in the table:

Description of Binary
Parameter Description of condition
parameter value
1 pressure >= 3 bar
P oil pressure
0 pressure < 3 bar
1 temperature >= 200°C
T temperature
0 temperature < 200°C
1 rotation <= 1000 revs per minute (rpm)
R rotation
0 rotation > 1000 revs per minute (rpm)

The outputs of the sensors form the inputs to a logic circuit. The output from the circuit, X, is 1 if
any of the following three conditions occur:

either oil pressure >= 3 bar and temperature >= 200°C

or oil pressure < 3 bar and rotation > 1000 rpm

or temperature >= 200°C and rotation > 1000 rpm

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

T X

[5]
© UCLES 2015 9608/12/M/J/15
11

(b) Complete the truth table for this system.

Workspace
P T R 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]

© UCLES 2015 9608/12/M/J/15 [Turn over


10

6 (a) Three digital sensors A, B and C are used to monitor a process. The outputs from the sensors
are used as the inputs to a logic circuit.

A signal, X, is output from the logic circuit:

B logic circuit output X

Output, X, has a value of 1 if either of the following two conditions occur:

• sensor A outputs the value 1 OR sensor B outputs the value 0

• sensor B outputs the value 1 AND sensor C outputs the value 0

Draw a logic circuit to represent these conditions.

B X

[5]

© UCLES 2015 9608/13/M/J/15


11

(b) Complete the truth table for the logic circuit described in part (a).

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]

© UCLES 2015 9608/13/M/J/15 [Turn over


12

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

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [3]
© UCLES 2015 9608/13/M/J/15

You might also like