Semester Final Part 2

Semester Final Part 2

10th Grade

15 Qs

quiz-placeholder

Similar activities

Code.org CSD Unit 3 Lessons 1-12

Code.org CSD Unit 3 Lessons 1-12

3rd - 12th Grade

20 Qs

Sprites

Sprites

11th Grade

19 Qs

Scratch Programming

Scratch Programming

9th - 12th Grade

20 Qs

Scratch Code

Scratch Code

KG - 11th Grade

10 Qs

[AP CSP] Block Based Code

[AP CSP] Block Based Code

12th Grade

17 Qs

Scratch

Scratch

6th - 10th Grade

15 Qs

Scratch check-in

Scratch check-in

1st - 12th Grade

16 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

Semester Final Part 2

Semester Final Part 2

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Ashutosh Kumar

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if you place sprite motion code *outside* the `draw()` function?

The sprite will move continuously.

The sprite will move only once.

The sprite won't appear on screen.

The program will crash.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct way to make a sprite move downward continuously?

sprite.y = sprite.y + 2;

sprite.y = sprite + 2;

y = sprite.y + 2;

sprite.y = 2;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? if (keyDown("right")) { balloon.x = balloon.x + 3; }

Moves the balloon down.

Moves the balloon left.

Moves the balloon right when the right arrow is pressed.

Moves the balloon automatically to the right.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the `drawSprites()` function used for in Game Lab?

To draw shapes like circles and rectangles.

To show all the sprites on the screen.

To change the background color.

To delete all sprites.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code correctly switches a sprite's costume?

sprite.image("new_costume");

sprite.setAnimation("new_costume");

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How often does the `draw()` function run in Game Lab?

One time when the program starts.

Once every second.

About 30 times per second.

Only when a key is pressed.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code do? sprite.x = sprite.x - 2;

Move the sprite right.

Move the sprite left.

Make the sprite disappear.

Make the sprite bounce.

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?