Search Header Logo

Code.org Discoveries Unit 3 Lesson 4-5

Authored by Deirdre Carlino

Computers

7th Grade

Used 18+ times

Code.org Discoveries Unit 3 Lesson 4-5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a parameter?

the same thing as a variable

it gets the value of

the sum of the sides of a rectangle

an extra piece of information about an object that helps customize it (size, location, etc)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the code background("red"); do?

It automatically creates an animated scene for a game called red.

it colors the background red

It allows you to write your code in red

it returns an error message because it is wrong.

3.

MULTIPLE CHOICE QUESTION

1 min • Ungraded

Cats or dogs?

cats

dogs

neither

both

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does randomNumber (0, 100); mean?

It will allow the computer to choose a random number betwen 0 and 100

it will print any random number

it will place a random number at the coordinates of (0, 100)

it will return an error message because random numbers don't exist in Javascript

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which Disney movie featured the songs "The Circle of Life" and "Can You Feel the Love Tonight"?

Beauty and the Beast

Snow White

Aladdin

Lion King

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following has a width AND height parameter?

rect(0,100,200,150);

rect(0,100);

rect(0,100,150);

ellipse(0,100);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of this piece of punctuation that appears at the end of JS lines of code?

;

period

comma

colon

semi-colon

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?