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 are the forms of client-side storage? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D Explanation: The various forms of client-side storage are web databases, filesystem API, Offline web applications and cookies. |
2. |
Which of the following is a way of embedding Client-side JavaScript code within HTML documents? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: The Client-side JavaScript code is embedded within HTML documents in four ways : |
3. |
The word “document” mainly refers to |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: Some pages present static information and can be called documents. |
4. |
What is the property to access the first child of a node? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D Explanation: The first child of a node can be accessed using the firstChild property. |
5. |
The libraries that build a new higher-level API for client-side programming is |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: Many web developers find it useful to build their web applications on top of a clientside framework library. These libraries are “frameworks” in the sense that they build a new higher-level API for client-side programming on top of the standard and proprietary APIs offered by web browsers: once you adopt a framework, your code needs to be written to use the APIs defined by that framework. |
6. |
Which function among the following lets to register a function to be invoked once? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option A Explanation: setTimeout() and setInterval() allow you to register a function to be invoked once or repeatedly after a specified amount of time has elapsed. |
7. |
The URL property belongs to which of the following object? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option A Explanation: The Document object has a URL property, which is a static string that holds the URL of the document when it was first loaded. |
8. |
What is the code snippet to go back to a history twice? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: The above code snippet goes back 2, like clicking the Back button twice. |
9. |
Each tab in the single web browser window is called as |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: A single web browser window on your desktop may contain several tabs. Each tab is an independent browsing context. |
10. |
The central object in a larger API is known as |
|||||||||||||||||||
|