null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
21271040
Multiple Choice Questions
Description
Quiz on Multiple Choice Questions, created by Aparna Dhirde on 13/03/2020.
No tags specified
xi
Quiz by
Aparna Dhirde
, updated more than 1 year ago
More
Less
Created by
Aparna Dhirde
over 4 years ago
56
0
0
Resource summary
Question 1
Question
A loop that never ends is called a:
Answer
Continue loop
Infinite loop
Circle loop
None of these
Question 2
Question
Which of the following loop will continue infinitely?
Answer
while O:
while 1:
while :1:
while False:
Question 3
Question
We can go back to the start of the loop by using __________
Answer
loop
back
start
continue
Question 4
Question
The two types of loops used in Python are:
Answer
for
while
do while
Both for & while
Question 5
Question
Which of the following is a valid for loop in Python?.
Answer
for(i=0; i < n; i++)
for i in range(0,5):
for i in range(0,5)
for i in range(5)
Question 6
Question
Which of the following sequences would be generated by the given line of code? range (5,0,-2)
Answer
5 4 3 2 1 0 -1
5 4 3 2 1 0
5 3 1
None of the above
Question 7
Question
When does the else statement written after loop executes?.
Answer
When break statement is executed in the loop
When loop condition becomes false
Else statement is always executed
None of the above
Question 8
Question
for loop in python are work on
Answer
range
iteration
Both of the above
None of the above
Question 9
Question
For loop in python is……..
Answer
Entry control loop
Exit control loop
Simple loop
None of the above
Question 10
Question
To break the infinite loop , which keyword we use ?
Answer
continue
break
exit
None of the above
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
2015 - BST - Section I
lydia le
ECON20332
namra_amer
Social and Developmental Psychology
Rosina Brunsden
HSC Business Studies - 2015 Multiple Choice Questions
Daniel Miller
1_HSC Business Studies - 2015 Multiple Choice Questions
Daniel Miller
Social and Developmental Psychology
Rosina Brunsden
Basic Grammer Test
Akash P
CHEMISTRY C1 1
x_clairey_x
The First, Second, Third and Fourth Crusades
adam.melling
Meteorologia II
Adriana Forero
TISSUE TYPES
Missi Shoup
Browse Library