Relational operators (Edexcel GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
11 questions from this quiz
ShowHide
Practise the questions
11 questions from this quiz
What do relational operators return when they compare two values?
What do relational operators return when they compare two values?
A Boolean result (True or False)
What does the operator check?
What does the operator check?
If the first value is smaller than the second
What does the operator check?
What does the operator check?
If the values are different
What is the difference between and in programming?
What is the difference between and in programming?
compares, assigns
In ASCII ordering, which type of character comes first?
In ASCII ordering, which type of character comes first?
Numbers (0-9)
Why is 'Apple' 'Banana' true?
Why is 'Apple' 'Banana' true?
A comes before B in ASCII
Why is 'cat' 'Cat' true?
Why is 'cat' 'Cat' true?
Lowercase c has higher ASCII value
Why is '123' 'ABC' true?
Why is '123' 'ABC' true?
Numbers come before letters in ASCII
What does the operator check?
What does the operator check?
First value is bigger or equal to second
Which statements commonly use relational operators?
Which statements commonly use relational operators?
if...else and while loops
If count = 31, what does (count 50) return?
If count = 31, what does (count 50) return?
True
