Arithmetic and relational operators (Edexcel GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
13 questions from this quiz
ShowHide
Practise the questions
13 questions from this quiz
Which symbol is used for multiplication in programming?
Which symbol is used for multiplication in programming?
What is the result of ?
What is the result of ?
1
What is the result of ?
What is the result of ?
2
What is the result of ?
What is the result of ?
8
What does the modulus (%) operator find?
What does the modulus (%) operator find?
Remainder after division
What do relational operators return?
What do relational operators return?
True or false values
Which operator checks if two values are exactly the same?
Which operator checks if two values are exactly the same?
==
What is the difference between == and =?
What is the difference between == and =?
== compares, = assigns
Is "David" > "Catherine" true or false?
Is "David" > "Catherine" true or false?
True
Are "Apple" and "apple" considered the same in string comparison?
Are "Apple" and "apple" considered the same in string comparison?
No, comparison is case-sensitive
What is the result of using BIDMAS?
What is the result of using BIDMAS?
14
Why use integer division to pack 50 bars into boxes of 20?
Why use integer division to pack 50 bars into boxes of 20?
To count full boxes only
If num = -12, what does "if (num < 5)" return?
If num = -12, what does "if (num < 5)" return?
True
