Caching And Debugging - Study Mode
[#16] What kind of error notifications are shown in the console window?
Correct Answer
(C) Both Syntax error and Runtime error
Explanation
Solution: Error notifications that show up on Console or through Internet Explorer dialog boxes are the result of both syntax and runtime errors. These error notification include the line number at which the error occurred.
[#17] How do we debug a script?
Correct Answer
(C) Use of JavaScript Validator & Debugger
Explanation
Solution: Both the JavaScript Validator and the JavaScript Debugger can be used to debug a script.
[#18] What is the purpose of a JavaScript debugger?
Correct Answer
(B) Placing script execution under control
Explanation
Solution: A debugger is an application that places all aspects of script execution under the control of the programmer. Debuggers provide fine-grained control over the state of the script through an interface that allows you to examine and set values as well as control the flow of execution.
[#19] What is a framework?
Correct Answer
(B) Author time efficiency
Explanation
Solution: Frameworks are an author-time efficiency, meaning that they make coding tasks much simpler by abstracting the real work that goes into doing those tasks.
[#20] What is the significance of scripting?
Correct Answer
(B) Dynamic
Explanation
Solution: Scripting makes Web pages more dynamic) For example, without reloading a new version of a page it may allow modifications to the content of that page, or allow content to be added to or sent from that page. The former has been called DHTML (Dynamic HTML), and the latter AJAX (Asynchronous JavaScript and XML).