Intro to JavaScript

Quiz
•
Computers
•
9th Grade
•
Medium

Tim Waltrowicz
Used 8+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Kahn Academy programming environment for Javascript, the bottom left of the drawing window has the coordinates:
(0,0)
(400,0)
(0,400)
(400,400)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The JavaScript function for drawing an ellipse is:
elli
circle
rect
ellipse
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following variable declaration declares a:
var value = 12;
number
whole number
string
decimal value
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will :
num +=1
Take 1 away from num
Add 1 to the value of num
Add 2 to the value of num
Take 2 from the value of num
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will:
num -= 4
Take 4 from the value of num
Take 1 from the value of num
Add 4 to the value of num
Add 1 to the value of num
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Draw = function() {
rect(1,1,4,4);
};
Continuously repeat the drawing of a square
Continuously repeat the drawing of a circle
Draw a rectangle once
draw a rectangle 4 times
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code do?
var x = 0;
draw = function(){
background(1,1,1);
rect(x+=1, 50, 50,50);
};
Draw a rectangle once
Animate a square across the screen (left to right)
Animate a square across the screen (right to left)
Animate a square across the screen (diagonally)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
CodeHS: Unit 6 - JavaScript Basics

Quiz
•
9th Grade
14 questions
Java Math and String Libraries

Quiz
•
9th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
Pygame кітапханасы

Quiz
•
9th Grade
15 questions
IF and Vlookup Function

Quiz
•
9th - 10th Grade
8 questions
Fusion 360

Quiz
•
4th - 9th Grade
12 questions
Define Variables

Quiz
•
9th - 12th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade