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;
Access all questions and much more by creating a free account
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
15 questions
R087 LO1 - Uses & properties of interactive multimedia products
Quiz
•
9th Grade
10 questions
scratch quiz
Quiz
•
1st Grade - University
20 questions
Application and System Software
Quiz
•
5th - 12th Grade
15 questions
L3...JavaScript - Introducción
Quiz
•
9th Grade
15 questions
Programming - What Do I Know?
Quiz
•
7th - 9th Grade
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
18 questions
Cyber Security and Social Engineering
Quiz
•
9th - 11th Grade
15 questions
R13 AI and Machine Learning Assessment
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
