Christmas Programming Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Tracy Mutter
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code? print("Merry Christmas"[::-1])
Merry Christmas
samtsirhC yrreM
samtsirhC yrreM
yrreM samtsirhC
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a list of Christmas gifts in Python?
gifts = "toy", "book", "game"
gifts = ["toy", "book", "game"]
gifts = {"toy", "book", "game"}
gifts = ("toy", "book", "game")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you print "Happy Holidays" to the console in Python?
print("Happy holidays")
print("Happy Holidays")
print("HappyHolidays")
print("happy holidays")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code? greeting = "Ho Ho Ho" print(len(greeting))
5
6
8
9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a Christmas tree pattern in Python?
print(" *\n******\n**")
print(" *\n ***\n*****")
print(" *\n *\n")
print(" ****\n***\n*****")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In SQL, how do you select all records from a table named "ChristmasGifts"?
SELECT Gifts FROM ChristmasGifts;
SELECT * FROM christmasGifts;
SELECT ALL FROM ChristmasGifts;
SELECT * FROM Christmasgifts;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code? x = "Santa" y = "Claus" print(x + " " + y)
SantaClaus
Santa Claus
Santaclaus
Claus Santa
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python Basics

Quiz
•
KG - University
19 questions
Programming Techniques Survey

Quiz
•
8th - 12th Grade
15 questions
Python Conditionals and If Statements

Quiz
•
8th Grade - University
10 questions
CodeTigers Python 101

Quiz
•
KG - Professional Dev...
10 questions
Python массив

Quiz
•
9th - 12th Grade
15 questions
Python and PseudoCode Quiz

Quiz
•
10th Grade - University
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
16 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade