CSCI 316: Quiz 8 - Statement-Level Control Structures
Sign in to Google to save your progress. Learn more
Email *
Last Name *
First Name *
Student Id *
What is the primary purpose of statement-level control structures? *
1 point
Which characteristic most distinguishes selection statements from iterative statements? *
1 point
A two-way selection statement typically depends on which construct? *
1 point
What is a major design issue for selection statements in programming languages? *
1 point
Which language feature allows a selection statement to execute more than two alternatives? *
1 point
What problem can arise in switch statements if a break mechanism is omitted? *
1 point
Which design issue is specific to switch-style selection statements? *
1 point
In most imperative languages, what type is required for an if-statement condition? *
1 point
What distinguishes an iterative statement from a recursive construct? *
1 point
Which loop type tests its controlling expression before executing the loop body? *
1 point
What is the main semantic difference between entry-controlled and exit-controlled loops? *
1 point
Which loop construct is best suited for a known number of iterations? *
1 point
A loop variable in a for statement is often called a: *
1 point
What is a key design issue for counting loops? *
1 point
What may happen if the loop control variable is modified inside the loop body? *
1 point
Which construct provides a general mechanism for repetition using Boolean expressions? *
1 point
What is the primary advantage of iterator-based loops? *
1 point
Which language feature commonly supports iterator-based loops? *
1 point
Which statement provides an explicit transfer of control? *
1 point
Why are unconditional branching statements generally discouraged? *
1 point
Which structured alternative reduces the need for goto? *
1 point
What is a guarded command? *
1 point
What advantage do guarded commands offer over traditional if-else chains? *
1 point
What happens if a loop’s Boolean control expression never becomes false? *
1 point
Which design issue affects both selection and iteration constructs? *
1 point
Which construct allows repetition without explicit Boolean tests in the loop header? *
1 point
What often determines when a for loop terminates? *
1 point
Which feature improves safety in loop design? *
1 point
What is a common restriction on switch statement case labels? *
1 point
Which of the following best characterizes structured programming? *
1 point
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report