String Operators in Python
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Mr. So
Used 25+ times
FREE Resource
Enhance your content in a minute
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
Similar Resources on Wayground
10 questions
Python линейные алгоритмы
Quiz
•
8th Grade
10 questions
AppLab
Quiz
•
6th - 8th Grade
10 questions
Computer
Quiz
•
6th - 12th Grade
11 questions
02/22 Computer Applications Review
Quiz
•
8th Grade
10 questions
Year 7 Python Lesson 1 Recap
Quiz
•
8th Grade
10 questions
Shortcuts
Quiz
•
5th - 10th Grade
10 questions
UTK - test
Quiz
•
KG - University
10 questions
Python. Умовні оператори
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
