Python Loop Statements

Quiz
•
Other
•
Professional Development
•
Hard
btechsmartclass .com
Used 175+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The loop statements are used to ____________.
Make a decision
execute the same code repeatedly
to jump from one line to another
to perform IO operations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the code?
Hello
Error
Hello for infinite times
prints nothing
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select the iterative statements in python.
while
if
for
do-while
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for loop in python works on _____________.
range
iterable data
both range and iterable data
any data
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select the statements that check condition in python
while
for
do-while
if
elif
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
1 2 3 4
1 2 3 4 5
1
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used to comeout come out of a loop?
exit
continue
break
all the bove
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Basics

Quiz
•
Professional Development
12 questions
JS Loops

Quiz
•
Professional Development
5 questions
KM | W11D2

Quiz
•
Professional Development
11 questions
Spring Semester DE Orientation

Quiz
•
Professional Development
10 questions
About Me

Quiz
•
Professional Development
15 questions
Plumbing

Quiz
•
Professional Development
6 questions
Pyweek Day 0

Quiz
•
Professional Development
9 questions
Python Functions

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade