Search Header Logo

Python Intermediate Quiz (Including pygame)

Authored by Yasir Jafri

Computers

3rd - 12th Grade

Used 44+ times

Python Intermediate Quiz (Including pygame)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function of pygame is used to set the title ?

pygame.display.set_title()

pygame.display.set_caption()

pygame.display.title()

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pygame function is used to set the size of the window?

pygame.display.set_mode()

pygame.display.set_size()

pygame.display.set_screen()

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in pygame is used to make changes to the window ?

pygame.display.change()

pygame.display.change()

pygame.window.update()

pygame.display.update()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following command do?

pygame.image.load()

Displays an image on the window

Loads an image from a file

Updates the window

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we load a sound file in pygame?

pygame.add.Sound()

pygame.sound.load()

pygame.mixer.sound()

pygame.mixer.Sound()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator returns the remainder from division

division

exponents

boolean

modulus

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

people = ["John", "Rob", "Bob"]

print (people[1])

what would this result be?

John
Rob
Bob

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?