Python Marathon (Difficult Round)
Quiz
•
Professional Development
•
1st - 6th Grade
•
Practice Problem
•
Hard
Reymann Zubieta
Used 5+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the output of the following code?
P is present
P is present Not present
Not present
None of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
After execution of the following code, what is the value of s?
foofoofoobarbarbarfoobar
3foo3bar1foo1bar
foobarfoobar
2foo2bar1foo1bar
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
You have a set s defined as follows:
s = {100, 200, 300}
Which one of the following statements DOES NOT correctly produce the union of s and the set {300, 400, 500}:
s.union(set([300, 400, 500]))
s | [300, 400, 500]
s.union({300, 400, 500})
s | {300, 400, 500}
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which of the following prints “Hello world\”?
print("Hello world\")
print("Hello world","\")
print("Hello world\\")
All of the above
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the output of the following function call?
5
15
(15, 10)
(5, 10)
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
Фокстрот :)
Quiz
•
1st - 5th Grade
10 questions
WSHMCI-Mandarin
Quiz
•
1st Grade
10 questions
Nutrition
Quiz
•
5th Grade
10 questions
Company Commanders Quiz of the Week
Quiz
•
1st - 12th Grade
10 questions
IN - ON - AT
Quiz
•
3rd Grade
10 questions
REVIVE AT CYCLE MEETING
Quiz
•
1st Grade
10 questions
Penerapan Sistem Radio dan TV
Quiz
•
2nd Grade
9 questions
Less than Truckload
Quiz
•
1st - 3rd 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
Discover more resources for Professional Development
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
