CodeHS: Unit 6 - JavaScript Basics
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Teri Miles
Used 31+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
20 questions
Kuis TIK 1
Quiz
•
KG - Professional Dev...
13 questions
Principles of Programming
Quiz
•
KG - University
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
19 questions
Unit 1 Digital Information Review
Quiz
•
9th - 12th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
JSPS Competition Hackathon - HTML Language Grade 4 & 5
Quiz
•
4th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
