Day 2 Pygame - 24th June

Day 2 Pygame - 24th June

Professional Development

10 Qs

quiz-placeholder

Similar activities

LPC 16 Gaming Quiz

LPC 16 Gaming Quiz

Professional Development

15 Qs

Quiz - Ls.4 - Advanced Features of Word Processor(Part 2)

Quiz - Ls.4 - Advanced Features of Word Processor(Part 2)

4th Grade - Professional Development

10 Qs

Excel Basics

Excel Basics

5th Grade - Professional Development

10 Qs

Photoshop4 _Gradient and Swatches

Photoshop4 _Gradient and Swatches

3rd Grade - Professional Development

15 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

MI Notebook 14

MI Notebook 14

Professional Development

10 Qs

Day 2 Pygame - 24th June

Day 2 Pygame - 24th June

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Coding Department

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of screen.fill((R, G, B)) in Pygame?

To change the screen size

To draw a shape

To fill the screen with a solid color

To quit the screen

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does pygame.draw.rect(screen, RED, (50, 50, 100, 80)) do?

Draws a red circle

Draws a red rectangle

Draws a green ellipse

Draws a line

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the tuple (50, 50, 100, 80), what does 100 represent?

X-coordinate

Y-coordinate

Width of the rectangle

Height of the rectangle

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to draw an ellipse in Pygame?

pygame.draw.oval()

pygame.draw.rect()

pygame.draw.circle()

pygame.draw.ellipse()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does pygame.draw.line(screen, BLUE, (100, 200), (500, 200), 5) do?

Draws a red line

Draws a rectangle

Draws a blue line with thickness 5

Draws a white line

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of screen.blit(text_surface, (150, 300))?

Draws an image

Displays the text at a specific location

Draws a rectangle

Clears the screen

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to create a font object?

pygame.createFont()

pygame.font.SysFont()

pygame.font.New()

pygame.setFont()

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?