JavaScript L1 Quiz 2

JavaScript L1 Quiz 2

5th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Debugging Challenge 2

Debugging Challenge 2

7th - 12th Grade

15 Qs

Printers

Printers

9th - 12th Grade

10 Qs

Thinking Skills

Thinking Skills

4th - 5th Grade

10 Qs

Module 4 - Electronic Spreadsheet

Module 4 - Electronic Spreadsheet

5th Grade

10 Qs

Unit 16: Where's the post office? Lesson 1 G5

Unit 16: Where's the post office? Lesson 1 G5

5th Grade

11 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

Be4PSPM 1

Be4PSPM 1

1st - 5th Grade

10 Qs

JAVA IDENTIFIERS

JAVA IDENTIFIERS

6th - 8th Grade

14 Qs

JavaScript L1 Quiz 2

JavaScript L1 Quiz 2

Assessment

Quiz

Computers, Education

5th - 12th Grade

Practice Problem

Medium

Created by

Ben Theurich

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What line of code would we use to color the inside of our shape red?

colorShape("Red");

stroke("Red");

strokeWeight(Red);

fill("Red");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to code a rectangle in JavaScript?

rectangle(50, 50, 25, 75);

rect(50, 50, 25, 75);

rectangle(50, 50);

rect(50, 50);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the strokeWeight() function do?

Makes the lines weigh more

Nothing

Makes the color of the lines darker

Changes the thickness of the lines

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many parameters (numbers inside of the parentheses) do we need when we're drawing a point()?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What line of code do we use to change the background color of our drawing to blue?

changeColor("blue");

background("blue");

backgroundColor("blue");

back("blue");

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many parameters (numbers within the parentheses) do we need for drawing a triangle()?

2

4

6

8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the xy coordinates of the upper left corner of our canvas?

(0, 0)

(0, 500)

(400, 0)

(400, 500)

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?