Class-XI_IP_Python
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Preeti Vig
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for conditional branching in Python?
select
case
if
choose
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
x = 4
while x < 6:
print(x)
x += 1
4
4 5
Infinite loop
5 6
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output for the following code-
for i in range(2):
print(i, end=" ")
0 1
1 2
0 1 2
1
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is output of the following code-
for i in range(1, 10, 3):
print(i, end=" ")
1 2 3 4 5 6 7 8 9
1 3 5 7 9
1 4 7
3 6 9
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output for the following code-
x = 7
if x % 2 == 0:
print("Even")
else:
print("Odd")
Even
Odd
Error
None
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following loop-
for i in range(3):
print("Hello", i)
Hello Hello Hello
Hello 1 Hello 2 Hello 3
Hello 0 Hello 1 Hello 2
Error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following will print numbers from 10 to 1?
range(10, 1)
range(1, 10, -1)
range(10, 0, -1)
range(0, 10, -1)
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
10 questions
KUIS Analisis Data
Quiz
•
11th Grade
10 questions
Avaliação 1T - JavaScript
Quiz
•
9th - 12th Grade
15 questions
Информатика
Quiz
•
9th - 11th Grade
10 questions
Bài tập Tin học lớp 4
Quiz
•
1st - 12th Grade
15 questions
THỬ THÁCH VỚI CHƯƠNG TRÌNH CON
Quiz
•
11th Grade
14 questions
K10 - WHILE
Quiz
•
11th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
11 questions
CAPÍTULO 1 NETWORKING ESSENTIALS
Quiz
•
1st - 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
