JavaScript Practice
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Easy
Wayground Content
Used 20+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the following line of code - rect(200, 150, 50, 120); What does the 3rd number(50) stand for?
X
Y
W
H
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these lines of JS code are syntactically correct?
rect100, 100, 50, 50
rect(100 100 50 50);
rect(100, 100, 50, 50);
rect(100, 100, 50, 50):
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the following line of code - rect(200, 150, 50, 120); What does the first number (200) stand for?
X
Y
W
H
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is the correct way to write a comment in JavaScript?
(#...#)
(!...!)
{{.....}}
//....
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If I want to add a variable for my eyes, which would be the correct line of code.
var eyeSize;
variable = eyeSize!
variable (eyeSize)
var = eyeSize
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The "X" parameter
Moves the object left and right
moves the object up and down
changes the width
changes the height
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When adding a background color which is the correct line of code?
bg(200, 0, 0);
background(200, 0, 0);
bckgr(200, 0, 0);
backgnd(200, 0, 0);
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
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
13 questions
topologies
Quiz
•
7th - 8th Grade
10 questions
Sound File Formats
Quiz
•
8th Grade
15 questions
หน่วยการเรียนรู้ที่ 3 เทคโนโลยีสารสนเทศ ม.3
Quiz
•
8th Grade
8 questions
Overview of IT
Quiz
•
6th Grade - University
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
15 questions
Creating Illustrations
Quiz
•
7th - 8th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
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
