Python 1

Python 1

9th Grade

15 Qs

quiz-placeholder

Similar activities

9.1.2 - Starter Quiz

9.1.2 - Starter Quiz

7th - 11th Grade

14 Qs

Alhazen Scholarship - Junior

Alhazen Scholarship - Junior

9th - 12th Grade

13 Qs

Intro to CS Semester Test Review P1

Intro to CS Semester Test Review P1

9th Grade

20 Qs

Pengenalan Coding

Pengenalan Coding

1st Grade - Professional Development

20 Qs

Syntax and Logic Errors

Syntax and Logic Errors

9th - 11th Grade

12 Qs

Word Processing

Word Processing

9th - 10th Grade

20 Qs

CSE Hammen

CSE Hammen

9th - 12th Grade

11 Qs

First_quiz

First_quiz

9th Grade

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