
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.
Similar Resources on Wayground
6 questions
Adobe Indesign Certification Practice Two - 2023

Flashcard
•
9th - 12th Grade
8 questions
Napoleon 2

Flashcard
•
9th - 12th Grade
10 questions
Classroom Procedures and Policies

Flashcard
•
9th Grade - University
12 questions
GCSE Computing Low & High Level Languages/IDE's

Flashcard
•
10th - 11th Grade
9 questions
A-Frame Review

Flashcard
•
10th Grade
12 questions
APCSP Final Exam Coding Practice

Flashcard
•
9th - 12th Grade
12 questions
AP CSP Loops Practice

Flashcard
•
9th - 12th Grade
12 questions
Code.org - Unit 6 Lists, Loops, and Traversals

Flashcard
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade