Day 2 Pygame - 24th June

Day 2 Pygame - 24th June

Professional Development

10 Qs

quiz-placeholder

Similar activities

Microsoft Word Quiz

Microsoft Word Quiz

Professional Development

10 Qs

Повернись!

Повернись!

Professional Development

8 Qs

SLAC

SLAC

Professional Development

10 Qs

Desain Grafis

Desain Grafis

Professional Development

10 Qs

Pygame М1У1

Pygame М1У1

Professional Development

5 Qs

Day 5 Pygame - 30th June

Day 5 Pygame - 30th June

Professional Development

5 Qs

Day 7 Pygame : 2nd July

Day 7 Pygame : 2nd July

Professional Development

5 Qs

Day 4 Pygame - 26th June

Day 4 Pygame - 26th June

Professional Development

5 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?