Chapter 6 C++

12345678910111213141516171819
Across
  1. 4. It is important to desk-check an algorithm several times using different ________ data.
  2. 6. type of selction structure that is placed inside of another selection structure
  3. 9. A program that displays a message based on a letter grade that the user enters would require a(n) ____ selection structure.
  4. 11. A nested selection structure is contained within the ____ selection structure.
  5. 12. If the default clause is not the last clause in the switch statement, you will need to include a ____ statement at the end of the clause to stop the computer from processing the instructions in the next case clause.
  6. 13. Between the switch statement’s opening and closing braces are the individual ____ clauses.
  7. 14. Multiple-path selection structures are also referred to as ____ selection structures.
  8. 16. A common source of logic errors in selection structures is using a _____________ operator rather than a nested selection structure.
  9. 19. The flowchart symbol for the switch form of the selection structure is the ____.
Down
  1. 1. In a flowchart, the switch diamond contains an expression whose ___________ determines which path is chosen.
  2. 2. An algorithm can be written in ______________ or it can be depicted by a flowchart.
  3. 3. A common source of logic errors in selection structures is using an __________________ nested selection structure.
  4. 5. In C++, you use the ____ statement to code the switch form of the selection structure.
  5. 7. When using nested selection structures, the secondary decision is always made by the ____ selection structure.
  6. 8. It is a good programming practice to document the end of the switch statement with the //end switch _________.
  7. 10. a set of step-by-step instructions that accomplish a task.
  8. 15. You use the selection structure when you want a program to make a decision or comparison and then select one of two paths, depending on the result of that __________________.
  9. 17. In a flowchart, the switch symbol has ____ flowline(s) leading into the symbol.
  10. 18. When you use the ____ logical operator to combine two conditions in a selection structure, both conditions must be true for the compound condition to be true.