Chapter 2-functions/data types Flashcards
In JavaScript code, you use the words yes and no to indicate Boolean values
False
A comparison operator is used to compare two operands and determine if one numeric value is greater than another
True
A logical operator is used to compare two string operands for equality
False
Parentheses are used with expressions to change the associativity with which individual operations in an expression are evaluated
True
An anonymous function is a set of related statements that is assigned a name
False
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
Functions
A ____ variable that is used within a function
Parameter
A___ statement is a statement that returns a value to o the statement that called the function
Return
A ___ variable is one that is declared outside a function and is available to all parts of your program
Global
Data types that can be assigned only a single value are called ___\ types
Primitive
Programming languages that require you to declare the data types of variables are called ____ typed programming languages
Strongly
Javascript is a ___ programming language
Loosely typed
A ___ is a positive or negative number with no decimal places
Integer
A literal string can be assigned a zero length string value called a ____ string
Empty
A ___ tells the compiler or interpreter that the character that follows it has a special purpose
Escape character