CoderMantra

Menu
  • Home
  • Quiz
  • How-To
  • Q/A
  • Blog

javascript-exam

0 votes, 0 avg
608
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

JavaScript Questions

1 / 15

1. Which is the function used to call a function in every time duration?

2 / 15

2. What is the main difference between var and let keywords in JavaScript?

3 / 15

3. Why JavaScript Engine is needed?

4 / 15

4. Which one of the following is correct output for the following given JavaScript code if there is a p tag with id=demo ?
functionourFunction()
{
document.getElementById("demo").innerHTML=Math.abs(-7.25);
}

5 / 15

5. Which function is used to serialize an object into a JSON string in Javascript?

6 / 15

6. Any time you include javascript variable in HTML document, you must enclose those lines inside a _______

7 / 15

7. What will happen, if the following JavaScript code is executed? var count =0;
while (count <10) { console.log(count); count++; }

8 / 15

8. Which of the following methods can be used to display data in some form using Javascript?

9 / 15

9.  Which of the following can be implemented using animation?

10 / 15

10.  Where is Client-side JavaScript code is embedded within HTML documents?

11 / 15

11.  Why event handlers is needed in JS?

12 / 15

12. Which statement creates a new object using the Person constructor?

13 / 15

13. What will be the result or type of error if p is not defined in the following JavaScript code snippet?

console.log(p)

14 / 15

14. When an operator’s value is NULL, the typeof returned by the unary operator is:

15 / 15

15. Which JavaScript statements when embedded in an HTML page can respond to user events such as mouse clicks, form input and page navigation

Your score is

LinkedIn Facebook VKontakte
0%

By Wordpress Quiz plugin

Category

  • AI
  • AI Tools
  • Assignments
    • C Language Assignments
    • C++ Assignments
    • Java Assignments
    • Python Assignments
  • C Programming
  • c-plus-plus-Assignments
  • C++
  • Coding + AI
  • Core Java
  • Data Structure
  • Data Structure In C++
  • data structures
  • How To
  • Java-Assignments
  • node js questions
  • nodejs assignments
  • nodejs Projects
  • Practice Questions
  • Python Tutorial
  • Python-Assignments
  • Questions
  • Quiz
  • sql-functions
  • SQL-Tutorial
  • Tkinter Tutorial
  • Uncategorized
  • What Is
  • Why

Archives

  • March 2026
  • February 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • July 2025
  • April 2025
  • October 2024
  • September 2024
  • June 2024
  • April 2024
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • May 2022
  • November 2021
  • May 2021
  • March 2021
  • November 2020
  • October 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • May 2019
  • March 2019
  • February 2019
  • January 2019
About CoderMantra

Coder Mantra is a unique e-learning website, offers a tutorial of different popular programming languages with examples. The code on this popular tutorial website is tested and executed.

Latest Posts
How to Learn Python Faster Using ChatGPT March 24, 2026
Topological Sort in Data Structures March 23, 2026
How to Use ChatGPT for Studying March 22, 2026
Dijkstra Algorithm in Data Structures March 22, 2026
Contact Us

info@codermantra.com

admin@codermantra.com

© 2020 Coder Mantra . All Rights Reserved
About | Privacy Policy | Terms | Contact