Relational Operations Flashcards
All 3 cards in this deck
In AQA pseudo-code, what do the relational operators
≠,≤and≥mean?≠is not equal to,≤is less than or equal to, and≥is greater than or equal to.What type of value does a comparison such as
score > 50give?A Boolean value: True or False.
What is the difference between
age < 18andage ≤ 18?≤includes the boundary value but<does not. Whenageis 18,age < 18is False butage ≤ 18is True.