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.

Data Types / Arithmetic, Relational & Boolean Operations GapFill

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

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

Computers use electronic circuits to store data and instructions and these circuits contain tiny transistors which can be in one of two states, on or off. These states are represented by number 1 or 0 and therefore are represented in  tertiarydenarysecondarybinary form. With only two states available –  truenothing2false and false – a computer system contains vast numbers these 0’s and 1’s, and these can be combined to produce new data. The computer system will need to make thousands of calculations and comparisons when following program  instructionsinformationstatementsrules and dealing with data inputs and outputs. All programming languages use  arithmetictertiaryprimaryprogram operators, the obvious ones are + for addition and – for subtraction but also includes  *x/$ symbol for multiplication .Modular division is also used where instead of decimal points you get a  integer%remainder\; e.g. 9  \/ELSEDIV 6 evaluates to 1 (6 goes into 9 once) and 10 MOD 3 evaluates to  12513 (10 ÷ 3 = 3 remainder 1). 

In addition to the arithmetic operators, computers systems also need to make comparisons as the result of calculations may affect the flow of a program, these comparisons always  pointevaluateequalsopposite to True or False, i.e. 0 or 1.These comparison operator to check if values are equal is =, if the values are not equal either <> or != is used. Values can be checked if they are less than < or less than or equal to <=, similarly value could be greater than > or greater than or equal to  >=/\$.  

As part of the processing of data and instructions  SwitchLogicTertiaryNovel operations, such as AND, OR and  RESETDIVNOTMOD can be performed upon binary signals in order to produce new binary signals.  The AND operation accepts two inputs, each of which is either true or false. Unless both of the inputs are true, the output of an AND gate is  onfalsecorrectinvalid.

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

Pass Mark
72%