0 of 10 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 10 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
What is the purpose of a WHILE loop in Python?
Which of the following correctly initialises a WHILE loop in Python?
Write the correct Python keyword used to create a while loop.
Fill in the blank.
A WHILE loop will continue running as long as the is true.
Write a single line of code that will create a WHILE loop that runs as long as x is less than 10.
Which of the following statements about WHILE loops are correct? (Select two)
Which of the following are common mistakes when writing a WHILE loop? (Select two)
What will happen if the condition in a WHILE loop is never false?
Which of the following best describes a condition-controlled loop?
What is the best way to ensure a WHILE loop stops running?