Search Header Logo

Unit 2 Web Development Exam

Authored by Kristen Cook

Computers, Instructional Technology

9th - 12th Grade

Used 5+ times

Unit 2 Web Development Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In this line of code, what will the random number do?

var orangeFish = createSprite(400, randomNumber(0, 100));

Create a random fish

Choose a random color

Add the fish costume

Place the sprite on a random location on the Y axis

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How can we correct the code above? We are getting the error message (dessert is defined, but it is not called in your program)

Change drink to dessert in the 6th line of code

Change drink to ice cream in the 6th line of code

Change drink to sprite in the 6th in of code

Go to Peaceful Meadows and order a coffee frappe

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you wanted to make a sprite twice as big as it currently looks which code would you use?

sprite.y

sprite.scale

sprite.rotation

sprite.setAnimattion

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

This plane looks like someone is smearing a stamp across a paper.


How would you fix this code so that it looks likes the plane is smoothly moving across the scene? (Click on image to enlarge.)

(line 8) increase the speed of the plane in the draw loop.

(line 7) add plane.rotation into the draw loop

(line 4) add a drawSprites

(line 3) move the background code into the draw loop so that it makes a new background each loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The code in the image is an example of

an IF Statement

a DrawLoop

the counter pattern

reducing the size of a sprite

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The block of code in this image

Creates a sprite

transforms a sprite from a gray square into a picture of a mouse

changes the size of a sprite

changes the x position of a sprite

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Where will Franklyn appear? (All options have Franklyn represented as a square.)

Media Image
Media Image
Media Image
Media Image

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?