Function statements are contained within the function ____.
a. parameters
b. braces
c. arguments
d. parentheses
Front
braces
Back
A(n) ____ statement is a statement that returns a value to the statement that called the function.
a. return
b. replace
c. value
d. exit
Front
return
Back
You can use the compound ____ to combine two strings.
a. value separator
b. equals comparison
c. assignment operator
d. declaration operator
Front
assignment operator
Back
Placing a parameter name within the parentheses of a function definition is the equivalent of declaring a new ____________________.
Front
variable
Back
Sending arguments to the parameters of a called function is called ____________________ arguments.
Front
passing
Back
Programming languages that require you to declare the data types of variables are called ____ typed programming languages.
a. dynamic
b. strongly
c. static
d. loosely
Front
strongly
Back
Data types that can be assigned only a single value are called ____ types.
a. primitive
b. null
c. numeric
d. Boolean
Front
primitive
Back
A(n) ____________________ type is the specific category of information that a variable contains.
Front
data
Back
JavaScript is a ____ programming language.
a. static typed
b. loosely typed
c. strongly typed
d. numeric typed
Front
loosely typed
Back
The strict equal operator is ____.
a. =
b. ==
c. ===
d. !=
Front
c. ===
Back
A logical operator is used to compare two string operands for equality.
a. True
b. False
Front
False
Back
Which of the following is a logical operator?
a. ++
b. ()
c. ==
d. ||
Front
d. ||
Back
The variables or values that you place in the parentheses of a function call statement are called ____.
a. string operators
b. primitive types
c. arguments
d. event listeners
Front
arguments
Back
A(n) ____ is a positive or negative number with no decimal places.
a. floating-point number
b. scientific number
c. exponential number
d. integer
Front
integer
Back
A(n) ____ tells the compiler or interpreter that the character that follows it has a special purpose.
a. exclamation point
b. escape character
c. null character
d. upper case character
Front
escape character
Back
The And operator is ____.
a. !=
b. ||
c. &&
d. ===
Front
c. &&
Back
A(n) ____ is a variable that is used within a function.
a. method
b. property
c. parameter
d. operator
Front
parameter
Back
A(n) ____________________ operator requires an operand before and after the operator.
Front
binary
Back
You can use an arithmetic operator to return the modulus of a calculation, which is the ____ when you divide one number by another number.
a. remainder left
b. quotient
c. product
d. difference
Front
remainder left
Back
The ____ operator executes one of two expressions based on the results of a conditional expression.
a. .
b. ()
c. ,
d. ?:
Front
d. ?:
Back
A comparison operator is used to compare two operands and determine if one numeric value is greater than another.
a. True
b. False
Front
True
Back
Which arithmetic operators have the highest precedence?
a. * / %
b. < <=
c. &&
d. + -
Front
a. * / %
Back
Which of the following is a false value?
a. true
b. -1
c. 0
d. 1
Front
c. 0
Back
A literal string can be assigned a zero-length string value called a(n) ____ string.
a. empty
b. undefined
c. short
d. byte
Front
empty
Back
An anonymous function is a set of related statements that is assigned a name.
a. True
b. False
Front
False
Back
In JavaScript code, you use the words yes and no to indicate Boolean values.
a. True
b. False
Front
False
Back
In JavaScript programming, you can write your own procedures, called ____, which refer to a related group of JavaScript statements that are executed as a single unit.
a. programs
b. functions
c. modules
d. objects
Front
functions
Back
Parentheses are used with expressions to change the associativity with which individual operations in an expression are evaluated.
a. True
b. False
Front
True
Back
A ____ variable is one that is declared outside a function and is available to all parts of your program.
a. local
b. limited
c. scoped
d. global
Front
global
Back
A(n) ____________________ variable is declared inside a function and is available only within the function in which it is declared.