Exam 4: Debugging and Error Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Describe two advantages of implementing custom error handling.

(Essay)
4.7/5
(36)

An infinite loop is an example of a(n)____ error.

(Multiple Choice)
4.9/5
(44)

What is the difference between syntax errors and run-time errors?

(Essay)
4.9/5
(33)

For each error encountered, a browser's console displays a line numberand a description of the error.

(True/False)
4.8/5
(45)

You implement custom error handling using the ____________________ event.

(Short Answer)
4.9/5
(38)

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

(True/False)
5.0/5
(33)

Explain the three stepping options found in the debugging tools in modern browsers.

(Essay)
4.8/5
(46)

The window.alert()debugging methodresults in messages ____ .

(Multiple Choice)
4.9/5
(32)

Which of the following JavaScript statements requests that processors remove some features from the language and require more stringent syntax for other features?

(Multiple Choice)
4.7/5
(36)

How is setting breakpoints useful in debugging?

(Essay)
4.9/5
(35)

When using the  console.log() method to trace bugs, it can be helpful to use a ____ program.

(Multiple Choice)
4.9/5
(26)

A ____ error is a flaw in a program's design that prevents the program from running as you anticipate.

(Multiple Choice)
4.9/5
(40)

The debugging tools built into modern browsers are especially useful in tracking down ____ .

(Multiple Choice)
4.9/5
(46)

____________________ is the process of tracing and resolving errors in a program.

(Short Answer)
4.9/5
(37)

The rules of a programming language are known as its ____.

(Multiple Choice)
4.8/5
(47)

The console.log()debugging methodresults in messages ____ .

(Multiple Choice)
4.8/5
(46)

After you throw an error, you use a ____ statement to handle the error.

(Multiple Choice)
4.8/5
(28)

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.

(True/False)
4.7/5
(36)

The term ____________________ refers to the temporary suspension of program execution so that you can monitor values and trace program execution.

(Short Answer)
4.8/5
(43)

What is a dependency and what role do dependencies play in debugging?

(Essay)
4.9/5
(42)
Showing 21 - 40 of 41
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)