0% found this document useful (0 votes)
60 views47 pages

Logic Circuit Truth Tables and Boolean Algebra

The document describes a series of logic circuit problems involving truth tables and Boolean algebra expressions. It asks the student to: 1) Complete truth tables for two logic circuits 2) Write Boolean expressions for the output of each circuit 3) Identify which De Morgan's law is shown by the answers 4) Write the Boolean expression for a third circuit and simplify it using De Morgan's laws and Boolean algebra.

Uploaded by

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

Logic Circuit Truth Tables and Boolean Algebra

The document describes a series of logic circuit problems involving truth tables and Boolean algebra expressions. It asks the student to: 1) Complete truth tables for two logic circuits 2) Write Boolean expressions for the output of each circuit 3) Identify which De Morgan's law is shown by the answers 4) Write the Boolean expression for a third circuit and simplify it using De Morgan's laws and Boolean algebra.

Uploaded by

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

8

4 (a) (i) Complete the truth table for this logic circuit:

Working space
A B X
0 0
0 1
1 0
1 1
[1]

(ii) Complete the truth table for this logic circuit:

Working space
A B X
0 0
0 1
1 0
1 1
[1]

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


9

(b) A student decides to write an equation for X to represent the full behaviour of each logic
circuit.

(i) Write the Boolean expression that will complete the required equation for X for each
circuit:

Circuit 1: X = ......................................................................................................................

Circuit 2: X =...................................................................................................................[2]

(ii) Write the De Morgan’s Law which is shown by your answers to part (a) and part (b)(i).

.......................................................................................................................................[1]

(c) Write the Boolean algebraic expression corresponding to the following logic circuit:

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

(d) Using De Morgan’s laws and Boolean algebra, simplify your answer to part (c).

Show all your working.

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

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

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

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

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

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

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


8
4 (a) (i) Complete the truth table for this logic circuit.
(d) Explain why the algorithms given in part (c) may not be the best choice for efficient memory
management. Input Output
X
A X Y A B
Longest
Y resident .......................................................................................................................
0 0
0 1
...................................................................................................................................................
1 0
1 1
...................................................................................................................................................
B

...................................................................................................................................................
[2]
Least used ................................................................................................................................
(ii) State the name given to this logic circuit.
...................................................................................................................................................
...................................................................................................................................... [1]
...................................................................................................................................................

(iii) Name the labels usually given to A and B.


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

Label A ..............................................................................................................................

Label B ..............................................................................................................................

Explain why your answers are more appropriate for the A and B labels.

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

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

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

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

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


9

(b) (i) Write the Boolean expression corresponding to the following logic circuit:

B
X

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

(ii) Use Boolean algebra to simplify the expression that you gave in part (b)(i).

Show your working.

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

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

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

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

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

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

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


10

5 (a) (i) A half adder is a logic circuit with the following truth table.

Input Output
X Y A B
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0

The following logic circuit is constructed.

P X A
J
HALF ADDER
Q Y B

X A
HALF ADDER
R Y B K

Complete the following truth table for this logic circuit.

Input Working space Output


P Q R J K
0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1
[2]

(ii) State the name given to this logic circuit.

...................................................................................................................................... [1]

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


11

(iii) Name the labels usually given to J and K.

Label J ..............................................................................................................................

Label K ..............................................................................................................................

Explain why your answers are appropriate labels for these outputs.

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

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

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

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

(b) (i) Write down the Boolean expression corresponding to the following logic circuit:

A
B
X

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

(ii) Use Boolean algebra to simplify the expression given in part (b)(i).

Show your working.

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

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

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

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

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

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

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


8

3 Consider the following logic circuit, which contains a redundant logic gate.

A
X

(a) Write the Boolean algebraic expression corresponding to this logic circuit.

X =..........................................................................................................................................[3]

(b) Complete the truth table for this logic circuit.

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
[2]

(c) (i) Complete the Karnaugh Map (K-map) for the truth table in part (b).
AB

00 01 11 10
0
C
1
[1]
The K-map can be used to simplify the expression in part (a).

(ii) Draw loop(s) around appropriate groups to produce an optimal sum-of-products. [2]

(iii) Write a simplified sum-of-products expression, using your answer to part (ii).

X =..................................................................................................................................[2]

9608/31/M/J/17© UCLES 2017


9

(d) One Boolean identity is:

A + A.B = A + B

Simplify the expression for X in part (a) to the expression for X in part (c)(iii). You should use
the given identity.

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

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

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

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

9608/31/M/J/17© UCLES 2017 [Turn over


6

(c) Digital certificates are used in internet communications. A Certificate Authority (CA) is
responsible for issuing a digital certificate.

The digital certificate contains a digital signature produced by the CA.

(i) Name three additional data items present in a digital certificate.

1 ........................................................................................................................................

2 ........................................................................................................................................

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

(ii) Describe how the digital signature is produced by the CA.

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

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

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

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

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

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

(iii) Give the reason for including a digital signature in the digital certificate.

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

.......................................................................................................................................[1]

3 A logic circuit is shown:

S
Q
R

(a) Write the Boolean algebraic expression corresponding to this logic circuit:

S =..........................................................................................................................................[4]

9608/32/M/J/17© UCLES 2017


7

(b) Complete the truth table for this logic circuit:

P Q R Working space S
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
[2]

(c) (i) Complete the Karnaugh Map (K-map) for the truth table in part (b).
PQ

00 01 11 10
0
R
1
[1]

The K-map can be used to simplify the function in part (a).

(ii) Draw loop(s) around appropriate groups to produce an optimal sum-of-products. [1]

(iii) Write a simplified sum-of-products expression, using your answer to part (ii).

S =..................................................................................................................................[1]

(d) One Boolean identity is:


(A + B) . C = A . C + B . C

Simplify the expression for S in part (a) to the expression for S in part (c)(iii).

You should use the given identity and De Morgan’s Laws.

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

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

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

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

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

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

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

...............................................................................................................................................[3]
9608/32/M/J/17© UCLES 2017 [Turn over
5

3 (a) Consider the following Boolean expression.

A.B.C+A.B.C+A.B.C

Use Boolean algebra to simplify the expression.

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

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

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

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

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

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

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

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

9608/32/O/N/18© UCLES 2018 [Turn over


6

(b) (i) Complete the truth table for the following logic circuit.

ABC

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

[2]

(ii) Complete the Karnaugh Map (K-map) for the truth table in part (b)(i).

AB

00 01 11 10

0
C
1

[1]

(iii) Draw loops around appropriate groups of 1s in the table in part (b)(ii) to produce an
optimal sum-of-products. [2]

(iv) Using your answer to part (b)(iii), write a simplified sum-of-products Boolean expression.

X =..................................................................................................................................[2]

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


7

(c) The truth table for a logic circuit with four inputs is shown.

INPUT OUTPUT
A B C D X
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1

(i) Complete the K-map for the truth table in part (c).

AB

CD

[4]

(ii) Draw loops around appropriate groups of 1s in the table in part (c)(i) to produce an
optimal sum-of-products. [2]

(iii) Using your answer to part (c)(ii), write a simplified sum-of-products Boolean expression.

X =..................................................................................................................................[2]

9608/32/O/N/18© UCLES 2018 [Turn over


6

3 (a) The following logic circuit can be simplified to use only one gate.

Give the name of this single gate.

............................................................................................................................................. [1]

(b) (i) Complete the truth table for the logic circuit.

Working space
A B X Y

0 0

0 1

1 0

1 1

[2]

(ii) Give the name of the logic circuit that has this truth table.

..................................................................................................................................... [1]

(iii) Give the uses for outputs X and Y.

X ........................................................................................................................................

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

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


7

(c) Consider the following Boolean algebraic expression:


A . B . C . D + A . B . C . D + A . B . C . D + A . B . C . D + A .B . C. D

Use Boolean algebra to simplify the expression. Show your working.

Working ..................................................................................................................................

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

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

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

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

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

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

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

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

Simplified expression.............................................................................................................[5]

9608/31/M/J/19© UCLES 2019 [Turn over


5

3 (a) A Boolean algebraic expression produces the following truth table.

INPUT OUTPUT
A B C X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0

(i) Complete the Karnaugh Map (K-map) for the truth table.

AB

00 01 11 10

0
C
1

[1]

The K-map can be used to simplify the expression that produced the truth table in part (a).

(ii) Draw loops around appropriate groups of 1s in the K-map to produce an optimal sum-
of- products. [2]

(iii) Write the simplified sum-of-products Boolean expression for the truth table.

X =..................................................................................................................................[2]

9608/32/M/J/19© UCLES 2019 [Turn over


6

(b) A logic circuit with four inputs produces the following truth table.

INPUT OUTPUT
A B C D X
0 0 0 0 0
0 0 0 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 0
1 1 1 1 0

(i) Complete the K-map for the truth table.

AB

CD

[4]

(ii) Draw loops around appropriate groups of 1s in the K-map to produce an optimal sum-
of-products. [2]

(iii) Write the simplified sum-of-products Boolean algebraic expression for the truth table.

X =..................................................................................................................................[2]

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


3

2 (a) A Boolean expression produces the following truth table.

INPUT OUTPUT
A B C X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0

(i) Write the Boolean expression for the truth table by applying the sum-of-products.

X = .....................................................................................................................................

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

(ii) Complete the Karnaugh Map (K-map) for the truth table in part (a).

AB

00 01 11 10

0
C
1

[1]

The K-map can be used to simplify the function in part (a)(i).

(iii) Draw loop(s) around appropriate groups in the table in part (a)(ii), to produce an
optimal sum-of-products. [2]

(iv) Write, using your answer to part (a)(iii), a simplified Boolean expression for your
Karnaugh map.

X =..................................................................................................................................[2]

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


4

(b) Simplify the following expression using De Morgan’s laws. Show your working.

(W + X) • (Y + Z)

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

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

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

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

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

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

9608/31/O/N/15© UCLES 2015 [Turn over


9

5 (a) (i) Complete the Boolean function that corresponds to the following truth table.

INPUT OUTPUT

A B C X

0 0 0 0
0 0 1 0

0 1 0 0

0 1 1 1

1 0 0 0

1 0 1 0

1 1 0 1

1 1 1 1

X = A . B . C +.................................................................................................................[3]

The part to the right of the equals sign is known as the sum-of-products.

(ii) For the truth table above complete the Karnaugh Map (K-map).

AB

00 01 11 10

0
C
1
[1]

The K-map can be used to simplify the function in part(a)(i).

(iii) Draw loop(s) around appropriate groups of 1’s to produce an optimal sum-of-products.
[2]

(iv) Using your answer to part (a)(iii), write the simplified sum-of-products Boolean function.

X =..................................................................................................................................[2]

9608/31/O/N/15© UCLES 2015 [Turn over


10

(b) The truth table for a logic circuit with four inputs is given below:

INPUT OUTPUT
A B C D X
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 0
1 1 1 0 1
1 1 1 1 1

(i) Complete the K-map corresponding to the truth table above.

AB

CD

[4]

(ii) Draw loop(s) around appropriate groups of 1’s to produce an optimal sum-of-products.
[2]

(iii) Using your answer to part (b)(ii), write the simplified sum-of-products Boolean function.

X =..................................................................................................................................[2]

9608/31/O/N/15© UCLES 2015 [Turn over


9

5 (a) (i) Complete the Boolean function that corresponds to the following truth table.

INPUT OUTPUT

P Q R Z

0 0 0 0
0 0 1 0

0 1 0 0

0 1 1 0

1 0 0 1

1 0 1 1

1 1 0 0

1 1 1 1

Z = P . Q . R +................................................................................................................[3]

The part to the right of the equals sign is known as the sum-of-products.

(ii) For the truth table above complete the Karnaugh Map (K-map).

PQ

00 01 11 10

0
R
1
[1]

The K-map can be used to simplify the function in part(a)(i).

(iii) Draw loop(s) around appropriate groups of 1’s to produce an optimal sum-of-products.
[2]

(iv) Using your answer to part (a)(iii), write the simplified sum-of-products Boolean function.

Z =..................................................................................................................................[1]

9608/31/O/N/15© UCLES 2015 [Turn over


10

(b) The truth table for a logic circuit with four inputs is given below:

INPUT OUTPUT
P Q R S Z
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 0
1 0 0 1 1
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 1
1 1 1 0 0
1 1 1 1 1

(i) Complete the K-map corresponding to the truth table above.

PQ

RS

[4]

(ii) Draw loop(s) around appropriate groups of 1’s to produce an optimal sum-of-products.
[2]

(iii) Using your answer to part (b)(ii), write the simplified sum-of-products Boolean function.

Z =..................................................................................................................................[2]

9608/31/O/N/15© UCLES 2015 [Turn over


8

3 Consider the following logic circuit, which contains a redundant logic gate.

A
X

(a) Write the Boolean algebraic expression corresponding to this logic circuit.

X =..........................................................................................................................................[3]

(b) Complete the truth table for this logic circuit.

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
[2]

(c) (i) Complete the Karnaugh Map (K-map) for the truth table in part (b).
AB

00 01 11 10
0
C
1
[1]
The K-map can be used to simplify the expression in part (a).

(ii) Draw loop(s) around appropriate groups to produce an optimal sum-of-products. [2]

(iii) Write a simplified sum-of-products expression, using your answer to part (ii).

X =..................................................................................................................................[2]

9608/31/M/J/17© UCLES 2017


9

(d) One Boolean identity is:

A + A.B = A + B

Simplify the expression for X in part (a) to the expression for X in part (c)(iii). You should use
the given identity.

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

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

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

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

9608/31/M/J/17© UCLES 2017


6
3 A logic circuit is shown:
(c) Digital certificates are used in internet communications. A Certificate Authority (CA) is
responsible for issuing a digital certificate.
P
The digital certificate contains a digital signature produced by the CA.

(i) Name three additional data items present in a digital certificate. S


Q
1 ........................................................................................................................................
R
2 ........................................................................................................................................

3 ........................................................................................................................................
(a) Write the Boolean algebraic expression corresponding to this logic circuit: [3]

S =..........................................................................................................................................[4]
(ii) Describe how the digital signature is produced by the CA.

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

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

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

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

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

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

(iii) Give the reason for including a digital signature in the digital certificate.

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

.......................................................................................................................................[1]

9608/31/M/J/17© UCLES 2017


7

(b) Complete the truth table for this logic circuit:

P Q R Working space S
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
[2]

(c) (i) Complete the Karnaugh Map (K-map) for the truth table in part (b).
PQ

00 01 11 10
0
R
1
[1]

The K-map can be used to simplify the function in part (a).

(ii) Draw loop(s) around appropriate groups to produce an optimal sum-of-products. [1]

(iii) Write a simplified sum-of-products expression, using your answer to part (ii).

S =..................................................................................................................................[1]

(d) One Boolean identity is:


(A + B) . C = A . C + B . C

Simplify the expression for S in part (a) to the expression for S in part (c)

(iii). You should use the given identity and De Morgan’s Laws.

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

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

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

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

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

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

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

...............................................................................................................................................[3]
9608/31/M/J/17© UCLES 2017
8

4 (a) A Boolean expression corresponds to the following truth table.

INPUT OUTPUT
A B C X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1

1 1 1 1

(i) Write the Boolean expression for the truth table by applying the sum-of-products.

X =..................................................................................................................................[2]

(ii) Complete the Karnaugh Map (K-map) for the truth table.

AB

00 01 11 10

0
C
1

[1]

(iii) The K-map can be used to simplify the expression in part (a)(i).

Draw loop(s) around appropriate groups of 1s in the table in part (a)(ii) to produce an
optimal sum-of-products. [3]

(iv) Write the simplified sum-of-products expression for your answer to part (a)(iii).

X =..................................................................................................................................[3]

9608/31/M/J/17© UCLES 2017


9

(b) A logic circuit with four inputs produces the following truth table.

INPUT OUTPUT
A B C D X
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0

0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1

(i) Complete the K-map that corresponds to the truth table.

AB

CD

[4]

(ii) Draw loop(s) around appropriate groups of 1s in the table in part (b)(i) to produce an
optimal sum-of-products. [2]

(iii) Write the simplified sum-of-products expression for your answer to part (b)(ii).

X =..................................................................................................................................[2]

9608/31/M/J/17© UCLES 2017


5

3 (a) Consider the following Boolean expression.

A.B.C+A.B.C+A.B.C

Use Boolean algebra to simplify the expression.

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

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

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

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

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

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

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

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

9608/32/O/N/18© UCLES 2018 [Turn over


6

(b) (i) Complete the truth table for the following logic circuit.

ABC

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

[2]

(ii) Complete the Karnaugh Map (K-map) for the truth table in part (b)(i).

AB

00 01 11 10

0
C
1

[1]

(iii) Draw loops around appropriate groups of 1s in the table in part (b)(ii) to produce an
optimal sum-of-products. [2]

(iv) Using your answer to part (b)(iii), write a simplified sum-of-products Boolean expression.

X =..................................................................................................................................[2]

9608/32/O/N/18© UCLES 2018 [Turn over


7

(c) The truth table for a logic circuit with four inputs is shown.

INPUT OUTPUT
A B C D X
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0

0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1

(i) Complete the K-map for the truth table in part (c).

AB

CD

[4]

(ii) Draw loops around appropriate groups of 1s in the table in part (c)(i) to produce an
optimal sum-of-products. [2]

(iii) Using your answer to part (c)(ii), write a simplified sum-of-products Boolean expression.

X =..................................................................................................................................[2]

9608/32/O/N/18© UCLES 2018 [Turn over


5

3 (a) A Boolean algebraic expression produces the following truth table.

INPUT OUTPUT
A B C X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0

1 1 1 0

(i) Complete the Karnaugh Map (K-map) for the truth table.

AB

00 01 11 10

0
C
1

[1]

The K-map can be used to simplify the expression that produced the truth table in part (a).

(ii) Draw loops around appropriate groups of 1s in the K-map to produce an optimal sum-
of- products. [2]

(iii) Write the simplified sum-of-products Boolean expression for the truth table.

X =..................................................................................................................................[2]

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


6

(b) A logic circuit with four inputs produces the following truth table.

INPUT OUTPUT
A B C D X
0 0 0 0 0
0 0 0 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 0 0
0 1 0 1 0

0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 0
1 1 1 1 0

(i) Complete the K-map for the truth table.

AB

CD

[4]

(ii) Draw loops around appropriate groups of 1s in the K-map to produce an optimal sum-
of-products. [2]

(iii) Write the simplified sum-of-products Boolean algebraic expression for the truth table.

X =..................................................................................................................................[2]

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


7

4 A Boolean expression produces the following truth table.

INPUT OUTPUT
A B C X
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0

1 1 1 1

(a) Write the Boolean expression for the truth table as a sum-of-products.

X =..........................................................................................................................................[2]

(b) Complete the Karnaugh Map (K-map) for the truth table above.

AB

00 01 11 10

0
C
1

[1]

The K-map can be used to simplify the expression in part (a).

(c) Draw loops around appropriate groups in the K-map in part (b) to produce an optimal sum-
of- products. [2]

(d) Write, using your answer to part (c), a simplified sum-of-products expression for the truth
table.

X =..........................................................................................................................................[2]

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


3

2 (a) A Boolean expression produces the following truth table.

INPUT OUTPUT
A B C X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0

1 1 1 0

(i) Write the Boolean expression for the truth table by applying the sum-of-products.

X = .....................................................................................................................................

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

(ii) Complete the Karnaugh Map (K-map) for the truth table in part (a).

AB

00 01 11 10

0
C
1

[1]

The K-map can be used to simplify the function in part (a)(i).

(iii) Draw loop(s) around appropriate groups in the table in part (a)(ii), to produce an
optimal sum-of-products. [2]

(iv) Write, using your answer to part (a)(iii), a simplified Boolean expression for your
Karnaugh map.

X =..................................................................................................................................[2]

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


4

(b) Simplify the following expression using De Morgan’s laws. Show your working.

(W + X) • (Y + Z)

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

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

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

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

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

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

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


10

5 (a) Complete the truth table for this NAND gate:

A B X

A 0 0

X 0 1
B 1 0
1 1

[1]

A SR flip-flop is constructed using two NAND gates.

S
Q

Q
R

(b) (i) Complete the truth table for the SR flip-flop.

S R Q –
Q
Initially 1 0 0 1
R changed to 1 1 1
S changed to 0 0 1
S changed to 1 1 1
S and R changed to 0 0 0
[4]

(ii) One of the combinations in the truth table should not be allowed to occur.

State the values of S and R that should not be allowed. Justify your

choice. S = .............................. R = ..............................

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

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

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

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

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


11

Another type of flip-flop is the JK flip-flop.

(c) (i) Give one extra input present in the JK flip-flop.

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

.......................................................................................................................................[1]

(ii) Give one advantage of the JK flip-flop.

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

.......................................................................................................................................[1]

(d) Describe the role of flip-flops in a computer.

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

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

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

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

© UCLES 2016 UCLES 2019


9608/32/O/N/19© [Turn
9608/31/M/J/16 over [Turn over
9

5 (a) (i) Complete the truth table for this 2-input NAND gate:

A B X
A 0 0
X 0 1
1 0
B 1 1

[1]

(ii) Complete the truth table for this 3-input NAND gate:

A B C X
0 0 0
0 0 1
A 0 1 0
B X 0 1 1
1 0 0
C 1 0 1
1 1 0
1 1 1
[1]

(b) A SR flip-flop is constructed using two NAND gates.

S
Q

Q
R

(i) Complete the truth table for the SR flip-flop:

S R Q Q
Initially 1 0 0 1
R changed to 1 1 1
S changed to 0 0 1
S changed to 1 1 1
S and R changed to 0 0 0 1 1
[3]

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


10

(ii) The final row in the table in part b(i) shows that the output for both Q and Q is 1.

Explain why this is a problem.

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

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

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

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

(c) Another type of flip-flop is the JK flip-flop.

A JK flip-flop is constructed as follows:

J
Q

Clock

Q
K

(i) Complete this truth table for the JK flip-flop.

Initial Final
Working space values values
J K Clock Q Q Q Q
0 0 1 1 0 1 0
0 0 1 0 1 0 1
0 1 1 1 0 0 1
0 1 1 0 1 0 1
1 0 1 1 0
1 0 1 0 1
1 1 1 1 0
1 1 1 0 1
[4]

© UCLES 2017 9608/31/O/N/17


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

(ii) Explain why the JK flip-flop is an improvement on the SR flip-flop.

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

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

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

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

(d) Explain the role of flip-flops in a computer.

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

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

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

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

6 The environment in a very large greenhouse is managed by a computer system. The system uses
a number of different sensors that include temperature sensors. In addition, the system controls a
number of heaters, windows and sprinklers.

(a) State one other type of sensor that could be used with this system.

Justify your choice.

Sensor ......................................................................................................................................

Justification ...............................................................................................................................

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

(b) Describe why feedback is important in this system.

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

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

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

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

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

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

(c) (i) The system makes use of a number of parameters. These parameters are used in the
code that runs the system.

State one of the parameters used in controlling the temperature in the greenhouse.

.......................................................................................................................................[1]

(ii) Explain how the parameter identified in part (c)(i) is used in the feedback process.

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

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

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

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

© UCLES 2017 UCLES 2019


9608/32/O/N/19© [Turn
9608/32/O/N/17 over [Turn over
12

Another type of flip-flop is the JK flip-flop. The JK flip-flop is an improvement on the SR flip-flop.

(c) (i) The JK flip-flop has three inputs. Two of the inputs are the Set (J) and the Reset (K).

State the third input.

.......................................................................................................................................[1]

(ii) There are two problems with the SR flip-flop that the JK flip-flop overcomes.

State each problem and state why it does not occur for the JK flip-flop.

Problem 1 ..........................................................................................................................

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

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

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

Problem 2 ..........................................................................................................................

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

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

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

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


9

5 (a) (i) Complete the truth table for this 2-input NAND gate:

A B X
A 0 0
X 0 1
1 0
B 1 1

[1]

(ii) Complete the truth table for this 3-input NAND gate:

A B C X
0 0 0
0 0 1
A 0 1 0
B X 0 1 1
1 0 0
C 1 0 1
1 1 0
1 1 1
[1]

(b) A SR flip-flop is constructed using two NAND gates.

S
Q

Q
R

(i) Complete the truth table for the SR flip-flop:

S R Q Q
Initially 1 0 0 1
R changed to 1 1 1
S changed to 0 0 1
S changed to 1 1 1
S and R changed to 0 0 0 1 1
[3]

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


10

(ii) The final row in the table in part b(i) shows that the output for both Q and Q is 1.

Explain why this is a problem.

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

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

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

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

(c) Another type of flip-flop is the JK flip-flop.

A JK flip-flop is constructed as follows:

J
Q

Clock

Q
K

(i) Complete this truth table for the JK flip-flop.

Initial Final
Working space values values
J K Clock Q Q Q Q
0 0 1 1 0 1 0
0 0 1 0 1 0 1
0 1 1 1 0 0 1
0 1 1 0 1 0 1
1 0 1 1 0
1 0 1 0 1
1 1 1 1 0
1 1 1 0 1
[4]

© UCLES 2017 9608/33/O/N/17


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

(ii) Explain why the JK flip-flop is an improvement on the SR flip-flop.

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

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

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

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

(d) Explain the role of flip-flops in a computer.

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

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

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

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

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

You might also like