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 an if statement do?
Think of a pass/fail scenario.
What does the operator '!=' mean?
Consider comparing different scores.
What does the 'if' statement do?
Recall the meaning of decision-making in programming.
The operator '==' checks for equality?
Think about comparing two scores.
Write a program that accepts temperatures and classifies them as hot, warm, or cold using if-else statements.
Consider setting the boundaries for each classification.
Implement a countdown using a while loop, starting from 5.
What condition would let this run until it reaches zero?
6 more questions in this section. Enroll free to practise them all.
Enroll free