Which JavaScript operator is used to determine the type of a variable?

Week 10.1

Quiz
•
Computers
•
Professional Development
•
Hard

Poul Nichols
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
typeof
TypeOf
typeOf
sizeof
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following JavaScript code?
var x = 12.34;
document.write(typeof(x));
int
float
long
number
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to define a JavaScript function?
module
fun
func
function
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In JavaScript a variable contains one value while an object may contain ___.
One value
Two values
Three values
Many values
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which is the correct syntax to access an object property in JavaScript?
More than one answer
objName:propertyName
objName.propertyName
objName["propertyName"]
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following JavaScript code?
var str = "JavaScript is Fun";
document.write(str.length);
15
16
17
18
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following JavaScript code?
var x = "JavaScript is Fun";
document.write(x.slice(-7,-4));
JavaScript
is
Fun
Script
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
JavaScript

Quiz
•
Professional Development
15 questions
JavaScript

Quiz
•
Professional Development
10 questions
ICT 10 M6 QUIZIZZ

Quiz
•
Professional Development
10 questions
Web Development Workshop

Quiz
•
University - Professi...
12 questions
Variable, DataType and Operators

Quiz
•
Professional Development
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
10 questions
Advanced JS

Quiz
•
Professional Development
15 questions
CloudBinary_Basic-Shell-scripting

Quiz
•
Professional Development
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