Python Loops

Quiz
•
Other
•
Professional Development
•
Hard

Ajay Tech
Used 1K+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The program above
prints all the odd numbers between 1 and 20
prints all even numbers between 1 and 20
print all the odd numbers between 1 and 21
prints all the even numbers between 1 and 21
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The equivalent of the above for loop using the while syntax would be
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The above program prints
Numbers 1 to 10 in reverse order
Numbers 1 to 11 in reverse order
Numbers 1 to 10
Numbers 1 to 11
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The program above prints
Numbers between 1 and 100 that are multiples of 5
Numbers between 1 and 100
Numbers between 1 and 100 divisible by 5
Numbers between 1 and 101 that are multiples of 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code above prints all numbers between 1 and 30 that are
not divisible by 5
divisible by 5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The program above prints the sum of
all odd numbers less than 100
all even numbers less than 100
all numbers less than 100
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The program above prints the sum of all the numbers between 0 and 101 that are
alternate odd numbers
alternate even numbers
alternate numbers
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
VLSI - Mock Test

Quiz
•
Professional Development
20 questions
GST Quiz

Quiz
•
Professional Development
10 questions
Python Loop Statements

Quiz
•
Professional Development
20 questions
Python-Looping

Quiz
•
7th Grade - Professio...
16 questions
Quizzizz

Quiz
•
KG - Professional Dev...
10 questions
Sosialisasi JKN

Quiz
•
Professional Development
10 questions
STEM Innovator® Analyzing Data Terms

Quiz
•
9th Grade - Professio...
14 questions
Government Accounting

Quiz
•
Professional Development
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