Pygame module

Pygame module

Assessment

Quiz

Education, Computers

5th - 8th Grade

Hard

Created by

Laura Coop Rushworth

Used 99+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The python module used for making games is -

pygame

random

numpy

datetime

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function of pygame is used to set the title ?

pygame.display.set_caption()

pygame.display.set_title()

pygame.display.set_name()

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in pygame is used to set the text position in the screen ?

gamewindow.blit()

gamewindow.render()

gamewindow.set_position()

none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in pygame is used to draw rectangle ?

pygame.draw.rect()

pygame.draw.rectangle()

pygame.draw_rect(

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many arguments are there in drawing the rectangle ?

3

4

5

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

pygame.display.update()

pygame.display.change()

pygame.window.update()

pygame.display.change()

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?