WorksheetsCSP I: Unit 4 – Lessons 5-8 (Conditionals)
Total questions: 10
Worksheet time: 5mins
A data type that is either true or false.
Conditional Statement
Boolean Value
Comparison Operators
Logical operator
Affects the sequential flow of control by executing different statements based on the
value of a Boolean expression.
Conditional Statement
Boolean Value
Comparison Operators
Logical operator
What are these examples of?
Conditional Statement
Boolean Value
Comparison Operators
Logical Operators
What is this an example of?
Conditional Statement
Boolean Value
Comparison Operators
Logical operator
What are these examples of?
Conditional Statement
Boolean Value
Comparison Operators
Logical operator
Which logical operator checks if two conditions are true?
AND
OR
NOT
EQUAL
Which logical operator checks if either of two or more values is true?
AND
OR
NOT
EQUAL
Which logical operator checks if a value is not true?
AND
OR
NOT
EQUAL
What operator is this?
It tests whether two values are equal. Returns true if the value on the left-hand side of the expression equals the value on the right-hand side.
AND
NOT
OR
Equality
What is the name of the mathematician who helped establish Boolean values and expressions?
Gregory Boole
George Boolean
George Boole
Gregory Boolean
