Our site uses cookies. Some of the cookies we use are essential for parts of the site to operate and have already been set. You may delete and block all cookies from this site, but parts of the site will not work. To find out more about cookies on this website, see our Cookie Policy
Accept
© eRevision.uk and ZigZag Education 2025
This test is run by .
Note that your final mark will not be saved in the system.

Hardware & Software / Boolean Logic GapFill

Target Level
4-5
Running Total
0
0%
Attempt
1 of 3

You must fill all the gaps before clicking ‘Check Answers!’

A computer system comprises of the physical components that can be seen and touched, the  componentsinputshardwaresystem, and software which are all the programs, including the operating system. The  peripheralsysteminputssoftware gives the computer system the instructions in the programs and the hardware carries out those instructions by processing inputs and outputting the results.

A key part of the hardware is the transistors or electronic switches which are either on or off and represent the  Base 10booleanbinaryBase 16 values 1 and 0. Nineteenth-century mathematician George Boole discovered that all  logicalbadgoodeven decisions could only be either true or false, Boolean values and Boolean logic is named after him.

There are four different logic gates that you need to know.  Each logic gate has one or two inputs and one output.

NOT GATE AND GATE
This gate reverses the value of the input


 A must be different to BBoth inputs must be TrueA must equal BBoth inputs must be 0 for the output to be True

A Q
0 1
1 0
A B Q
0 0 0
0 1 0
1 0 0
1 1 1

Q =  invertedrevertedswappedĀ
Q =  A / BA - BA.BA + B

OR GATE  XNOTXANDORXXOR GATE
 Either A or B but not bothA or B onlyB or A onlyEither A or B or both must be True for the output to be True

This gate will output True when only 1 input is True, and if both are True it will output 0.

A B Q
0 0 0
0 1 1
1 0 1
1 1 1
A B Q
0 0 0
0 1 1
1 0 1
1 1 0
Q = A + B Q =  A - BA + BA⊕BA / B

These logic gates can be connected together to create more complex logic circuits from a given equation:

Q = C. (A+B)

This is your 1st attempt! You get 3 marks for each one you get right. Good luck!

Pass Mark
72%