Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does the operator '==' check?
Think of it as testing equality.
What will '7 != 5' evaluate to?
Consider how these numbers compare.
What does 'a == b' evaluate to?
Consider whether the two values are the same.
True or False: '4 > 3 returns True'
Remember the concept of greater than.
Given two variables x = 7 and y = 12, write a condition that checks whether x is less than y and also y is greater than 10.
Use logical operators to connect your comparisons.
Write a boolean expression that checks whether variable a is not equal to 7 or less than 3.
Think about how non-equality can impact your condition.
7 more questions in this section. Enroll free to practise them all.
Enroll free