(Will not necessarily make sense outside of the lecture) Multiple Choice 1. A __________ structure can execute a set of statements only under certain circumstances. a. sequence b. circumstantial c. decision d. Boolean 2. A __________ structure provides one alternative path of execution. a. sequence b. single alternative decision c. one path alternative d. single execution decision 3. A(n) __________ expression has a value of either true or false. a. binary b. decision c. unconditional d. Boolean != == 4. The symbols and are all __________ operators. a. relational b. logical c. conditional d. ternary 5. A(n) _________ structure tests a condition and then takes one path if the condition is true, or another path if the condition is false. a. statement if b. single alternative decision c. dual alternative decision d. sequence 6. You use a(n) __________ statement to write a single alternative decision structure. a. test-jump b. if c. if-else d. if-call 7. You use a(n) __________ statement to write a dual alternative decision structure. a. test-jump b. if c. if-else d. is measured in pounds and height is measured in inches. if-callweight
(Will not necessarily make sense outside of the lecture) Multiple Choice 1. A __________ structure can execute a set of statements only under certain circumstances. a. sequence b. circumstantial c. decision d. Boolean 2. A __________ structure provides one alternative path of execution. a. sequence b. single alternative decision c. one path alternative d. single execution decision 3. A(n) __________ expression has a value of either true or false. a. binary b. decision c. unconditional d. Boolean 4. The symbols != and == are all __________ operators. a. relational b. logical c. conditional d. ternary 5. A(n) _________ structure tests a condition and then takes one path if the condition is true, or another path if the condition is false. a. if statement b. single alternative decision c. dual alternative decision d. sequence 6. You use a(n) __________ statement to write a single alternative decision structure. a. test-jump b. if c. if-else d. if-call 7. You use a(n) __________ statement to write a dual alternative decision structure. a. test-jump b. if c. if-else d. if-callweight is measured in pounds and height is measured in inches.
hncu112_lecture05_quiz.docx