A program's ____ is the order in which various parts of the program run, or execute - Answers
Logic
A breakpoint is a designation added to a specific statement in a program that causes program
execution to pause when it reaches that statement. - Answers True
A ____ error occurs when the interpreter fails to recognize code. - Answers Syntax
The window.alert() debugging method results in messages ____. - Answers Displayed in dialog
boxes
The rules of a programming language are known as its ____ - Answers Syntax
A ____ error is a flaw in a program's design that prevents the program from running as you
anticipate. - Answers Logic
____ is the temporary suspension of program execution so you can monitor values and trace
program execution. - Answers Break mode
The console.log() debugging method results in messages ____. - Answers Displayed in the
browsers console
____ is the process of tracing and resolving errors in a program. - Answers Debugging
You log values to the console using the window.alert() method. - Answers False
The ____ is the ordered list maintained by a JavaScript processor containing all the procedures
that have been called but have not yet finished processing. - Answers Call Stack
You enclose code that may contain an exception in a ____ statement - Answers Try
When using the console.log() method to trace bugs, it can be helpful to use a ____ program. -
Answers Driver
____ allows programs to handle errors as they occur in the execution of a program. - Answers
Exception Handling
After you evaluate code for exceptions, you can use a ____ statement to perform cleanup or
necessary tasks. - Answers Finally
Syntax refers to the order in which various parts of a program run, or execute. - Answers False
Which of the following JavaScript statements works like a breakpoint? - Answers Debugger;
After you throw an error, you use a ____ statement to handle the error. - Answers catch
, The debugging tools built into modern browsers are especially useful in tracking down ____. -
Answers logic errors
Each time a program calls a procedure, the procedure is added to the top of the call stack, and
then removed after it finishes executing. - Answers True
The ____ is a single statement that declares a variable and specifies array values as its content.
- Answers array literal
One of the simplest types of loop statements is the ____ statement, which repeats a statement
or series of statements as long as a given conditional expression evaluates to a truthy value. -
Answers while
The ____ label contains statements that execute when the value returned by the switch
statement expression does not match a case label. - Answers default
Unlike the while statement, the statements in a ____ statement always execute once, before a
conditional expression is evaluated. - Answers do/while
To end a switch statement once it performs its required task, include a(n) ____ statement at the
end of the statements associated with each case label. - Answers break
Which method returns a collection of references to all instances of a certain element in an
HTML document? - Answers getElementsByTagName()
A(n) ____ label in a switch statement represents a specific value and is followed by one or more
statements that are executed if the value of the label matches the value of the switch
statement's expression. - Answers case
The ____ statement is used to repeat a statement or series of statements as long as a given
conditional expression evaluates to a truthy value. - Answers for
A single statement that declares a variable and specifies array values as its content is called an
array ____. - Answers literal
Which of the following references the second element in the newsSections array? - Answers
newsSections[1]
You access an array element's value just as you access the value of any other variable, except
that you include the element index in brackets. - Answers True
Changing the order in which JavaScript code is executed is known as ____. - Answers controlling
flow
Each repetition of a looping statement is called a(n) ____. - Answers iteration
You use a(n) ____ when you want to store a group or a list of related information in a single,