# 11 - Practice Test #2 (10 questions)

1. What are the three main types of gates in Boolean logic? Select the correct option

NOT, COT, MOT

OR, AND, NOT

CPU, BINARY, BIT

FOR, WHILE, DO

2. Which gate is responsible for inverting the input that comes into it? E.g. a 0 would become a '1'

An 'OR' gate

A 'NOT' gate

There is no such gate that performs such a function

An 'AND' gate

3. The following question is from an OCR GCSE past paper. What values would complete the truth table?

1 = False 2 = True

Both 1 and 2 = TRUE

1 = True 2 = False

Both 1 and 2 = FALSE

4. The following truth table is likely to be for what sort of gate?
```A  B  C(output)
================
0  0  0
0  1  0
1  0  0
1  1  1```

An 'AND' gate

An 'OR' gate

A combination of gates called the A-B gate

A 'NOT' gate

5. What is the correct expression for the following diagram?

A = B + P

A OR B = P

P = A NOT B

P=A AND B

6. Select, from the given options, the correct expression for the following diagram

P = (A AND B AND C)

P = C OR (A OR B) AND C

P =(A OR B) AND C

P=(A AND B) OR C

7. An ____ gate will have an output of 1 (or 'True') if either one of the inputs is 1.

OR

AND

NOT

BAND

8. Analyse the following expression and corresponding logic circuit diagram. Is the expression correct (in reference to the diagram)? (if correct, select 'True')

TRUE

FALSE

9. Fill in the truth table for the given expression. What goes in the red box?