Quiz
INFO L06 (w03-2) - Control Flow - WHILE
Questions in this quiz (5)
1Which of the following in place of the [blank] would cause an infinite loop?

- ABreak
- BContinue
- CPass
- DNone of the above.
2Which of the following in place of the [blank] would cause an infinite loop?

- ABreak
- BContinue
- CPass
- DNone of the above
3Which of the following in place of the [blank] would have an output that includes the number 7?

- ABreak
- BContinue
- CPass
- DNone of the above
4'break' is a valid term in:
- A'if' loops
- B'while' loops
5'pass' is a valid term in:
- A'if' loops
- B'while' loops
Information
- Description
- Week 03: Control Flow 1: Branching and Looping Lecture 06: Control Flow 1 - WHILE subtitle: Using a 'while' loop; break note: No quiz necessary for L05 (w05-1) 'IF'
- Author
- Michael Jardine
- Language
- English
- Views
- 50
- Tags
- Rating
- No ratings yet Rate this quiz