GoConqr has a new look! Let us know what you think.

Quiz

INFO L06 (w03-2) - Control Flow - WHILE

Michael Jardine 5 questions

Take the quiz

Questions in this quiz (5)

  1. 1Which of the following in place of the [blank] would cause an infinite loop?Image for question 1
    1. ABreak
    2. BContinue
    3. CPass
    4. DNone of the above.
  2. 2Which of the following in place of the [blank] would cause an infinite loop?Image for question 2
    1. ABreak
    2. BContinue
    3. CPass
    4. DNone of the above
  3. 3Which of the following in place of the [blank] would have an output that includes the number 7?Image for question 3
    1. ABreak
    2. BContinue
    3. CPass
    4. DNone of the above
  4. 4'break' is a valid term in:
    1. A'if' loops
    2. B'while' loops
  5. 5'pass' is a valid term in:
    1. A'if' loops
    2. 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'
Language
English
Views
50
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?