Java Script Test

Test Instructions :

1. The Test is 1hr duration.
2. The Test Paper consists of 30 questions. The maximum marks are 30.
3. All the questions are multiple choice question type with three options for each question.
4. Out of the three options given for each question, only one option is the correct answer.
5. Each question is allotted 1 mark for each correct response.
6. 0.25 will be deducted for incorrect response of each question.
Start Test

   Time Left : 00 : 30    : 00

Why JavaScript is called as Lightweight Programming Language ?





JavaScript was invented at _______ Lab .





JavaScript is invented by ________.





<script src="../main.js"></script>

This code will include External JS inside your webpage.



A hexadecimal literal begins with





The generalised syntax for a real number representation is





The main purpose of a “Live Wire” in NetScape is to





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





Which of the following attribute can hold the JavaScript version?





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





What does the tag do?





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





JavaScript is interpreted by _________





Which tag(s) can handle mouse events in Netscape?





In JavaScript, _________ is an object of the target language data type that encloses an object of the source language.





_______ class provides an interface for invoking JavaScript methods and examining JavaScript properties.





A ________ object is a reference to one of the classes in a Java package, such as netscape.javascript .





The JavaScript exception is available to the Java code as an instance of __________





To open a dialog box each time an error occurs, which of the following is added to prefs.js?





Which best explains getSelection()?





  • Click the 'Submit Test' button given in the bottom of this page to Submit your answers.
  • Test will be submitted automatically if the time expired.
  • Don't refresh the page.