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 object supports Filesystem API? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: The File object allows user-selected files to be uploaded through an XMLHttpRequest. |
2. |
Which is the root element in a HTML document? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option A Explanation: The "html" tag is the root element of any HTML document regardless of it containing a JavaScript code or not. |
3. |
Which property in the Window object is used to refer to a Location object? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D Explanation: The Window object defines properties like location, which refers to a Location object that specifies the URL currently displayed in the window and allows a script to load a new URL into the window. |
4. |
What is the purpose of the event handlers in the JavaScript? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: Event handlers allow JavaScript code to alter the behavior of windows, of documents, and of the elements that make up those documents. |
5. |
What is the purpose of Dojo framework? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: Dojo is a large framework that advertises its “incredible depth.” It includes an extensive set of UI widgets, a package system, a data abstraction layer, and more. |
6. |
Which property is used to obtain browser vendor and version information? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D Explanation: The navigator property is used to obtain browser vendor and version information. |
7. |
What is the return type of the hash property? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D Explanation: The hash property returns the “fragment identifier” portion of the URL, if there is one: a hash mark (#) followed by an element ID. |
8. |
What is the datatype of the go() method’s parameter? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: The go() method takes an integer argument and can skip any number of pages forward and backward in the history list. |
9. |
What is the distinction made by JavaScript between windows, tabs, iframes, and frames ? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D 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 Text and Comment is part of |
|||||||||||||||||||
|