Python 1

Python 1

9th Grade

15 Qs

quiz-placeholder

Similar activities

Python Recap

Python Recap

7th Grade - University

20 Qs

Piktogramy a emodži pro čtvrťáky

Piktogramy a emodži pro čtvrťáky

4th Grade - University

11 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

Python Lists

Python Lists

9th - 12th Grade

15 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python Basics

Python Basics

KG - University

16 Qs

Python 1

Python 1

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Sofia Mesa Giner

Used 87+ times

FREE Resource

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)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?