What is the proper function to call to print to the screen?
JavaScript Input and Variables Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Guillermo Moreno
Used 91+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
write
println
post
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
How will the output look in the following programs?
The code snippet will print Hello World on a single line.
The code snippet will print Hello on the first line and World on the second line.
The code snippet will print an error because of the extra space after the letter o.
The code snippet requires only one println.
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What keyword do you need to use to define a variable in JavaScript?
println
var
float
int
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
A naming convention where the first letter is lower case, and each subsequent start of a word is upper case
capitalization
variable
upperCase
lowerCamelCase
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output to the console to the following JavaScript program?
1
2
3
1
2
.3
1
2
.03
1
2
0.03
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What are the different variable types that can be used in Javascript?
Booleans, Numbers, Strings
Booleans, Int, Float
Strings, Booleans, Int
Strings, Int, Doubles
7.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
How would you create a variable named myPet and give it the value “Your Name”?
Create a free account and access millions of resources
Similar Resources on Quizizz
17 questions
"switch" Java Statement - 1

Quiz
•
9th - 10th Grade
15 questions
Class X - Java 1

Quiz
•
10th Grade
25 questions
JavaScript Console & Graphics Review

Quiz
•
9th - 12th Grade
20 questions
Algoritmi Java

Quiz
•
11th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
15 questions
Python Basics

Quiz
•
KG - University
19 questions
JavaScript Variables Quiz

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University