
Intro to JavaScript
Authored by Tim Waltrowicz
Computers
9th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
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
10 questions
Unit 4 Inkscape Visual Graphics
Quiz
•
9th Grade
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
9 questions
Napewno tego nie wiesz! - VIKI GABOR
Quiz
•
1st - 10th Grade
10 questions
Digital Footprint
Quiz
•
9th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
TQ - Review Quiz Week 1
Quiz
•
9th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
10 questions
Anime
Quiz
•
KG - University
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