
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
Microsoft Excel
Quiz
•
KG - Professional Dev...
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
20 questions
CSS 10 - QUIZ
Quiz
•
10th Grade
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
20 questions
CSS GRADE 9 - QUIZ PECs and EM
Quiz
•
9th Grade
15 questions
CIW
Quiz
•
9th - 12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
21 questions
Y9 Creative iMedia RO81 Quiz Part 1
Quiz
•
9th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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