Arithmetic and relational operators (Edexcel GCSE Computer Science): Quizzes

📚Quizzes
Arithmetic and relational operators
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

13 questions from this quiz

Show

Which symbol is used for multiplication in programming?

What is the result of 7%37 \% 3?

1

What is the result of 7//37 // 3?

2

What is the result of 232 ** 3?

8

What does the modulus (%) operator find?

Remainder after division

What do relational operators return?

True or false values

Which operator checks if two values are exactly the same?

==

What is the difference between == and =?

== compares, = assigns

Is "David" > "Catherine" true or false?

True

Are "Apple" and "apple" considered the same in string comparison?

No, comparison is case-sensitive

What is the result of 2+3×42 + 3 \times 4 using BIDMAS?

14

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?

True

Join 100,000+ GCSE students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.