Python 1

Python 1

9th Grade

15 Qs

quiz-placeholder

Similar activities

MOAC Excel 2016 Lesson 7

MOAC Excel 2016 Lesson 7

8th - 12th Grade

10 Qs

Python тілінде программалау

Python тілінде программалау

1st - 10th Grade

10 Qs

Loops

Loops

5th - 12th Grade

16 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

CodeHS Python Unit 3 Quiz Review

CodeHS Python Unit 3 Quiz Review

9th - 12th Grade

20 Qs

String Quiz

String Quiz

9th - 12th Grade

15 Qs

Python Lists

Python Lists

9th - 12th Grade

17 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

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