Week 2 - Pygame

Week 2 - Pygame

Professional Development

15 Qs

quiz-placeholder

Similar activities

Sairam Andro Workshop

Sairam Andro Workshop

Professional Development

18 Qs

Excel Basics

Excel Basics

5th Grade - Professional Development

10 Qs

G Suite

G Suite

4th Grade - Professional Development

13 Qs

Indian Culture

Indian Culture

Professional Development

15 Qs

Старт в IT

Старт в IT

Professional Development

13 Qs

LPC 16 Gaming Quiz

LPC 16 Gaming Quiz

Professional Development

15 Qs

AppInventor

AppInventor

Professional Development

10 Qs

Database Management System

Database Management System

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?