Relational operators (Edexcel GCSE Computer Science): Flashcards
📚Flashcards
Practise the cards
13 cards from this deck
ShowHide
Practise the cards
13 cards from this deck
Purpose of relational operators
Purpose of relational operators
Compare values & help programs make decisions
Result type returned by relational operators
Result type returned by relational operators
Boolean (True or False)
The six relational operator symbols
The six relational operator symbols
, , , , ,
Meaning of operator
Meaning of operator
Checks if first value is smaller than second
Meaning of operator
Meaning of operator
Checks if first value is bigger or equal to second
Operator symbol for equality comparison
Operator symbol for equality comparison
(double equals)
Operator symbol for not equal
Operator symbol for not equal
Difference between and
Difference between and
compares values, assigns values
Types of data relational operators compare
Types of data relational operators compare
Numbers and strings/text
System used for string comparison
System used for string comparison
ASCII code values
ASCII ordering hierarchy
ASCII ordering hierarchy
Numbers uppercase letters lowercase letters
'Apple' 'Banana' result
'Apple' 'Banana' result
True (A comes before B in ASCII)
Statements that use relational operators
Statements that use relational operators
Selection (if...else) & repetition (while loops)
