programming chapter 3

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

or

A compound Boolean expression created with the operator is true if either of its subexpressions is true.

and

A compound Boolean expression created with the operator is true only if both of its subexpressions are true.

flag

A is a Boolean variable that signals when some condition exists in the program.

decision

A structure can execute a set of statements only under certain circumstances.

single alternative

A structure provides one alternative path of execution.

Boolean

A(n) expression has a value of either True or False.

dual alternative decision structure

A(n) structure tests a condition and then takes one path if the condition is true, or another path if the condition is false.

not

The operator takes a Boolean expression as its operand and reverses its logical value.

relational

The symbols >, <, and == are all operators.

if-else

You use a(n) statement to write a dual alternative decision structure.

if

You use a(n) statement to write a single alternative decision structure.

logical

and, or, and not are operators.


Ensembles d'études connexes

principles of microeconomics final exam- horton

View Set

Chapter 13 : The Basics of Finance

View Set

Earth Science Solar System Quiz Review

View Set

Chapter 5: Instrumental Conditioning: Foundations

View Set