
Round 3
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
San Saravanan
Used 1+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the purpose of the 'if name == "__main__":' statement?
To allow code to run only when the script is executed directly, not when imported.
To define global variables for the entire script.
To prevent syntax errors in the code.
To ensure the script runs faster when imported.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the following Python expression?
round(4.576)
4
4.6
5
4.5
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output of the following Python program?
x = 'abcd'
for i in range(len(x)):
print(i)
0 1 2 3
1 2 3 4
a b c d
error
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output of the following Python code?
1 2 3
123
error
none of the mentioned
5.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
What will be the output of the following Python code?
225
15
25
125
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output of the following Python program?
{‘a’, ‘c’, ‘c’, ‘p’, ‘q’, ‘s’, ‘a’, ‘n’}
{‘abc’, ‘p’, ‘q’, ‘san’}
{‘a’, ‘b’, ‘c’, [‘p’, ‘q’], ‘san}
{‘a’, ‘b’, ‘c’, ‘p’, ‘q’, ‘san’}
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What will be the output of the following Python code snippet?
12
224
None
Error
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
20 questions
Thiết kế trình chiếu PowerPoint (41-60)
Quiz
•
University
20 questions
Fotogrametri dan Penginderaan Jauh
Quiz
•
University
20 questions
Quiz Harian Gdevelop MPK
Quiz
•
University
20 questions
Algoritma Pemrograman
Quiz
•
University
20 questions
Test PKS 1 - Modul 2
Quiz
•
University
20 questions
คอมพิวเตอร์และสารสนเทศการงานอาชีพ 1
Quiz
•
University
20 questions
Digital and Analog transmission
Quiz
•
University
20 questions
Soal AIJ bulan Agustus 2019 kls xii
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
