
JavaScript Review 1125
Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

4 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which instruction defines a block of code that can be called and run as needed?
Back
function draw() {
2.
FLASHCARD QUESTION
Front
Which conditional statement tests whether the x coordinate has a value higher than 400?
Back
if (x > 400) {
3.
FLASHCARD QUESTION
Front
You are writing JavaScript code to draw a rectangle on the canvas. You write the following code:
ctx.beginPath();
ctx.rect(0,210,480,110);
ctx.fillStyle = "#136d15";
ctx.fill();
The rectangle is not drawn. Which instruction did you forget to include?
Back
ctx.closePath();
4.
FLASHCARD QUESTION
Front
Why do we write functions?
Back
To make our code easier to understand, avoid writing repeated code, and make our code reusable.
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
13 questions
DNU - 1.Unit 1-TAKD 1
Flashcard
•
KG
12 questions
Planning and Decision Making
Flashcard
•
11th - 12th Grade
8 questions
Norme de présentation d'untravail écrit
Flashcard
•
KG - University
12 questions
Irregular Verbs (Past)
Flashcard
•
KG
9 questions
Mattress Flashcard
Flashcard
•
KG - University
5 questions
Flashcard Set on Rectangle Dimensions
Flashcard
•
12th Grade
12 questions
Educational Assessment
Flashcard
•
KG
15 questions
Robotics 1: Fall Final Review
Flashcard
•
9th Grade - 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