Python 1

Python 1

9th Grade

15 Qs

quiz-placeholder

Similar activities

Coding and Robotics

Coding and Robotics

8th - 12th Grade

12 Qs

Y11 Programming Recap

Y11 Programming Recap

9th - 10th Grade

20 Qs

Python Recap

Python Recap

9th - 12th Grade

15 Qs

Python Chapter

Python Chapter

8th Grade - University

12 Qs

Introduction to Python

Introduction to Python

9th Grade

10 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

Word Processing

Word Processing

9th - 10th Grade

20 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 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?