OCR Computer Science GCSE Paper Two – Unit 2.2 Programming Techniques

Variables: A value that can change while the program is running

Constant: A value that cannot be changed while the program is running

Operator: A character that represents an action e.g: * means multiplication

Input: information supplied to a computer or program

Output: information provided by a computer or program

Assignment: sets and/or resets the value stored in the storage location

Sequence: an action that leads to the next ordered action

Selection: A ‘if’ statement

Iteration: the act or process of repeating (loop)

Integer: A whole number

Float (real): Decimal number

Boolean: true or false (logic gates)

String: used to represent text

Character: a single letter, number or symbol.

Casting: used to change the data type, for example: int(“1” – converts the string “1” to the integer 1

Loading