Control Statements in Python
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Archana Pataskar
Used 181+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 12 pts
Function range(3) is equivalent to "
range(1,3)
range(0,3)
range(0,3,1)
range(1,3,0)
2.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Consider the following loop given below :
for i in range(5):
print(i)
How many times will this loop run ?
5
0
infinite
Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
for word in "Jump Statement":
if word == "u":
break
print (word, end='')
Jump Statement
Jump
J
Ju
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the output of following code
for word in "Jump Statement":
if word == "e":
continue
print (word, end='')
Jump Statement
Jump Statmnt
Jump
Statmnt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following jump statement is used to terminate the loop?
continue
goto
pass
break
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function is used in python for loop to specify the initial, final and increment values?
range
format
input
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The condition in the statement should be in the form of
Arithmetic r relational expression
Arithmetic or Logical expression
Relational or Logical expression
Arithmetic
Access all questions and much more by creating a free account
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
15 questions
Информатика
Quiz
•
9th - 11th Grade
20 questions
UH1_INFO_XII
Quiz
•
11th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
20 questions
Quiz
•
7th - 12th Grade
20 questions
แบบทดสอบปลายภาคโปรแกรมแอนิเมชัน
Quiz
•
9th - 12th Grade
17 questions
Data Structures: 1D,2D & List
Quiz
•
11th Grade
25 questions
HTML
Quiz
•
11th Grade
20 questions
HISTORY OF COMPUTER_SUMMATIVE 1
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
