What is the output of print("Hello" + " " + "World")?

python revision

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
G Kelly
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hello World
HelloWorld
"Hello World"
Hello + World
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 5 + 3 * 2?
16
11
13
10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given name = "Alice" and age = 15, what is the output of print("My name is " + name + " and I am " + str(age) + " years old.")?
My name is Alice and I am 15 years old.
My name is "Alice" and I am "15" years old.
My name is Alice and I am "15" years old.
Error: cannot concatenate str and int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
fruits = ["apple", "banana", "cherry"]
print(fruits[1])
apple
banana
cherry
["apple", "banana", "cherry"]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does len(fruits) return in the code below?
fruits = ["apple", "banana", "cherry"]
2
3
4
error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output for the following code:
x = 10
if x > 5:
print("x is greater than 5")
else:
print("x is not greater than 5")
x is greater than 5
x is not greater than 5
No output
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the following code:
for i in range(3):
print("Python is fun!")
Python is fun! (printed once)
Python is fun! (printed twice)
Python is fun! (printed three times)
Error
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code:
print("Hello, World!"[7:])
Hello
World!
, World!
Hello World
Similar Resources on Quizizz
12 questions
python

Quiz
•
9th - 10th Grade
10 questions
python quiz

Quiz
•
6th Grade - Professio...
10 questions
Python Basics Quiz

Quiz
•
7th Grade - University
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
13 questions
Python Level 1 Quiz

Quiz
•
10th - 11th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
12 questions
Python

Quiz
•
7th - 9th Grade
13 questions
Python Recap Challenge

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade