IGCSE Algorithms And Pseudocode Foundations For G8 Practice Exam

Access More Questions
Which term is used for values that can be either true or false?
Correct Answer:
Boolean
Explanation:
Boolean values are the data type used for true/false states. The term for values that can be either true or false is Boolean. Booleans are essential for decisions and control flow in programs, such as deciding which branch of code to run in an if statement or whether a loop should continue. A Boolean variable holds either true or false, like a flag isRaining that is true when it’s raining and false otherwise. In contrast, a String stores text, a Sequence is an ordered collection, and Totalling is about adding numbers, not describing a truth value.

Access more questions from this quiz

Continue to IGCSE Algorithms and Pseudocode Foundations for G8 Practice Exam for more practice questions and the full quiz experience.

Access More Questions