What line of code would we use to color the inside of our shape red?
JavaScript L1 Quiz 2

Quiz
•
Computers, Education
•
5th - 12th Grade
•
Medium
Ben Theurich
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
10 questions
Lesson 13-Exploring Creative Uses of Effects & Graphic Styles

Quiz
•
9th - 12th Grade
14 questions
p5.js Week1 PREtest

Quiz
•
7th - 12th Grade
15 questions
JavaScript

Quiz
•
7th - 8th Grade
12 questions
Digital Graphics

Quiz
•
6th - 8th Grade
15 questions
BOOK EXERCISE DRAWING TOOLS IN ANIMATE CC

Quiz
•
6th Grade
10 questions
Drawing in Game Lab Part 2

Quiz
•
8th Grade
10 questions
Microsoft PowerPoint Quiz - ICT Subject

Quiz
•
6th Grade
15 questions
InDesign and Typography

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade