Logic Gate Quiz

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

1

Grade 8 – Information Technology


Spot Test

Question 1: Identify logic gates and complete the truth tables.

A B Output A Output A B Output

g
or
Question 2: Complete the following truth tables given below according to the
logic gates.

Question 1
s.
o te
tn

𝐴𝐴 𝐵𝐵 𝐴𝐴 + 𝐵𝐵 ��������
𝐴𝐴 + 𝐵𝐵 𝐵𝐵� ��������
(𝐴𝐴 + 𝐵𝐵). 𝐵𝐵�
0 0
0 1
ic

1 0
1 1

Physical Computing Grade 8 Teshani Kumarasinghe


2

Question 2

𝑋𝑋 𝑌𝑌 𝑍𝑍 𝑋𝑋. 𝑌𝑌 (𝑋𝑋. 𝑌𝑌). 𝑍𝑍


0 0 0

g
0 0 1
0 1 0
0 1 1

or
1 0 0
1 0 1
1 1 0
1 1 1

Question 3
s.
o te
tn

𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐴𝐴 + 𝐵𝐵 (𝐴𝐴 + 𝐵𝐵). 𝐶𝐶
0 0 0
0 0 1
ic

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

Physical Computing Grade 8 Teshani Kumarasinghe


3

Question 4

𝑋𝑋 𝑌𝑌 𝑍𝑍 𝑋𝑋� 𝑌𝑌. 𝑍𝑍 𝑋𝑋� + (𝑌𝑌. 𝑍𝑍)

g
0 0 0
0 0 1

or
0 1 0
0 1 1
1 0 0
1 0 1 s.
1 1 0
1 1 1
te
Question 5
o
tn

𝑋𝑋 𝑌𝑌 𝑍𝑍 𝑋𝑋. 𝑌𝑌 (𝑋𝑋. 𝑌𝑌) + 𝑍𝑍


ic

Physical Computing Grade 8 Teshani Kumarasinghe


4

Question 6

𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐴𝐴 + 𝐵𝐵 𝐵𝐵. 𝐶𝐶 (𝐴𝐴 + 𝐵𝐵). (𝐵𝐵. 𝐶𝐶)

g
or
s.
te
Question 7
o
tn

𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐴𝐴. 𝐵𝐵 (𝐴𝐴. 𝐵𝐵) + 𝐶𝐶 �������������


(𝐴𝐴. 𝐵𝐵) + 𝐶𝐶
ic

Physical Computing Grade 8 Teshani Kumarasinghe


5

Question 3: Write the expression and draw the truth tables for given flowcharts.

Question 1

g
A B C

or
s.
te
Question 2
o
tn

X Y Z
ic

Physical Computing Grade 8 Teshani Kumarasinghe


6

Practice Questions

𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 𝐴𝐴. 𝐵𝐵 𝐶𝐶 + 𝐷𝐷 (𝐴𝐴. 𝐵𝐵). (𝐶𝐶 + 𝐷𝐷)

g
or
s.
o te
tn
ic

Physical Computing Grade 8 Teshani Kumarasinghe

You might also like