Unit 4: Introduction to JavaScript (CodeHS)

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

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following choices is a properly formed JavaScript variable name, meaning it is both legal in the JavaScript language and considered good style? Num dogs, numDogs, num_dogs, NumDogs
Back
numDogs
2.
FLASHCARD QUESTION
Front
You are building a house with a crew and diving nails among 8 workers. Which statement will calculate how many nails will be left over?
Back
3.
FLASHCARD QUESTION
Front
What keyword do you need to use to define a variable in JavaScript?
Back
var
4.
FLASHCARD QUESTION
Front
What does the following program do?
Back
Draws a rectangle on the canvas that is positioned the width and height of the rectangle from the x- and y-axis.
5.
FLASHCARD QUESTION
Front
What is printed on the screen if the user enters '10' when the following program is run?
Back
200
6.
FLASHCARD QUESTION
Front
You want to read input from the user to know how many slices of pizza they would like to buy. Which statement should you use to read in a number from the user?
Back
7.
FLASHCARD QUESTION
Front
In a graphics canvas, what are the coordinates of the bottom right corner of the window?
Back
getWidth(), getHeight()
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
CodeHS Python Unit 3 Flashcard Review

Flashcard
•
9th - 12th Grade
20 questions
HTML/CSS

Flashcard
•
9th - 12th Grade
15 questions
Practice for AP Java Flashcard #7

Flashcard
•
10th - 12th Grade
20 questions
Javascript Basics

Flashcard
•
7th Grade - University
21 questions
Java Loops

Flashcard
•
KG
13 questions
Python variables, expressions, and data types

Flashcard
•
9th - 12th Grade
18 questions
AP CSA Unit 1 Review

Flashcard
•
10th - 12th Grade
20 questions
Javascript Basics Test

Flashcard
•
7th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd 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
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

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

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade