Khan Academy JavaScript
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Stacy Faculty
Used 43+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these lines of JS code are syntactically correct?
rect(100, 100, 50, 50);
rect(100 100 50 50);
rect[100, 100, 50, 50];
rect(100, 100, 50, 50):
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is the correct way to write a comment in JavaScript?
(#...#)
(!...!)
{{.....}}
//....
3.
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):
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
You want to draw a circle, which command is written correctly?
//circle
circle();
ellipse();
//ellipse
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the following line of code - rect(200, 150, 50, 120); What does the last number (120) stand for?
X
Y
W
H
6.
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
7.
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
9 questions
Microbit Features Activity
Quiz
•
6th - 8th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Anime
Quiz
•
KG - University
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
10 questions
Introduction to Stencyl
Quiz
•
8th Grade
9 questions
Napewno tego nie wiesz! - VIKI GABOR
Quiz
•
1st - 10th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
