1/15
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Selection Structure
A control structure used to execute certain statements based on conditions being true or false.
One-way selection
A selection structure where actions are taken based only on a single condition being true.
Two-way selection
A selection structure where different actions are executed based on a condition being either true or false.
Multi-selection
A selection structure that allows the program to choose from multiple actions based on the value of an expression, such as the switch statement.
IF Statement
A statement that executes a block of code if a specified boolean expression evaluates to true.
IF/ELSE Statement
A statement that executes one block of code if a condition is true and another block if the condition is false.
SWITCH Statement
A selection structure that allows execution of different parts of code based on the value of a variable.
Boolean Expression
An expression that evaluates to either true or false.
Relational Operators
Operators that compare two values or expressions and return a boolean value.
Logical Operators
Operators that combine multiple boolean expressions, evaluating them to true or false.
Conditional Execution
The execution of statements based on whether a condition evaluates to true or false.
Assignment Operator
The '=' operator used to assign a value to a variable, different from the equality operator '=='.
True and False
Reserved words in C++ representing the two boolean values; special constants.
Flowchart
A visual representation used to illustrate the flow of the program, particularly for control structures.
Example of IF statement
If average greater than 60, output 'PASSED'.
Logical Expression
An expression that involves variables and operators, evaluated to determine true or false.