What is the proper function to call to print to the screen?
CodeHS: Unit 6 - JavaScript Basics

Quiz
•
Computers
•
9th Grade
•
Medium
Teri Miles
Used 27+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 Quizizz
18 questions
js basics

Quiz
•
4th Grade - University
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
15 questions
Python - тест

Quiz
•
1st - 12th Grade
15 questions
Computer 9 - Ch 10 Vocabs Quiz

Quiz
•
9th Grade
15 questions
JavaScript

Quiz
•
9th Grade
20 questions
Introduction to JavaScript

Quiz
•
9th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
20 questions
JavaScript Basics Review

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade