Matching
Match each statement below with correct item:
Premises:
A statement in the code at which program execution enters break mode
The first line of defense in locating bugs in JavaScript programs
Caused by incorrect use of JavaScript code or references to objects, methods, and variables that do not exist
Displays a value in a dialog box
Displays all local variables within the currently executing function, regardless of whether they have been initialized
Writing code that anticipates and handles potential problems
A JavaScript program that contains only the code you are testing
A list of expressions whose values are displayed and updated throughout the execution of a program
Any error in a program that causes it to function incorrectly
Identifying lines you think maybe causing problems and transforming them into comments
Responses:
bug
bulletproofing
window.alert()
commenting out
watch list
error messages
variables list
breakpoint
syntax errors
driver program
Correct Answer:
Premises:
Responses:
Any error in a program that causes it to function incorrectly
bug
Identifying lines you think maybe causing problems and transforming them into comments
commenting out
Displays all local variables within the currently executing function, regardless of whether they have been initialized
variables list
Displays a value in a dialog box
window.alert()
A statement in the code at which program execution enters break mode
breakpoint
A list of expressions whose values are displayed and updated throughout the execution of a program
watch list
A JavaScript program that contains only the code you are testing
driver program
The first line of defense in locating bugs in JavaScript programs
error messages
Caused by incorrect use of JavaScript code or references to objects, methods, and variables that do not exist
syntax errors
Writing code that anticipates and handles potential problems
bulletproofing
Premises:
Any error in a program that causes it to function incorrectly
Identifying lines you think maybe causing problems and transforming them into comments
Displays all local variables within the currently executing function, regardless of whether they have been initialized
Displays a value in a dialog box
A statement in the code at which program execution enters break mode
A list of expressions whose values are displayed and updated throughout the execution of a program
A JavaScript program that contains only the code you are testing
The first line of defense in locating bugs in JavaScript programs
Caused by incorrect use of JavaScript code or references to objects, methods, and variables that do not exist
Writing code that anticipates and handles potential problems
Responses:
bug
commenting out
variables list
window.alert()
breakpoint
watch list
driver program
error messages
syntax errors
bulletproofing
Related Questions
Q1: _ is the examination of individual statements
Q2: _ allows programs to handle errors as
Q4: Which of the following JavaScript statements works
Q5: The _ is the ordered list maintained
Q6: _ is the temporary suspension of program
Q7: Briefly explain how to use comments to
Q8: You log values to the console using
Q9: Name two tools you can use to
Q10: You enclose code that may contain an
Q11: A _ error occurs when the JavaScript