MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following computation is correct to calculate the time taken for page load once the page is received from the server? |
| A. | responseEnd-loadEventEnd |
| B. | loadEventEnd-responseEnd |
| C. | loadEventEnd/responseEnd |
| D. | responseEnd/loadEventEnd |
| Answer» C. loadEventEnd/responseEnd | |
| 2. |
What is the solution to the absence of a script tag without an src attribute? |
| A. | Resend the scripts |
| B. | Create inline JavaScript |
| C. | Attach a javascript file |
| D. | Include a file |
| Answer» C. Attach a javascript file | |
| 3. |
What is the purpose of the navigation property in the window.performance object? |
| A. | To which page the user navigated |
| B. | How the user navigated |
| C. | Information about the page |
| D. | Information of the curser |
| Answer» C. Information about the page | |
| 4. |
What is the method to create a data frame? |
| A. | frame(data) |
| B. | frameData() |
| C. | data.frame() |
| D. | frame.Data() |
| Answer» D. frame.Data() | |
| 5. |
Which of the following property indicate the total size of the heap? |
| A. | heapSize |
| B. | totalHeapSize |
| C. | totalJsHeapSize |
| D. | totalHeap |
| Answer» D. totalHeap | |
| 6. |
What are the parameters of the attachEvent function? |
| A. | Function |
| B. | Function, Event |
| C. | Event, Function |
| D. | Event |
| Answer» D. Event | |