Semester Final Part 2

Semester Final Part 2

10th Grade

15 Qs

quiz-placeholder

Similar activities

สอบย่อย ครั้งที่ 1 (BC.2/2)

สอบย่อย ครั้งที่ 1 (BC.2/2)

11th Grade

10 Qs

Multimedia Video & Animation

Multimedia Video & Animation

University

20 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

HTML & Google Site Seatwork

HTML & Google Site Seatwork

12th Grade

10 Qs

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

Semester Final Part 2

Semester Final Part 2

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Ashutosh Kumar

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?