
Python Strings
Authored by Elaine Cortez
Computers
University
CCSS covered
Used 304+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello world!")
SyntaxError
Hello world!
"Hello world!"
print(Hello world!)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("12"*3)
What would this print?
36
121212
24
12*3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("3+4")
7
3+4
34
SyntaxError
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
Print("Hello world!")
NameError
Hello world!
"Hello world"
Print(Hello world!)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello" + "world" + "today")
Helloworldtoday
Hello world today
"Hello" "world" "today"
SyntaxError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print(Hello world!)
Hello world!
SyntaxError
Hello world
print(Hello world!)
Tags
CCSS.L.2.2C
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello world!\nHello world!")
Hello world! Hello world!
Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!
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?