Computer Science · May / June 2024 · Paper 22 · Question 5
0478
As printed in the paper
The question as text
A high-level programming language makes use of arithmetic, Boolean and logical operators. State how each type of operator is used. Give an example statement, in pseudocode, for each one. Arithmetic Example Boolean Example Logical Example [6]
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
One mark for each description, one mark for each example
arithmetic – used in calculations (1) A ← B + C (1)
Boolean – used for operations with true or false values (1) IF B AND C (1)
logical – used in comparisons/conditional statements/selection statements (1) IF B > C (1)
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

