OCR GCSE Computer Science · J277
Paper 2
Revise: Common Boolean OperatorsA Boolean value is either
TrueorFalse. A comparison produces one of these values: ifageis 14, thenage >= 12isTrue, whereasage > 16isFalse. A condition is an expression evaluated as true or false, often to control a decision such as anifstatement.- Revise: Truth Tables
A value with only two possible states: true or false, commonly represented by 1 and 0.