Note that your final mark will not be saved in the system.
Data Types / Arithmetic, Relational & Boolean Operations GapFill
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 form. With only two states available – 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 and dealing with data inputs and outputs. All programming languages use operators, the obvious ones are + for addition and – for subtraction but also includes symbol for multiplication .Modular division is also used where instead of decimal points you get a ; e.g. 9 6 evaluates to 1 (6 goes into 9 once) and 10 MOD 3 evaluates to (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 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 operations, such as AND, OR and 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 .