Assessment - for loop in Python

Quiz
•
Computers
•
11th - 12th Grade
•
Medium
DHIVYA ANOOP
Used 17+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
FOR loops are
loops which run an unknown number of times
loops which run for a specific number of times
the same as if statements
not part of programming
2.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What are the values that can be seen in the output?
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
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
3.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
what is the name of the variable used in the following code?
counter
for
#
4.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What type of loop is used when you know how many times you want to repeat something?
while loop
for loop
if statement
a variable
5.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Choose the set of values of i that will be displayed on the screen.
for i in range(1,6):
print(i*2)
2,4,6,8,10
1,2,3,4,5
1,2,3,4,5,6,
2,4,6,8,10,12
6.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Predict the output of the given code:
Similar Resources on Wayground
10 questions
Pseudocode WHILE Loops

Quiz
•
10th - 12th Grade
10 questions
PRLD - Looping

Quiz
•
12th Grade
11 questions
Computing Creative Design Quiz

Quiz
•
2nd Grade - University
8 questions
For Loop Quiz

Quiz
•
11th Grade
9 questions
Unit 5 -- Lists, Loops, Traversals

Quiz
•
9th - 12th Grade
10 questions
Collecting Treasure with Laurel: Lesson 3

Quiz
•
6th Grade - University
10 questions
Python Basic files

Quiz
•
10th - 12th Grade
10 questions
Python with DataScience

Quiz
•
7th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade