CIS 4004 Exam 3 Question & Answers
( Latest update 2025 )
Regarding JavaScript data types, which of the following
are recognized primitive data types? Select all that apply.
- CORRECT ANSWERS ✔✔-Boolean
-Numbers
-Strings
Regarding JavaScript data types, which of the following
are recognized trivial data types? Select all that apply. -
CORRECT ANSWERS ✔✔-Undefined
-Null
T/F
JavaScript supports a composite data type known as
object. - CORRECT ANSWERS ✔✔True
T/F
Before using a variable in a JavaScript program, it must
declared. - CORRECT ANSWERS ✔✔True
T/F
Variables are declared with the var keyword. - CORRECT
ANSWERS ✔✔True
,CIS 4004 Exam 3 Question & Answers
( Latest update 2025 )
T/F
Storing a value in a variable is called variable
initialization. - CORRECT ANSWERS ✔✔True
T/F
A global variable has global scope which means it can be
defined anywhere in JavaScript code. - CORRECT
ANSWERS ✔✔True
T/F
A local variable will be visible only within a function where
it is defined. Function parameters are always local to that
function. - CORRECT ANSWERS ✔✔True
The ternary operator, also known as the conditional
operator, used to replace an if/else conditional statement,
requires how many operands? - CORRECT ANSWERS
✔✔3
&&, ||, !, ?: are what type of operators in JavaScript? -
CORRECT ANSWERS ✔✔Logical operators
, CIS 4004 Exam 3 Question & Answers
( Latest update 2025 )
The comparison operator !== is used to determine what?
- CORRECT ANSWERS ✔✔If two operands are not
identical in value and type
When using the typeof() operator what does a value of
null mean? - CORRECT ANSWERS ✔✔No valid data
type
T/F
Operands are data objects manipulated by operators
which are part of an expression. - CORRECT ANSWERS
✔✔True
What data type can operands store? - CORRECT
ANSWERS ✔✔Combination of all of these
+, -, *, /, % are what type of operators in JavaScript? -
CORRECT ANSWERS ✔✔Arithmetic operators
++ and -- are what type of operators in JavaScript? -
CORRECT ANSWERS ✔✔Increment and decrement
operators
( Latest update 2025 )
Regarding JavaScript data types, which of the following
are recognized primitive data types? Select all that apply.
- CORRECT ANSWERS ✔✔-Boolean
-Numbers
-Strings
Regarding JavaScript data types, which of the following
are recognized trivial data types? Select all that apply. -
CORRECT ANSWERS ✔✔-Undefined
-Null
T/F
JavaScript supports a composite data type known as
object. - CORRECT ANSWERS ✔✔True
T/F
Before using a variable in a JavaScript program, it must
declared. - CORRECT ANSWERS ✔✔True
T/F
Variables are declared with the var keyword. - CORRECT
ANSWERS ✔✔True
,CIS 4004 Exam 3 Question & Answers
( Latest update 2025 )
T/F
Storing a value in a variable is called variable
initialization. - CORRECT ANSWERS ✔✔True
T/F
A global variable has global scope which means it can be
defined anywhere in JavaScript code. - CORRECT
ANSWERS ✔✔True
T/F
A local variable will be visible only within a function where
it is defined. Function parameters are always local to that
function. - CORRECT ANSWERS ✔✔True
The ternary operator, also known as the conditional
operator, used to replace an if/else conditional statement,
requires how many operands? - CORRECT ANSWERS
✔✔3
&&, ||, !, ?: are what type of operators in JavaScript? -
CORRECT ANSWERS ✔✔Logical operators
, CIS 4004 Exam 3 Question & Answers
( Latest update 2025 )
The comparison operator !== is used to determine what?
- CORRECT ANSWERS ✔✔If two operands are not
identical in value and type
When using the typeof() operator what does a value of
null mean? - CORRECT ANSWERS ✔✔No valid data
type
T/F
Operands are data objects manipulated by operators
which are part of an expression. - CORRECT ANSWERS
✔✔True
What data type can operands store? - CORRECT
ANSWERS ✔✔Combination of all of these
+, -, *, /, % are what type of operators in JavaScript? -
CORRECT ANSWERS ✔✔Arithmetic operators
++ and -- are what type of operators in JavaScript? -
CORRECT ANSWERS ✔✔Increment and decrement
operators