Search Header Logo

Hour of Code - Drawing with Code

Authored by Christopher McNair

Computers

6th - 12th Grade

Used 7+ times

Hour of Code - Drawing with Code
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

Function names are always followed by parentheses

True

False

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

What is another word for a command?

Prompt

Parameter

Function

Debugging

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

What is the reason we use parameters?

To create a lot of functions

To make is easier for the user to input values when playing a game.

To be able to go back and fix error in the code and make it easier to debug.

To modify existing function and make them easier to customize or change when being called.

4.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the JavaScript command for drawing a rectangle?

5.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the JavaScript command to draw a circle (hint: it's not "circle")?

6.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

If you wanted to draw a basic eyebrow on a face, what command would you use?

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

What changes the thickness of a line?

lineWeight

strokeWeight

stroke

lineStroke

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?