My Report

JavaScript Practice Test 8


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

1. Which of the following constants has the value 255?

2. Where does the DNS Lookup direct to ?

3. Which of the following is the fastest JavaScript parser?

4. What will be the output of the following JavaScript code?

<p id="demo"></p>
<script>
var str = "HELLO, LOOK AT YOU!"; 
var patt1 = /\BLO/;
var result = str.search(patt1);
document.getElementById("demo").innerHTML = result;
</script>

5. Which of the following gives the high level breakdown of memory usage?

6. Which of the following JavaScript logging framework lets one to toggle the plane?

7. How can you dispatch a synthetic event object?

8. What is the purpose of the parameter $name ?

9. What will be the radix value of the parseInt() method when the string begins with any other value other than 0x and 0?

10. What is the significance of the JavaScript logging library loglevel?


 

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.