Python Loops

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Tina Fountain
Used 73+ times
FREE Resource
27 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
When do you know when you come to the end of the loop?
Its states End loop
The command End is given
The indentation stops
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
if you wished a loop to repeat 3 types whwt should you use?
For counter in range(0,5):
For counter in range(1.3):
For counter in range(0.3):
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the name of the variable used in the following code?
counter
for
#
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
Python тілінде циклдар

Quiz
•
9th - 12th Grade
22 questions
Fundamentals of Programming (GCSE Computer Science AQA)

Quiz
•
9th - 11th Grade
27 questions
Python Program Error Identification Quiz

Quiz
•
9th Grade - University
22 questions
Loops Quiz

Quiz
•
11th Grade
23 questions
Unit 2 Quiz review

Quiz
•
12th Grade
24 questions
Year 5 Computing Summer End-Term Assessment

Quiz
•
5th Grade - University
25 questions
Python - Chpt 4 - Review

Quiz
•
9th - 12th Grade
25 questions
Unit 4 Assessment Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade