Preview

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

  CPU, BINARY, BIT

  OR, AND, NOT

  FOR, WHILE, DO

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

  A 'NOT' gate

  An 'OR' gate

  An 'AND' gate

  There is no such gate that performs such a function

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

  1 = False 2 = True

  Both 1 and 2 = FALSE

  1 = True 2 = False

  Both 1 and 2 = TRUE

 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 'NOT' gate

  A combination of gates called the A-B gate

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

   P=A AND B

  A = B + P

  P = A NOT B

  A OR B = P

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

  P = (A AND B AND C)

  P=(A AND B) OR C

  P =(A OR B) AND C

  P = C OR (A OR B) AND C

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

  NOT

  BAND

  OR

  AND

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

  FALSE

  TRUE

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

  Answer: A

  Answer: Q

  Answer: 1

  Answer: 0

 10. Assuming the inputs for all switches is 0 (all are off) will the light bulb be on (1) or off(0)?
booleanlogic_practicetest_6.png

  OFF (0)

  Both ON(1) and OFF(0)

  ON (1)

  It will fail to execute as the NOT gate is not connected properly