Python Continued – Lesson 4 Review KS3
Quiz Summary
0 of 10 Questions completed
Questions:
Information
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:
Results
Results
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)
Categories
- Python Continued 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 10
1. Question
What is the main purpose of a FOR loop in Python?
CorrectIncorrect -
Question 2 of 10
2. Question
Which of the following correctly initializes a FOR loop in Python?
CorrectIncorrect -
Question 3 of 10
3. Question
Write the correct Python keyword used to create a FOR loop.
CorrectIncorrect -
Question 4 of 10
4. Question
Fill in the blank:
-
A FOR loop is a type of iteration that is controlled.
CorrectIncorrect -
-
Question 5 of 10
5. Question
Write a single line of code that will create a FOR loop that counts from 1 to 10. Use ‘x’ as the stepper/counting variable.
CorrectIncorrect -
Question 6 of 10
6. Question
Which of the following statements about FOR loops are correct? (Select two)
CorrectIncorrect -
Question 7 of 10
7. Question
Which of the following best describes the function of range(0,10,2) in a FOR loop? (Select two)
CorrectIncorrect -
Question 8 of 10
8. Question
What will the following loop output?
for x in range(5): print(x)CorrectIncorrect -
Question 9 of 10
9. Question
What does the third value in range(start, stop, step) control?
CorrectIncorrect -
Question 10 of 10
10. Question
How many times will the following loop execute?
for x in range(2, 11, 3): print(x)CorrectIncorrect