python (loops)
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
PRIYANSHU XI-A
Used 35+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 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
20 sec • 1 pt
How many times the following loop will execute:
i = 1
while True:
print(i)
i += 2
0
2,4,6,8,..................
1,3,5,7,9,.............
1,2,4,6,8......................
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
for loop in python works on:
1.range
2.iteration
3.Both of the above
4.None of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
i = 1
while True:
if i%7 == 0:
break
print(i)
i += 1
123456
1234567
error
none
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
i = 1
while False:
if i%2 == 0:
break
print(i)
i += 2
1
1357......
1234......
none of the mentioned
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
x = 123
for i in x:
print(i)
1 2 3
123
error
none of the above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
for i in range(10):
if i == 5:
break
else:
print(i)
else:
print("Here")
01234 Here
012345 Here
01234
12345
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
SHORTCUT PADA KEYBOARD
Quiz
•
10th - 12th Grade
10 questions
Editing Video 1
Quiz
•
11th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
