Define Control Structures.
What will be an ideal response?
1. Define the three control structures that are sufficient to write any program.
2. Show the syntax of the C++ selection statements: if, if-else, and switch.
3. Define the syntax of the C++ repetition statements: while, for, and do-while.
4. Present relational, equality, and logical operators and demonstrate their use in conditions.
5. Discuss the construction of nested and multiple-alternative if statements.
6. Demonstrate how to hand-trace a program that contains a decision.
7. Show how compound statements can be nested within selection statements.
8. Present the implementation of a multiple-alternative decision as a switch statement.
You might also like to view...
________ themes determine how the backgrounds, text, and hyperlinks appear on a SharePoint Online site
A) Page B) Font C) Color D) Site
An Access field property that limits the number of characters that can be typed into a text or number field
a. Character limit b. Character size c. Field size