
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
kiểm tra tin học 8
Quiz
•
8th Grade
11 questions
Python тіліндегі сызықтық алгоритмдерде өрнектерді және функциял
Quiz
•
8th Grade
10 questions
Avaliação Pensamento Computacional - Prático
Quiz
•
1st Grade - Professio...
10 questions
Variables and Data Types
Quiz
•
3rd - 10th Grade
11 questions
nudos|tejiendo|enlace
Quiz
•
1st - 10th Grade
11 questions
درس التقارير- Ms Access
Quiz
•
8th Grade
10 questions
What is the Icon?
Quiz
•
KG - 12th Grade
10 questions
8 сынып, цикл операторлары
Quiz
•
8th 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