wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

GD2 - 2.06 C++ Truth Tables Quiz

Total questions: 15

Worksheet time: 9mins

Name
Class
Date
1.

What type of logic is this table showing:

a)

AND

b)

OR

c)

NOT

d)

NOR

2.

What type of logic is this table showing:

a)

AND

b)

OR

c)

NOR

d)

XOR

3.

What type of logic is this table showing:

a)

AND

b)

OR

c)

NOT

d)

XOR

4.

"I like pancakes with either Jam or cream cheese but not both!"

This is an example of which type of logic?

a)

AND

b)

OR

c)

XOR

d)

NOR

5.

"I will take my umbrella only if it is both about to rain and I can find it"

This is an example of which type of logic?

a)

AND

b)

OR

c)

NOT

d)

NOR

6.

"The burglar alarm will go off if either the door or the window or both are opened". This is an example of which type of Logic?

a)

AND

b)

OR

c)

NOT

d)

NOR

7.

Use the logic condition to find the value of X:


A and not B

a)

True

b)

False

8.

Use the logic condition to find the value of X:


Not A or B

a)

True

b)

False

9.

Use the logic condition to find the value of Y:


A or B or C

a)

True

b)

False

10.

Use the logic condition to find the value of X:


A or (B and C)

a)

True

b)

False

11.

Use the logic condition to find the value of W:


not A or B or C

a)

True

b)

False

12.
a)
turn right
b)
almost
c)
implies
d)
correct
13.
a)
caret - either
b)
caret - or
c)
caret - and
d)
caret - not
14.
a)
caret - question
b)
caret - therefore
c)
caret - not true
d)
caret - and
15.
a)
tilde - it means not
b)
tilde - it means so-so
c)
caret - it means and
d)
caret - it means or