Search Header Logo

Code.org CS Discoveries U3L08 Sprite Properties

Authored by Joan Goldberg

Computers

9th Grade

Used 58+ times

Code.org CS Discoveries U3L08 Sprite Properties
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the (x, y) location of the palette?

(0, 0)

(200, 200)

(100, 300)

(300, 100)

error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the (x, y) location of the palette?

(0, 0)

(200, 200)

(100, 300)

(300, 100)

error

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Compare the rotation of the top row to the bottom row.

What is the rotation of the green car?


Definition: sprite.rotation = #;

Clockwise rotation in degrees of the sprite.

A positive value will rotate clockwise, a negative value will rotate counterclockwise. The rotation usually will be a number between -360 and 360.

car.rotation = 0;

car.rotation = 90;

car.rotation = 180;

car.rotation = 270;

car.rotation = 360;

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Compare the rotation of the top row to the bottom row.

What is the rotation of the orange car?


Definition: sprite.rotation = #;

Clockwise rotation in degrees of the sprite.

A positive value will rotate clockwise, a negative value will rotate counterclockwise. The rotation usually will be a number between -360 and 360.

car.rotation = 0;

car.rotation = 90;

car.rotation = -90;

car.rotation = 270;

car.rotation = -270;

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Compare the rotation of the top row to the bottom row.

What is the rotation of the blue car?


Definition: sprite.rotation = #;

Clockwise rotation in degrees of the sprite.

A positive value will rotate clockwise, a negative value will rotate counterclockwise. The rotation usually will be a number between -360 and 360.

car.rotation = 0;

car.rotation = 360;

car.rotation = -90;

car.rotation = 180;

car.rotation = -180;

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Compare the rotation of the top row to the bottom row.

What is the rotation of the red car?


Definition: sprite.rotation = #;

Clockwise rotation in degrees of the sprite.

A positive value will rotate clockwise, a negative value will rotate counterclockwise. The rotation usually will be a number between -360 and 360.

car.rotation = 0;

car.rotation = 90;

car.rotation = -90;

car.rotation = 270;

car.rotation = -270;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is cowSmall.scale=?


var cowBig = createSprite(150, 150);

cowBig.setAnimation("cow");

cowBig.scale = 1;

var cowSmall = createSprite(250, 250);

cowSmall.setAnimation("cow");

cowSmall.scale = ?;

0.5

1.0

1.5

2.0

None of the above

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?