Christmas Programming Quiz

Christmas Programming Quiz

12th Grade

14 Qs

quiz-placeholder

Similar activities

Computer Hardware--Outside

Computer Hardware--Outside

9th - 12th Grade

16 Qs

Problem Solving : Design Solution

Problem Solving : Design Solution

12th Grade

15 Qs

Conditionals

Conditionals

9th - 12th Grade

18 Qs

Python with DataScience

Python with DataScience

7th Grade - University

10 Qs

SOAL PTS 1 KOMPUTER AKUNTANSI KELAS XI

SOAL PTS 1 KOMPUTER AKUNTANSI KELAS XI

11th Grade - University

10 Qs

Podstawy Pythona

Podstawy Pythona

9th - 12th Grade

10 Qs

Class XI Basics

Class XI Basics

11th - 12th Grade

15 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

Christmas Programming Quiz

Christmas Programming Quiz

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Tracy Mutter

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?