Day 2 Pygame - 24th June

Day 2 Pygame - 24th June

Professional Development

10 Qs

quiz-placeholder

Similar activities

Training session

Training session

Professional Development

8 Qs

Prezi Quiz

Prezi Quiz

Professional Development

13 Qs

Google Docs Quiz

Google Docs Quiz

Professional Development

10 Qs

FSKDIG002

FSKDIG002

Professional Development

13 Qs

Day 5 Turtle - 9th June

Day 5 Turtle - 9th June

Professional Development

5 Qs

Computer Education Quiz 4

Computer Education Quiz 4

Professional Development

5 Qs

HTML y CSS 2

HTML y CSS 2

Professional Development

10 Qs

Soal TIK Exel kelas VI MI

Soal TIK Exel kelas VI MI

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