Given the following code, what will be the printed output?
Python 1

Quiz
•
Computers
•
9th Grade
•
Hard

Sofia Mesa Giner
Used 87+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python is represented by 🐍
Python is represented by {emoji}
Python is represented by
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code?
🎉5
🎉🎉🎉🎉🎉
Error
🎉🎉🎉🎉🎉
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you print the string "Happy coding! 😊" three times?
print("Happy coding! 😊" * 3)
print("Happy coding! 😊" + 3)
print("Happy coding! 😊", 3)
print("Happy coding! 😊" & 3)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following code, what will be the printed output?
Python is represented by 🐍
Python is represented by {emoji}
Python is represented by 🐍
Python is represented by
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the variable count = 3, how can you print "I have 3 🍎."?
print("I have " + count + " 🍎.")
print(f"I have {count} 🍎.")
print("I have ", count, " 🍎.")
print("I have " & count & " 🍎.")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
print("🍕" * 2 + "🍔")
🍔🍔🍕
🍕🍕🍔
🍕🍔🍔
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly prints the string "I love programming! 🎓" five times?
print("I love programming! 🎓" & 5)
print("I love programming! 🎓" + 5)
print("I love programming! 🎓" x 5)
print("I love programming! 🎓" * 5)
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
12 questions
Syntax and Logic Errors

Quiz
•
9th - 11th Grade
14 questions
9.1.2 - Starter Quiz

Quiz
•
7th - 11th Grade
15 questions
Coding Quiz

Quiz
•
6th - 10th Grade
15 questions
PGAS Memory Quiz

Quiz
•
9th - 12th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
10 questions
MOAC Excel 2016 Lesson 03

Quiz
•
8th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade