My Report

JavaScript Mock Test 10


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. Which of the following is not a navigator method?

Question 1 of 10

Question 2 of 10

2. What is the code snippet to change the class and let the stylesheet specify the details?

Question 2 of 10

Question 3 of 10

3. Which of the following can be used as a prefix for Directive?

Question 3 of 10

Question 4 of 10

4. What would happen if the data in the client had been wrong?

Question 4 of 10

Question 5 of 10

5. What is a Model in MVC?

Question 5 of 10

Question 6 of 10

6. What will be the work of the getAvg in the following JavaScript function?

<script>
function getAvg(){
var avg = 0;
for(var x = 0; x < 200; x++){
avg += x;
}
return(avg/200);
}

Question 6 of 10

Question 7 of 10

7. What happens when a View Model is destroyed?

Question 7 of 10

Question 8 of 10

8. Which of the following has a greater benchmark time for looping and JQuery vs core JavaScript in milliseconds?

Question 8 of 10

Question 9 of 10

9. What is the purpose of the Attr object in the HTML DOM?

Question 9 of 10

Question 10 of 10

10. Which of the following is the default size of H3 bootstrap heading?

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.