Week 3 Flashcards
Data type for logical high and low data values (i.e., true or false)?
Bool
Value 0 evaluates as which Boolean value?
False
Value of anything other than zero evaluates as which Boolean value?
True
Order in which statements are executed in a program is referred to as?
The flow of control
The ordinary flow of control is?
Sequential
A statement used to alter the ordinarily sequential flow of control?
Control structure
An expression used by a control structure to determine the flow of control?
Branching condition
Control structure used to change flow of control between different alternatives?
Selection or branching
A statement of data values compored using logical operators is known as?
Logical expression, or assertion
Characteristics of the bool data type?
It holds only true or false, which are constants, and reserved words
Operators used to compare values in relational expressions are known as?
Relational operators
Relational operator == checks for?
Equality between to values
Relational operator != checks for?
Inequality between two values
Relational operator > checks for?
Greater than relationship
Relational operator < checks for?
Less than relationship
Relational operator => checks for?
Greater than or equal to