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
9 questions
Python Graphs

Quiz
•
Professional Development
15 questions
We - THE DATA SCIENTISTS !

Quiz
•
Professional Development
13 questions
Introduction to Data Visualization

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
12 questions
JS Loops

Quiz
•
Professional Development
10 questions
#Sg_Spaic Last season Quiz (ML and Python)

Quiz
•
KG - Professional Dev...
10 questions
ฟังก์ชั่นพื้นฐานของ Arduino

Quiz
•
Professional Development
11 questions
Spring Semester DE Orientation

Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade