
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
10 questions
Semester 1 - SketchUp

Flashcard
•
9th - 12th Grade
12 questions
Code.Org: Unit 3, Lessons 3-5 Flashcard

Flashcard
•
8th - 10th Grade
7 questions
Principles of Mathematics

Flashcard
•
KG
7 questions
Types of Motion

Flashcard
•
9th - 12th Grade
10 questions
Main Idea and Objective Summary

Flashcard
•
10th Grade
10 questions
AP Computer Science Principles - Unit 3: App Design

Flashcard
•
9th - 12th Grade
10 questions
Exit Ticket Ch 15 Instructional Technology

Flashcard
•
9th - 12th Grade
8 questions
1.1 GCSE Computing: CPU Components

Flashcard
•
10th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade