Python 1

Python 1

9th Grade

15 Qs

quiz-placeholder

Similar activities

PF Unit  10

PF Unit 10

9th Grade - University

10 Qs

Информатика

Информатика

9th - 11th Grade

15 Qs

PTS PROGDAS

PTS PROGDAS

1st Grade - University

20 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Revision

Revision

9th Grade

17 Qs

Bài 29. Nhận biết lỗi chương trình

Bài 29. Nhận biết lỗi chương trình

9th - 12th Grade

14 Qs

Python 1

Python 1

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Sofia Mesa Giner

Used 87+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Python is represented by 🐍

Python is represented by {emoji}

Python is represented by

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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)

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?