
JavaScript Quiz 2
Authored by Jessica Fletcher
Computers
9th - 12th Grade
Used 69+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In coding, a variable is used to:
Store a value in memory
Draw shapes
Store a value that does not change
Display the result of a math equation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a list of steps you can follow to finish a task?
Program
Code
Bug
Algorithm
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an error in a program that prevents a program from running as expected?
Program
Code
Bug
Algorithm
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are statements that are only run if something is true?
Program
Conditionals
Bug
Algorithm
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When drawing in JavaScript, the coordinates for the top left of the screen are ___.
(0, 400)
(0, 0)
(400, 0)
(400, 400)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The command: ellipse(200,100, 20, 20) will draw:
a rectangle whose center is is at (200,100) and is 20 pixels wide and 20 pixels tall
a circle whose center is at (20,20) and 200 pixels wide and 100 pixels tall
a circle whose center is at (200, 100) and is 20 pixels wide by 20 pixels tall
a rectangle whose center is at (20, 20) and is 200 pixels wide by 100 pixels tall
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code below will:
Draw a circle
Draw many circles according to the mouse position
Draw many circles diagonally across the screen
Draw many circles in the center of the screen
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
20 questions
Quiz
•
7th - 12th Grade
21 questions
Lecture Exercise Topic 1.3
Quiz
•
12th Grade
20 questions
Unit Test 1 Class 8 Computer
Quiz
•
8th - 9th Grade
20 questions
Format File Gambar
Quiz
•
12th Grade
20 questions
Software
Quiz
•
10th Grade
17 questions
Data Structures: 1D,2D & List
Quiz
•
11th Grade
20 questions
Q1 M3 PRE-TEST
Quiz
•
10th Grade
20 questions
Quiz ASJ
Quiz
•
12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade