Search Header Logo

Intro to Programming Q3 Test

Authored by Shanita Keyes

Computers

10th Grade

Used 5+ times

Intro to Programming Q3 Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What defines a sprite in a game context?

A sprite is a still image used for background decoration in a game.

A sprite is any object in a game that lacks characteristics but has behaviors.

A sprite is any object in a game that has characteristics and behaviors.

A sprite is a dynamic element in a game that only has characteristics but no behaviors.

2.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Which is these could be a sprite?

A player character

An enemy character

An object in the game you interact with

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Should you rename your sprites, instead of keeping them named "mySprite" or "mySprite2"?

Yes, because descriptive names help you keep track of them in your code, creating organization and clarity

No, because the names given to them are fine and make programming clearer

Yes, because descriptive names enhances the visual appeal of the actual game

No, because the given names simplify the debugging process

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What is an event handler in programming?

A function that is executed at the start of the program.

Code that only runs when a specific event happens.

A variable that stores the state of the program.

A loop that runs continuously throughout the program.

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which of the following is an example of an event that can trigger an event handler?

on game update every 500 ms

on sprite of kind Player overlaps otherSprite of kind Player

on countdown end

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What do all event handlers start with?

The word "in"

The word "of"

The word "on"

The word "under"

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which is true of event handlers in block-based programming?

They can be placed inside another block

They do not have spaces for other blocks

They have spaces to place other blocks inside them

They must end with a semicolon

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?