
Prelab Activities
Review
The physical order of a program is the order in which the statements are listed. The
logical order of a program is the order in which the statements are executed. In this
chapter, you learn to ask questions in your program and change the order in which the
statements are executed depending on the answers to your questions.
Boolean Data Type
To ask a question in a program, you make a statement. If your statement is true, the
answer to the question is yes. If your statement is not true, the answer to the question
is no. You make these statements in the form of Boolean expressions. A Boolean
expression asserts (states) that something ...