Skip to content
OtisamLMS
Computing

Computing · Quick practice · answer shown after each question

Logic gates and Boolean logic

Question 1 of 10

Question 1 of 10

How many rows (input combinations) does a truth table for a two-input gate have?

Question 2 of 10

Question 2 of 10

A gate whose output is 1 only when both inputs are 1 is the ___ gate.

Question 3 of 10

Question 3 of 10

A lamp that comes on only when switch A AND switch B are both on can be modelled with

Question 4 of 10

Question 4 of 10

A security alarm should sound if a door is opened AND the alarm is switched on. Name the gate, give the inputs and complete the truth table.

Question 5 of 10

Question 5 of 10

A NOR gate gives the opposite output of

Question 6 of 10

Question 6 of 10

A NOT gate

Question 7 of 10

Question 7 of 10

A NOT gate has only one input.

Question 8 of 10

Question 8 of 10

Work out the output of the expression NOT(A OR B) for all four combinations of A and B.

Question 9 of 10

Question 9 of 10

An AND gate gives an output of 1 only when

Question 10 of 10

Question 10 of 10

Logic gates are built into computers using

Questions written by OtisamLMS in the style of the BECE. They are not WAEC past questions.