FOR Loops Python
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Louise Lockwood
Used 159+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code, what will it generate
1,2,3,4,5,6,7,8,9,10,11,12
0,1,2,3,4,5,6,7,8,9,10,11,12
1,2,3,4,5,6,7,8,9,10,11,12,13
0,1,2,3,4,5,6,7,8,9,10,11,12,13
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following program display?
1,2,3,4
1,2,3,4,5
counter,counter,counter,counter,counter
0,1,2,3,4,5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1,2,3,4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the name of the variable used in the following code?
counter
for
#
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The character that must be at the end of the line for if, while, for etc.
;
+
\;
:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, what is iteration?
The repetition of steps within a program
A decision point in a program
The order in which instructions are carried out
Testing a program to make sure it works
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is i ?
a while loop
a variable
iteration
a loop
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
13 questions
Melody Tone
Quiz
•
9th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
