Home » General Knowledge » Computer » JavaScript Quiz Online Test Mcqs

JavaScript Quiz Online Test Mcqs

Test Instructions

Test Name : JavaScript MCQs
Subject : Computer General
Test Type : Mcqs
Total Question : 25
Total Marks : 50
Total Time : 20 Minutes

In the following quiz, mcq’s questions related to the JavaScript are included. Try to answer them all up to your best knowledge and find out how much you actually know about its usage and various functions.

JavaScript Quiz Online Test Mcqs Questions with Answers Objective Type PDF

  • Uncategorized
 

Question 1 of 25

Uncategorized

1. Which is the correct order of precedence of Arithmetic operators?

Question 1 of 25

Question 2 of 25

2. Which of the following are capabilities of functions in JavaScript?

Question 2 of 25

Question 3 of 25

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

Question 3 of 25

Question 4 of 25

4. _____ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation?

Question 4 of 25

Question 5 of 25

5. When a user views a page containing a JavaScript program, which machine actually executes the script?

Question 5 of 25

Question 6 of 25

6. The __ operator determines the type of a given object?

Question 6 of 25

Question 7 of 25

7. __________ JavaScript is also called server-side JavaScript?

Question 7 of 25

Question 8 of 25

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

Question 8 of 25

Question 9 of 25

9. What is the alternate name for Java script?

Question 9 of 25

Question 10 of 25

10. ______ JavaScript is also called client-side JavaScript?

Question 10 of 25

Question 11 of 25

11. What is the code to be used to trim whitespaces ?

Question 11 of 25

Question 12 of 25

12. Why so JavaScript and Java have similar name?

Question 12 of 25

Question 13 of 25

13. Which of the following attribute can hold the JavaScript version?

Question 13 of 25

Question 14 of 25

14. JavaScript variables are case-sensitive?

Question 14 of 25

Question 15 of 25

15. How does JavaScript store dates in a date object?

Question 15 of 25

Question 16 of 25

16. What is the correct JavaScript syntax to write "Hello World"?

Question 16 of 25

Question 17 of 25

17. Which of the following way can be used to indicate the LANGUAGE attribute?

Question 17 of 25

Question 18 of 25

18. The __ operator determines whether an object is an instance of another object?

Question 18 of 25

Question 19 of 25

19. What is the output of this expression? x = 2 + "2"; document.write(x)?

Question 19 of 25

Question 20 of 25

20. Which of the following can't be done with client-side JavaScript?

Question 20 of 25

Question 21 of 25

21. Consider the following code snippet

let succ = function(x) x+1, yes = function() true, no = function() false;

What convenience does the above code snippet provide?

Question 21 of 25

Question 22 of 25

22. What should appear at the very end of your JavaScript?
The <script LANGUAGE="JavaScript">tag

Question 22 of 25

Question 23 of 25

23. ______ tag is an extension to HTML that can enclose any number of JavaScript statements?

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Alert: Content is protected !!