Search Header Logo

Last_Session

Authored by Mohamed Hany

Computers

6th - 8th Grade

Last_Session
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

In pygame:

Where is the origin point (0,0) for the window?

The center of the window

Top Right Corner

Top Left Corner

Top Center Point

2.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

What is the data type of the object below:

L = [1, 22, "a", "Hello, 12]

List

Tuple

Dictionary

Set

3.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

pygame.init()

This statement stands for:

initialize all imported pygame modules

uninitialize all pygame modules

Set the size of the window

Set the caption of the window

4.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

What is the output of the following program:

print('abcdef'.replace('cf','12')

ab1de2

abcdef

ab1def

ab12de

5.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

Which pygame function is used to set the size of the window?

pygame.display.set_mode()

None

pygmae.display.set_size()

pygame.display.set_screen()

6.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

Which function is used to set the text position in the screen?

gamewindow.blit()

gamewindow.render()

gamewindow.set_position()

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

Media Image

What is the output of the following program:

8

16

Indentation Error

Runtime Erroe

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?