Python Intermediate Quiz (Including pygame)

Python Intermediate Quiz (Including pygame)

3rd - 12th Grade

20 Qs

quiz-placeholder

Similar activities

PyGame 9 сынып 4 тоқсан 2

PyGame 9 сынып 4 тоқсан 2

9th Grade

21 Qs

Занятие_25_09

Занятие_25_09

6th - 8th Grade

15 Qs

list

list

12th Grade

20 Qs

Computer Science Tuples

Computer Science Tuples

11th - 12th Grade

15 Qs

Q4_Quiz2_CompSciLoyalty

Q4_Quiz2_CompSciLoyalty

7th Grade

21 Qs

Chapter 12 - Think Python - Understanding Tuples and Iterators

Chapter 12 - Think Python - Understanding Tuples and Iterators

9th Grade

15 Qs

list in python

list in python

10th - 12th Grade

15 Qs

Python Pygame

Python Pygame

12th Grade

20 Qs

Python Intermediate Quiz (Including pygame)

Python Intermediate Quiz (Including pygame)

Assessment

Quiz

Computers

3rd - 12th Grade

Hard

Created by

Yasir Jafri

Used 40+ times

FREE Resource

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

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?