wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS IGCSE Unit 2. Logic Gates

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Choose all the Boolean logic gates...

a)

NOT

b)

BUT

c)

AND

d)

XOR

2.

1 AND 0 is...

a)

0

b)

1

c)

10

d)

AND

3.

True OR False is

a)

False

b)

True

c)

10

d)

2

4.

If x = 3 and y = 5, choose all the statements that evaluate to True.

a)

x < y

b)

2*x == y

c)

x + 2 == y

d)

y*(x - 1) > x

5.

2 < 3 AND (NOT (3>2))

a)

False

b)

True

6.

Which word best completes this sentence:


Data that is Boolean can only take two values:

True _______ False

a)

or

b)

xor

c)

and

d)

not

7.

A NOT gate has ____ input and one output

a)

2

b)

0

c)

1

d)

-1

8.

A combination of logic gates is known as a logic ______

a)

algorithm

b)

circuit

c)

array

d)

function

9.

A logic gate that outputs True only if both inputs are True is called...

a)

eXOR

b)

NOT

c)

OR

d)

AND

10.

(1 + 2) >= 3 OR (-(1 + 3)> 5)

a)

TRUE

b)

FALSE

11.

In which of the following logic gates the output is 1 if and only if at least one input is 1?

a)

NOR

b)

AND

c)

NAND

d)

OR

12.

A truth table lists every possible combination of input and the resulting output

a)

Yes

b)

No

13.

A XOR B = Q


If A = 1 and B = 1, what does Q equal?

a)

1

b)

0

14.

NOT A = P


If A is 1, P is ...

a)

1

b)

0

15.

(NOT A) AND B = P


If A = 0 and B = 1, what does P equal?

a)

1

b)

0