Python Loops

Quiz
•
Computers
•
9th - 11th Grade
•
Medium

Helen Dinsmore
Used 865+ times
FREE Resource
12 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
45 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
Which of the following is an acceptable variable name?
no-text
8text
no_text
no_text$
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
10 questions
Struktur Kontrol Perulangan

Quiz
•
10th - 11th Grade
17 questions
1 OCR GCSE Computer Science - Fetch Decode Execute

Quiz
•
10th - 11th Grade
14 questions
9.1.5 - Starter Quiz

Quiz
•
7th - 11th Grade
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
12 questions
Intro to Scratch 2

Quiz
•
KG - University
12 questions
Sequencing, Selection and Iteration

Quiz
•
8th - 10th Grade
10 questions
Programming Basics

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade