Instruction
- Total number of questions : 10.
- Time alloted : 10 minutes.
- Each question carry 1 mark.
- No Negative marks
- DO NOT refresh the page.
- All the best :-).
1. |
Which is the Microsoft’s own proprietary client-side storage? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option A Explanation: Microsoft implements its own proprietary client-side storage mechanism, known as “userData,” in IE5 and later. userData enables the storage of medium amounts of string data and can be used as an alternative to Web Storage in versions of IE before IE8. |
2. |
Which character in JavaScript code will be interpreted as XML markup? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: If your JavaScript code contains the < or & characters, these characters are interpreted as XML markup. |
3. |
Which identifier is used to represent a web browser window or frame? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: The Window object is the main entry point to all client-side JavaScript features and APIs. It represents a web browser window or frame, and you can refer to it with the identifier window. |
4. |
The style property belongs to while of the following object? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option A Explanation: Each Element object has style and className properties that allow scripts to specify CSS styles for a document element or to alter the CSS class names that apply to the element. |
5. |
Which of the following frameworks focuses on DOM and Ajax utilities? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D Explanation: The Prototype library focuses on DOM and Ajax utilities like jQuery does, and adds quite a few core-language utilities as well. |
6. |
Which is the handler method used to invoke when uncaught JavaScript exceptions occur? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: The onerror handler method can be registered to be invoked when uncaught JavaScript exceptions occur. |
7. |
Which among the following is not a property of the Location object? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: The various properties of the location object are the protocol, host, hostname, port, search, and hash. |
8. |
The length property belongs to which of the following objects? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: The length property of the History object specifies the number of elements in the browsing history list, but for security reasons scripts are not allowed to access the stored URLs. |
9. |
What is the distinction made by the Client-side JavaScript between windows, tabs, iframes, and frames ? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option A Explanation: Client-side JavaScript makes very little distinction between windows, tabs, iframes, and frames: they are all browsing contexts, and to JavaScript, they are all Window objects. |
10. |
The node directly above a node is called |
|||||||||||||||||||
|