
Python Marathon (Easy Round)
Authored by Reymann Zubieta
Professional Development
1st - 6th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following operators are not allowed in Strings?
+
-
*
==
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Give the output of the following code:
ytho
tho
pytho
thon
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the following code?
['Guess ', 'he ou', 'pu', ' of ', 'his code']
['Guess t', 'he out', 'put', ' of t', 'his code']
['Guess ', 'the ou', 't pu', 't of ', 'this code']
NameError
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function can add elements to the end of a list?
.add()
.insert()
.append()
.update()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following can be an output of the combination of comparison and arithmetic operators?
<int>
<bool>
<float>
All the above
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Give the output of the following code:
Rob
Sansa
Bran
Rickon
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following gives the output as False?
print('abc'>'aBc')
print('123334'>'2111')
print('xyz'>'wxyz')
Both a and c
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?