CoderMantra

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

JavaF

0%
5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

1 / 30

1. What will be the output of the following JavaScript code?
num1=5;
function cal() {
num1=10;
num2=5;
num3=num2*num1;
console.log(num3);
}
cal();

2 / 30

2. How to get a particular value using the tagged name?

3 / 30

3. Which of the following is an array method?

4 / 30

4. The "function" and " var" are known as:

5 / 30

5. Which company developed JavaScript?

6 / 30

6. What if you use parseInt() to convert a string containing decimal value?

7 / 30

7. What if we put ++ operator inside if condition? find the output

8 / 30

8. Syntax for creating a RegExp object:
1. var txt=new RegExp(pattern,attributes);
2. var txt=/pattern/attributes;
Which of the above mentioned syntax will correct?

9 / 30

9. What is defination of an undefined value in JavaScript?

10 / 30

10. The pop() method of the array does which of the following task ?

11 / 30

11. What will be the output if we compare "ten" and 10 with less then comparison operator( "ten" <10)?

12 / 30

12. JavaScript ignores?

13 / 30

13. Find output of below Javascript addition code
document.write("1 plus 1 is " + 1 + 1);

14 / 30

14. Which of the following are the errors in JavaScript?

15 / 30

15. Which operator is known as the strict equality operator, which checks whether its two operators are identical or not?

16 / 30

16. Which of the following is correct about features of JavaScript?

17 / 30

17. What is the correct syntax for referring to an external script called "LFC.js"?

18 / 30

18. Why so JavaScript and Java have similar name?

19 / 30

19. Variable declared is example of ________________ Variable.
function message() {
var varname = "Rajiv";
alert(name);
}

20 / 30

20. Which symbol is used for comments in Javascript?

21 / 30

21. Among the keywords below, which one is not a statement?

22 / 30

22. What will be the output of the following Javascript code?
var string1 = "Letsfindcourse";
var intvalue = 30;
alert( string1 + intvalue );

23 / 30

23. The _______ method of an Array object adds and/or removes elements from an array.

24 / 30

24. Which of the following is not a valid JavaScript variable name?

25 / 30

25. Which of the following method checks if its argument is not a number?

26 / 30

26. Which of the following is block scoped?

27 / 30

27. Choose the correct JavaScript syntax to change the content of the following HTML code.

28 / 30

28. Which of the following is not JavaScript Data Types?

29 / 30

29. If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?

30 / 30

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

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++
  • Career & Skills
  • 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
  • Productivity
  • Python Tutorial
  • Python-Assignments
  • Questions
  • Quiz
  • sql-functions
  • SQL-Tutorial
  • Tkinter Tutorial
  • Uncategorized
  • What Is
  • Why

Archives

  • April 2026
  • 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 Write Freelance Proposals That Get Clients (Beginner’s Guide 2026) April 13, 2026
How to Create a Freelancing Profile: That Gets Clients (Step-by-Step Guide for Beginners) April 12, 2026
Best Freelancing Platforms for Beginners (Start Earning in 2026) April 11, 2026
How to Manage Time for Study (Proven Daily Routine for Students) April 10, 2026
Contact Us

info@codermantra.com

admin@codermantra.com

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