
JavaScript L1 Quiz 2
Authored by Ben Theurich
Computers, Education
5th - 12th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
8 questions
PSR @ Bowen
Quiz
•
7th - 10th Grade
10 questions
Markets Around Us
Quiz
•
7th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
12 questions
Adventure game project
Quiz
•
7th - 8th Grade
13 questions
Wayside School Chapters 26 -30
Quiz
•
4th - 5th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade