Search Header Logo

PyGame

Authored by Ronnie Luy

Computers

University

Used 208+ times

PyGame
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 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 -

OpenCV

unity

numpy

pygame

3.

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.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.set_position()

gamewindow.render()

gamewindow.blit()

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.window.update()

pygame.display.change()

pygame.display.change()

pygame.display.update()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?