Week 2 - Pygame

Week 2 - Pygame

Professional Development

15 Qs

quiz-placeholder

Similar activities

Google Meet

Google Meet

Professional Development

10 Qs

Photoshop tools

Photoshop tools

6th Grade - Professional Development

16 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

MSI Commercial Desktop and Monitor

MSI Commercial Desktop and Monitor

Professional Development

15 Qs

Quiz-1 tkinter

Quiz-1 tkinter

University - Professional Development

11 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

Mengenal Quizizz

Mengenal Quizizz

University - Professional Development

10 Qs

Week 2 - Pygame

Week 2 - Pygame

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Coding Department

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to initialize all Pygame modules?

pygame.start()

pygame.load()

pygame.init()

pygame.begin()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does pygame.display.set_mode((600, 400)) do?

Creates a circle

Loads an image

Creates a game window of size 600x400

Starts the game loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does screen.fill((255, 255, 255)) do?

Draws a rectangle

Colors the screen white

Closes the screen

Clears the window

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of pygame.display.flip()?

Ends the game

Resets the screen

Updates the screen with all changes

Saves the game

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to create a rectangle in Pygame?

pygame.Rect()

pygame.draw.box()

pygame.Shape()

pygame.rect()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function draws a rectangle on screen?

pygame.rect()

pygame.draw.rect()

screen.rect()

draw.rectangle()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which shape is used to draw a ball?

pygame.draw.circle()

pygame.draw.ellipse()

pygame.draw.square()

pygame.draw.ball()

Create a free account and access millions of resources

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

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

Already have an account?