Decision Structure Flashcards
What is a control structure?
A logical design that controls the order in which a set of statements execute.
What is a sequence structure?
A set of statements that executes the order in they appear
Diamond symbol in flowchart
some condition must be tested.
one alternative path of execution
single alternative decision structure.
the expressions that are tested by if statements is called
Boolean expressions.
What is a relational operator?
It determines weather a specific relationship exists between two values,
if else statement
It will execute one block of statement if the condition is true and another if the condition is false
two possible paths of execution
dual alternative decision structure.
A-Z
65-90
a-z
97-122
0-9
48-57
blank space
32
What does logical operators ‘and’ ; ‘or’ allow you to do?
connect multiple Boolean expressions to create a compound expression.
Both “and” and “or” perform what?
short circuit evaluation
Boolean values references what?
Two values : True or False