Intro to Programming Q3 Test

Intro to Programming Q3 Test

10th Grade

41 Qs

quiz-placeholder

Similar activities

gamemaker

gamemaker

9th - 12th Grade

46 Qs

Python

Python

9th - 10th Grade

36 Qs

Python Programming

Python Programming

10th - 12th Grade

40 Qs

Algorithm: Flowcharts

Algorithm: Flowcharts

8th - 10th Grade

37 Qs

scratch

scratch

10th Grade

40 Qs

APCSP Unit 2 Review

APCSP Unit 2 Review

9th - 12th Grade

38 Qs

Tynker Assesment

Tynker Assesment

4th - 10th Grade

40 Qs

ECS Binary and Scratch

ECS Binary and Scratch

9th - 10th Grade

44 Qs

Intro to Programming Q3 Test

Intro to Programming Q3 Test

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Shanita Keyes

Used 5+ times

FREE Resource

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

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?