Search Header Logo

CSD Unit 3 Test (Gaming and Animation)

Authored by Wayground Content

Computers

8th - 11th Grade

Used 2+ times

CSD Unit 3 Test (Gaming and Animation)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct syntax to fill a shape with color in Javascript?

fill("red");
color: red;
colorFill(red);
myColor: red;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does it mean to 'debug' (verb)?

To find and fix problems in your algorithm or program.

Part of a program that does not work correctly.

An extra piece of information that you pass to the function.

An algorithm that can be run by a machine.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Boolean

A single value of either TRUE or FALSE
Any valid unit of code that resolves to a value.
Part of a program that does not work correctly.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following ellipses has a width of 250 and height 100?

ellipse(100, 100, 250, 100);
circle(250, 50);
rect(100, 100, 250, 100);
ellipse(50, 100);

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How can you fix this code?

Call and name the variables exactly the same. Pay close attention to case and spelling. Don't start names with numbers.

Call and name the variables exactly the same. Pay close attention to case and spelling. Get rid of any spaces.

Pay close attention to case and spelling. Get rid of any spaces. Don't start names with numbers.

Call and name the variables exactly the same. Pay close attention to case and spelling. Get rid of any spaces. Don't start names with numbers.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following values can be returned by the code: randomNumber (0, 10)?

-1
3
11
10.5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best definition for a 'sprite'?

To find and fix problems in your algorithm or program.

A graphic character with descriptive properties.

A placeholder for a piece of information that can change.

Attributes that describe an object's characteristics.

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?