Javascript Programming Quiz


Play this Javascript quiz that will help you to excel in Javascript certification exams, placements etc. This Javascript programming quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This Javascript programming test enables you to assess your knowledge of Javascript programming.

Take the Free Practice Test



Javascript MCQs

Practice Javascript MCQ Questions, which will help you to clear your JS related concepts and also helps you to prepare for placements, technical rounds, interviews, competitive exams etc.

Javascript Quiz

Try Free Javascript Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

Javascript Quiz

1. What among the following is an appropriate when an event occurs when the user clicks on an element?

onclick
onchange
onkeyup
onblur

2. A linkage of series of prototype objects is called as :

prototype stack
prototype chain
prototype class
prototypes

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

System.out.println( Pattern.matches("[lfc]?", "l") ); 

true
false
undefined
l

4. The ________ operator in JavaScript returns "object" for arrays.

and
or
not
typeof

5. What is the code snippet to go back to a history thrice?

history(3);
history(-3);
history.go(-3);
history.go(3);

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

"New Text"?
para1.value="New Text";
para1.firstChild.nodeValue= "New Text";
para1.nodeValue="New Text";

7. The DOM is a ____________ standard.

WWW
W3C
W3B
WMB

8. To find the length of a string, use the built-in _______ property.

size
length
area
strlen

9. How are windows, tabs, iframes, and frames treated according to client-side javascript?

They are all browsing contexts
They are all browsing information
They are all Window contexts
They are all Window objects

10. A programming language can be called object-oriented if it provides ________ basic capabilities to developers

1
2
3
4

Results