CodeHS: Unit 6 - JavaScript Basics

Quiz
•
Computers
•
9th Grade
•
Medium
Teri Miles
Used 28+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper function to call to print to the screen?
write
console.log
log
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword do you need to use to define a variable in JavaScript?
variable
let
int
x
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function do you need to call to ask the user of the program to enter text?
readLine
readln
text
console.log
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print to the screen?
console.log(2 + 2);
2 + 2
4
22
Nothing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol do you use to do division in JavaScript?
%
/
//
*
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol do you use to do multiplication in JavaScript?
x
X
*
#
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A store has 20 apples in its inventory. How can you store this information in a JavaScript variable?
let numApples == 20;
20 = numApples;
let numApples = 20;
let num apples = 20;
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Introdução à informática

Quiz
•
9th Grade
16 questions
Programming revision

Quiz
•
9th Grade
13 questions
Mid term eval 9°

Quiz
•
9th - 12th Grade
10 questions
GADV 03 - Scripting

Quiz
•
9th - 12th Grade
10 questions
STEAM Final

Quiz
•
9th - 12th Grade
10 questions
computers

Quiz
•
9th - 12th Grade
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
20 questions
Introduction to Graphic Design Software

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade