Python Loops

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Tina Fountain
Used 89+ 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
23 questions
GCSE Python Programming Basics

Quiz
•
11th Grade
30 questions
T-Level DPDD: Iteration Programming Concepts Quiz

Quiz
•
11th Grade
22 questions
AP CSA Primitive Types Practice

Quiz
•
11th Grade
22 questions
C# start

Quiz
•
11th - 12th Grade
24 questions
Python Basics Unit 3.1

Quiz
•
12th Grade
23 questions
Unit 2 Quiz review

Quiz
•
12th Grade
25 questions
Penilaian Harian Bahasa Kotlin SMT 1 2023

Quiz
•
11th Grade
30 questions
[AP CSP] Midterm Review (Semester 1)

Quiz
•
9th - 12th 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
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th 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