Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Boolean Logic

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is the boolean expression for this logic circuit?

a)

Q = NOT (A OR B)

b)

Q = NOT A AND B

c)

NOT A OR B = Q

d)

Q = (NOT A) OR B

2.

This is the truth table for which logic gate?

a)
b)
c)
3.

In this logic circuit, if A = 0 and Q = 1, what is B?

a)

0

b)

We can't say

c)

1

4.

In this logic circuit, what is Q if the inputs are: A=0, B=1, C=0?

a)

0

b)

We can't say

c)

1

5.

What is the best explanation for why a computer uses boolean logic to manipulate True and False values?

a)

It can only understand 0s and 1s

b)

It runs instructions in a binary code

c)

It doesn't have enough memory to store numbers above 1

d)

It uses transistors which can only be on or off

6.

A single logic gate is an electronic component made of transistors, which does what?

a)

Performs calculations such as binary addition

b)

Performs binary shifts left and right

c)

Combines boolean inputs to produce a boolean output

d)

Executes instructions stored in the main memory

7.

Which of these are boolean operators, implemented in the computer as logic gates?

Check all that apply

a)

NOT

b)

MOD

c)

OR

d)

AND

e)

DIV

8.

Which logic gate is this?

a)

AND

b)

NOT

c)

OR

9.

What is the output Q if the inputs to this logic circuit are both 0?

a)

0

b)

We can't say

c)

1

10.

What is the boolean expression for this logic circuit?

a)

A OR B AND C = Q

b)

Q = (A AND B) OR C

c)

Q = A OR (B AND C)

d)

Q = (A OR B) AND C

11.

In this logic circuit, what is the output Q if the inputs A and C are 1?

a)

0

b)

We can't say

c)

1

12.

What is described as a table that shows the output of a logic gate for all possible combinations of input?

a)

Truth table

b)

Trace table

c)

Boolean table

d)

Logic table

13.

Which logic gate is this?

a)

AND

b)

OR

c)

NOT

14.

Which is the truth table for the AND gate?

a)
b)
c)
15.

Which logic gate take the input and negates it, turning 0 to 1 and 1 to 0?

a)

AND

b)

OR

c)

NOT

16.

The AND and OR gate both take two inputs, while the NOT gate takes just one. True or False?

a)

True

b)

False

17.

The NOT gate takes only one input (it is a unary operator). True or False?

a)

True

b)

False

18.

This is the truth table for which logic gate?

a)

AND

b)

OR

c)

NOT

19.

Which logic gate matches this truth table?

a)
b)
c)
20.

Which logic gate is this?

a)

AND

b)

OR

c)

NOT