Development - Java Script - Basics 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

Which of the following function of String object returns a string representing the specified object?

  

  

  

  

When there is an indefinite or an infinity value during an arithmetic value computation, javascript

  

  

  

  

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

  

  

  

  

<html>
<body>
<script type="text/javascript">
<!--
document.print("Hello");
//-->
</script>
</body>
</html>

What will be the Output of the above Code ?

  

  

  

  

____________ is the tainted property of a window object.

  

  

  

  

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

  

  

  

  

JavaScript is invented by ________.

  

  

  

  

The generalised syntax for a real number representation is

  

  

  

  

Choose the server-side JavaScript object?

  

  

  

  

Is it possible to nest functions in JavaScript?

  

  

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

  

  

  

  

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

This code will include External JS inside your webpage.

  

  

When a JavaScript object is sent to Java, the runtime engine creates a Java wrapper of type ___________

  

  

  

  

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

  

  

  

  

In March 1996, _______________ was released, featuring support for JavaScript.

  

  

  

  

JavaScript was invented at _______ Lab .

  

  

  

  

JavaScript is _________ language.

  

  

  

  

The statement a===b refers to

  

  

  

  

Which was the first browser to support JavaScript ?

  

  

  

  

JavaScript entities start with _______ and end with _________.

  

  

  

  

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

  

  

  

  

In JavaScript, Window.prompt() method return true or false value ?

  

  

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

  

  

  

  

Why so JavaScript and Java have similar name?

  

  

  

  

JavaScript is designed for following purpose 

  

  

  

  

Is this placement of JS code inside HTML Element is Error Free ?

<html><head><title>My Page</title>
</head>
<body>
<a href="javascript:myFunction();">Click here</a>
<script language="javascript" type="text/javascript">
function myFunction() {
    alert('Hello world');
}
</script>
</body>
</html>

 

  

  

JavaScript is ______ Side Scripting Language.

  

  

  

  

Which best explains getSelection()?

  

  

  

  

Which of the following function of String object causes a string to be italic, as if it were in an tag?

  

  

  

  

Which of the following navigator object properties is the same in both   Netscape and IE?

  

  

  

  

Note:
  • 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.