Chapter 4 Key Terms Flashcards

1
Q

Break mode

A

The temporary suspension of program execution in a browser so the programmer can monitor values and trace program execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Breakpoint

A

A designation added to a specific statement in a program that causes program execution to pause when it reaches that statement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Bug

A

Any error in a program that causes it to function incorrectly, whether because of incorrect syntax or flaws in logic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Bulletproofing

A

Writing code that anticipates and handles potential problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Call Stack

A

The ordered list maintained by a JavaScript processor containing all the procedures, such as functions, methods, or event handlers, that have been called but have not yet finished processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Commenting out

A

A debugging technique in which program errors are located by changing potentially incorrect program code to comments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Debugging

A

The act of tracing and resolving program errors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Dependencies

A

The relationships that exist when statements depend on the successful execution of other statements or functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Driver program

A

A simplified, temporary program that is used for testing functions and other code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Event Listener breakpoint

A

A breakpoint that is activated when an event occurs within the web page or browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Exception

A

An error that occurs in the execution of a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Exception handling

A

A method of bulletproofing code that allows a program to handle errors as they occur in the execution of the program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Linting

A

The process of running code through a program that flags common issues that may affect code quality and performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Load-time error

A

An error that occurs when the program is initially loaded by the browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Logging

A

A debugging technique that involves writing values directly to the browser console.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Logic

A

The order in which various parts of a program run, or execute.

17
Q

Logic error

A

A flaw in a program’s design that prevents the program from running as anticipated.

18
Q

Runtime error

A

An error that occurs when a JavaScript interpreter encounters a problem while a program is executing.

19
Q

Scope window

A

A section of the browser debugger pane that lists all local and global variables and objects available to the program and their current values.

20
Q

Step in

A

The stepping option that executes an individual line of code and then pauses until instructed to continue; also known as step into.

21
Q

Step into

A

The stepping option that executes an individual line of code and then pauses until instructed to continue; also known as step into.

22
Q

Step out

A

The stepping option that executes all remaining code in the current function.

23
Q

Step over

A

The stepping option to skip function calls; the program still executes each function stepped over, but appearing in the debugger as if a single statement executes.

24
Q

Stepping options

A

Options in browser debugging tools to continue program execution after program breaks.

25
Q

Strict mode

A

A JavaScript processing mode in which adherence to JavaScript syntax is strictly enforced.

26
Q

Syntax

A

the arrangement of words and phrases.

27
Q

Syntax error

A

An error that occurs when an interpreter fails to recognize code, such as a statement that is not recognized by a browser’s scripting engine.

28
Q

Throw

A

A JavaScript statement used to trigger an error event.

29
Q

Tracing

A

A debugging technique that involves examining individual statements in an executing program.

30
Q

User error

A

An error initiated by the user through operating the program in a way not intended by the developer.

31
Q

Watch window

A

A section of the debugger pane used for tracking the changing values of a variable or expression