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 Array object applies a function simultaneously against two values of the array (from right-to-left) as to reduce it to a single value?

  

  

  

  

JSON strings have to be in

  

  

  

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

  

  

  

  

JavaScript was invented at _______ Lab .

  

  

  

  

One of the special features of an interpreter in reference with the for loop is that ___________

  

  

  

  

_____ 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 function of String object causes a string to be italic, as if it were in an tag?

  

  

  

  

JSON name/value pair is written as

  

  

  

  

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>

 

  

  

Which of the following is the correct syntax to display “Welcome” in an alert box using JavaScript?

  

  

  

  

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

  

  

  

  

The development environment offers which standard construct for data validation

  

  

  

  

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

  

  

State the correct place of JS Code inside HTML -

  

  

  

  

JavaScript Code is written inside file having extension __________.

  

  

  

  

What does the tag do?

  

  

  

  

Which was the first browser to support JavaScript ?

  

  

  

  

Which of the following is not considered as an error in JavaScript?

  

  

  

  

JavaScript is ______ Side Scripting Language.

  

  

  

  

JavaScript is ideal to

  

  

  

  

All modern browsers supports JS.

  

  

______ attribute is used to specify the character encoding used in an external script file.

  

  

  

  

Choose the server-side JavaScript object?

  

  

  

  

JavaScript Code can be called by using _________.

  

  

  

  

What is mean by "this" keyword in javascript?

  

  

  

  

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

  

  

  

  

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

  

  

  

  

Which of the following is not JavaScript Data Types?

  

  

  

  

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

  

  

  

  

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

  

  

  

  

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.