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
7 questions
Vector graphics

Quiz
•
7th - 11th Grade
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
15 questions
Motion in Scratch

Quiz
•
6th - 8th Grade
15 questions
Unity.Basics-2

Quiz
•
6th Grade - University
15 questions
8th Computer Review

Quiz
•
8th Grade
14 questions
CMU CS Academy Unit 1 Checkpoint

Quiz
•
6th - 8th Grade
11 questions
Python1 pygame fin

Quiz
•
7th - 11th Grade
15 questions
Scratch Programming

Quiz
•
5th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade