Khan Academy JavaScript

Quiz
•
Computers
•
8th Grade
•
Medium
Stacy Faculty
Used 43+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
AV2a - Pensamento Computacional - Explorando o p5.js

Quiz
•
2nd Grade - University
10 questions
Pygame

Quiz
•
6th - 8th Grade
10 questions
Drawing in Game Lab

Quiz
•
7th - 8th Grade
15 questions
Intro to Scratch

Quiz
•
6th - 8th Grade
15 questions
Code.org Unit 3 Lesson 3 and 4

Quiz
•
6th - 8th Grade
11 questions
Programming - Variables/Animation

Quiz
•
6th - 8th Grade
10 questions
Python Programming with Tracy the Turtle

Quiz
•
6th - 8th Grade
12 questions
Tracy 🐢 CodeHS

Quiz
•
5th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade