Python - Iteration (For Loops)

Quiz
•
Computers
•
10th Grade
•
Hard

Marc Hoy
Used 279+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
nothing at all
dude
dude, 4 times
dude, 6 times
dude, 3 times
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is the "i"
a while loop
a variable
iteration
a loop
random letter
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is "range"?
a function
a variable
iteration
a loop
selection
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is "for"?
a function
sequence
iteration
a while loop
selection
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, how would the code need to be changed, to print "dude" 10 times?
change the "dude", to a 10
change the 4, to a 10
change the for, to a while
change the 4, to an 11
change the print to an input()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed?
1,2,3,4
2,3,4,5
1,1,1,1
1,2,3
0,1,2,3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed?
Nothing
5, 6, 7, 8, 9
1, 2, 3, 4, 5
1, 1, 1, 1, 1
5, 6, 7, 8, 9, 10
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Python - Chpt 4 - Review

Quiz
•
9th - 12th Grade
20 questions
AQA GCSE Computer Science Paper 1

Quiz
•
9th - 11th Grade
20 questions
AP Computer Science A Final Review

Quiz
•
10th Grade
20 questions
Computer Science Vocab 1

Quiz
•
9th - 12th Grade
20 questions
Python Functions Part3 Week11

Quiz
•
10th Grade
20 questions
3B - AP CSP

Quiz
•
9th - 12th Grade
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
15 questions
Tipos de computadores e periféricos

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade