wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

logic gates

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

Computers use logic gates to transform the 1s and 0s from input wires. A logic gate accepts inputs and then outputs a result based on their state

a)

Fasle

b)

True

2.

Which logic gate is this?

a)

AND

b)

OR

c)

NOT

d)

NAND

3.

Which logic gate is this?

a)

OR

b)

AND

c)

NOT

d)

NOR

4.

 

What will this gate's output be?

a)

0

b)

1

5.

What will this gate's output be?

a)

0

b)

1

6.

What type of logic gate is this table showing?

a)

OR

b)

AND

c)

NOT

7.

What type of logic gate is this table showing?

a)

NOT

b)

OR

c)

AND

d)

NAND

8.

Which logic gate is this?

a)

OR

b)

AND

c)

NOT

d)

NOR

9.

What will this gate's output be?

a)

1

b)

0

10.

 

How many different combinations of 1 and 0 are possible with 2 bits?

a)

1

b)

2

c)

3

d)

4

11.

How many different combinations of 1 and 0 are possible with 1 bit?

a)

1

b)

2

c)

3

d)

4

12.

How many different combinations of 1 and 0 are possible with 3 bits?

a)

4

b)

5

c)

6

d)

7

e)

8

13.

A=1

B=0

What is the value of Z?

a)

1

b)

0

14.

What will the circuit's output be?

a)

1

b)

0

15.

The simplest gate is the ......... gate, also known as an inverter. It accepts a single input and outputs the opposite value

a)

NOT

b)

AND

c)

NAND

d)

AND

16.

Which of these diagrams is correct for an OR gate?

a)
b)
c)
17.

Which of the following gates only takes one input?

a)

AND

b)

OR

c)

NOT

18.

Which gate will output a 1 if any of the inputs are 1?

a)

AND

b)

OR

c)

NOT

19.

Which gate "reverses" any numbers that pass through it?

a)

AND

b)

OR

c)

NOT

20.

Complete this truth table for an AND gate.

a)

0000

b)

0001

c)

0111

d)

1111

21.

Complete this truth table for an OR gate.

a)

0000

b)

0001

c)

0111

d)

1111

22.

If A was 1 and B was 0 in this circuit, what would Q be?

a)

0

b)

1

23.

Which of the following scenarios is the only one where R would be 0 in this circuit?

a)

If all of the switches were on

b)

If all of the switches were off

c)

If half of the switches were on

d)

If only one of the switches were on

24.

In this circuit, if A and B were both 0, what would R be?

a)

0

b)

1

25.

We generally use A, B, C, D for inputs, but start from P for the first gate. This is because P stands for...

a)

Process

b)

Program

c)

Possibility

d)

Procedure