
JavaScript Review 1125

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz 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.
Similar Resources on Wayground
8 questions
Investigating and Creating Variables Flashcard

Flashcard
•
11th Grade - University
8 questions
Image Processing Intro Flashcardizz

Flashcard
•
9th - 12th Grade
10 questions
Unit3L10and11The Draw Loop and Movement

Flashcard
•
9th - 12th Grade
10 questions
Semester 1 - SketchUp

Flashcard
•
9th - 12th Grade
10 questions
Kindergarten

Flashcard
•
KG
7 questions
Principles of Mathematics

Flashcard
•
KG
12 questions
Exploring JavaScript Canvas Art

Flashcard
•
9th Grade
13 questions
p5.js Week1 PREtest

Flashcard
•
7th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

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

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade