wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

j277 boolean

Total questions: 27

Worksheet time: 14mins

Name
Class
Date
1.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
2.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
3.

What is the output of an OR gate if the inputs are 1 and 0?

a)

0

b)

1

c)

OFF

d)

2

4.

What is the output of an AND gate if the inputs are 1 and 0?

a)

0

b)

1

c)

ON

d)

2

5.

What is the output of a NOT gate if the input is 0?

a)

0

b)

1

c)

OFF

d)

2

6.

A NOT gate has...

a)

Two inputs and one output

b)

One input and one output

c)

One input and two outputs

d)

Two inputs and two outputs

7.

The output of any logic gate can have either of two

a)

Gates

b)

States

c)

Inputs

d)

Outputs

8.

A logic state can only be....

a)

On or 1

b)

Off or 1

c)

1 or 0

d)

In and Out

9.

The output of a gate is only 1 when both inputs are 1

a)

OR

b)

NOT

c)

NAND

d)

AND

10.

A NAND gate is the combination of which two gates

a)

OR and AND

b)

AND and NOT

c)

NOT and OR

d)

OR and NAND

11.

Which of these is a definition of a transistor

a)

Microscopic devices that open and close circuits to communicate electrical signals.

b)

A device used to change a circuit

c)

A type of gate used in a CPU

d)

Circuit components which take several inputs

12.

State the output of the following circuit....

a)

0

b)

1

13.

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

14.

This is the truth table for which logic gate?

a)
b)
c)
15.

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

a)

0

b)

We can't say

c)

1

16.

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

17.

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

18.

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

a)

0

b)

We can't say

c)

1

19.

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

20.

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

21.

Which logic gate is this?

a)

AND

b)

OR

c)

NOT

22.

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

23.
What gate is this truth table for?
a)
AND
b)
OR
c)
NOT
d)
THE 
24.
What gate is this table for?
a)
AND
b)
OR
c)
NOT
d)
NOR
25.
What gate is this table for?
a)
AND
b)
XOR
c)
OR 
d)
NOT
26.

Evaluate: 2 < 3 And ( Not 3 > 2)

a)

True

b)

False

27.

Which word best completes this sentence?


A combination of logic gates is known as a logic _______.

a)

circuit

b)

program

c)

array

d)

truth table