1. What are the three types of execution we have talked about?
Sequential Execution
Conditional Execution
Repeated Execution
2. What is the syntax of an if statement without an else?
if (condition)
statement
3. What is guaranteed to happen in a do-while loop that is not guaranteed
to happen in a while loop?
In a do-while loop, the body of the loop will be executed at least once since
the condition is not tested until after the body of the loop is executed. In a while
loop the condition is tested first so we are not guaranteed that the body of the
loop will be executed.
4. What is the syntax of a for statement?
for (statement1;condition;statement2) {
statements
}