
String Operators in Python
Authored by Mr. So
Computers
8th Grade
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code:
print ("Hello " + "World")
What is printed?
Hello World
Hello + World
an error message
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code:
print ("a"+"b"+"c")
What is printed?
an error message
6
abc
a+b+c
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the str() command do?
makes things strong
converts whatever is inside the parentheses to a string
converts whatever is inside the parentheses to a number
does nothing
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code:
print ("hi" * 3)
What is printed?
hi3
hi*3
hihihi
an error message
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code:
print ("hi" + str(3))
What is printed?
hi + str(3)
hi3
hi"3"
an error message
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code:
print ("I am " + 13 + " years old.")
What would be printed?
I am 13 years old
I am years old
13
an error message
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
CodeTigers Python 101
Quiz
•
KG - Professional Dev...
10 questions
Sweet Home 3D
Quiz
•
8th Grade
10 questions
Tech Vocab SET 8: Digital Art & Animation
Quiz
•
6th - 8th Grade
10 questions
Python - kl. 8
Quiz
•
7th - 12th Grade
10 questions
Revision Quiz 2 - Information Technology
Quiz
•
7th - 8th Grade
10 questions
PENGENALAN PERANGKAT LUNAK PENGOLAH ANGKA
Quiz
•
8th Grade
10 questions
Programming Basics
Quiz
•
8th Grade
11 questions
Execl Quiz
Quiz
•
7th Grade - 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
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