Python String
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Hard
Wooihaw Tan
Used 16+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What character will be printed on the screen after running this Python code:
a
l
L
Nothing is printed
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What character will be printed on the screen after running this Python code:
r
u
a
Nothing is printed
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What output will this Python code produce?
Kuala Lumpur
11
12
x
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What output will this Python code produce?
M
s
Msl
Mly
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider this statement:
print(r'foo\\bar\nbaz')
Which of the following is the correct REPL output?
foo\bar\nbaz
foo\bar
baz
foo\\bar\nbaz
foo\\barnbaz
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following Python codes produce the following output (you can select multiple answers)?
I haven't eaten all day and I don't feel hungry.
print("I haven't eaten all day and I don't feel hungry")
print('I haven't eaten all day and I don't feel hungry')
print('I haven\'t eaten all day and I don\'t feel hungry')
print('I haven"t eaten all day and I don"t feel hungry')
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
Weekly Quiz 1
Quiz
•
4th Grade - Professio...
10 questions
2024 Risk Identification Exercise Quiz
Quiz
•
Professional Development
11 questions
Roblox
Quiz
•
Professional Development
10 questions
Open House Coaching Session
Quiz
•
Professional Development
11 questions
The Loud House
Quiz
•
Professional Development
11 questions
Ω Deliveries 3
Quiz
•
Professional Development
10 questions
Virtual Training CFU
Quiz
•
Professional Development
10 questions
Lietuvos geografija ir gamta
Quiz
•
Professional Development
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 Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
