Programming 2 - Lesson 08

Programming 2 - Lesson 08

11th Grade

18 Qs

quiz-placeholder

Similar activities

Programming Basics

Programming Basics

9th - 12th Grade

21 Qs

Python Intermediate

Python Intermediate

9th - 11th Grade

15 Qs

Loops in Python

Loops in Python

10th - 11th Grade

18 Qs

MakeCode Arcade Unit 2 Review

MakeCode Arcade Unit 2 Review

6th - 12th Grade

20 Qs

Iteration

Iteration

9th - 12th Grade

15 Qs

Hour of Code

Hour of Code

4th Grade - Professional Development

13 Qs

Game Lab Basics

Game Lab Basics

9th - 12th Grade

20 Qs

Python Unit 5 Looping

Python Unit 5 Looping

10th Grade - University

21 Qs

Programming 2 - Lesson 08

Programming 2 - Lesson 08

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Rachel FitzZaland

Used 3+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between a computer’s coordinate system and the Cartesian coordinate system?

In computers, both x and y coordinates are reversed.

The x-axis is reversed in computer graphics.

The y-axis is reversed in computer graphics.

Computers don’t use coordinate systems.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does RGB stand for when specifying colors?

Red, Green, Brown

Red, Green, Blue

Royal Green Blue

Random Green Blend

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Pygame, what is the function used to open a window?

pygame.display_window()

pygame.open_window()

pygame.display.set_mode()

pygame.open_display()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the pygame.quit() function do?

It pauses the game.

It shuts down all Pygame modules.

It restarts the game.

It exits the event loop only.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the recommended number of frames per second (fps) in a Pygame loop?

30

60

120

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we clear the screen before drawing new graphics in Pygame?

To reset the screen’s resolution.

To change the color of the screen.

To avoid overlapping or smearing of previous images.

To slow down the frame rate.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to draw a line in Pygame?

pygame.draw.line()

pygame.draw_shape()

pygame.line_draw()

pygame.screen_line()

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?