wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python L2- Quiz 7

Total questions: 6

Worksheet time: 3mins

Name
Class
Date
1.

Pygame has it's own built-in clock

a)

True

b)

False

2.

Most human beings can register ________ frames per second as individual images.

a)

7-10

b)

10-12

c)

12-16

d)

22-30

3.

Clock.tick(var) limits the _______.

a)

frames per second

b)

time per frame

c)

size of the clock text

d)

volume of the clock tick.

4.

colliderect is a function belonging to the rectangle class that checks if any other shapes have collided with it.

a)

True

b)

False

5.

If I wanted the position of the mouse, I would type ________.

a)

pygame.mouse.get_position()

b)

pygame.mouse.getPosition()

c)

pygame.get_input.mouse_position()

d)

pygame.mouse_position

6.

The easiest way to reverse the direction that a game object is moving

a)

object.x_speed *= -1

object.y_speed *= -1

b)

object.direction.reverse()

c)

object.turn(180)

d)

object.x_speed = object.y_speed

object.y_speed = object.x_speed