Programming 2 - Lesson 08

Programming 2 - Lesson 08

11th Grade

18 Qs

quiz-placeholder

Similar activities

CSP Unit 13 Practice Test

CSP Unit 13 Practice Test

9th - 12th Grade

15 Qs

History of Computers

History of Computers

6th - 12th Grade

15 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Lua Review Corona SDK with Notepad++

Lua Review Corona SDK with Notepad++

10th - 12th Grade

15 Qs

Chapter 8: Safety and security

Chapter 8: Safety and security

10th - 11th Grade

14 Qs

TIK VII YT, GC, VIDCOF

TIK VII YT, GC, VIDCOF

7th - 12th Grade

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

Programming 2 - Lesson 08

Programming 2 - Lesson 08

Assessment

Quiz

Computers

11th Grade

Practice Problem

Easy

Created by

Rachel FitzZaland

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

Access all questions and much more by creating a free account

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

Already have an account?