JavaScript Multiple Choice Questions

  • 1) Which of the following symbol signifies the start and end of a JavaScript block ?
  • 2) Which of the following is not a reserved word in JavaScript?
  • 3) Which of the following is the correct syntax to display “E3Docs” in an alert box using JavaScript?
  • 4) What happens when a document loads in javascript?
  • 5) Which of the following is the use of the <noscript > tag?
  • 6) Which of the following is not the JavaScriopt operator?
  • 7) What is the correct syntax for creating an object?
  • 8) In JavaScript, we do not have data types like integer and float. What is the function that can be used to check if the number is an integer or not?
  • 9) JavaScript is a ________ Side Scripting Language.
  • 10) Which function of an Array object calls a function for each element in the array?
  • 11) Which of the following is not the properties of screen objects in JavaScript?
  • 12) Which of the following are the functional components in JavaScript?
  • 13) Which of the following are the errors in JavaScript?
  • 14) Which of them is not the looping structures in JavaScript?
  • 15) How do we define the term Thread?
  • 16) What does javascript use instead of == and !=?
  • 17) What are the three important manipulations done in a for loop on a loop variable in javascript?
  • 18) Microsoft has developed a popular HTML editor called?
  • 19) Which of the following is correct about features of JavaScript?
  • 20) Inside which HTML element do we put the JavaScript?
  • 21) Which company developed JavaScript?
  • 22) Which of the following is not JavaScript Data Types?
  • 23) Which tag(s) can handle mouse events in Netscape?
  • 24) What is the purpose of the Attr object in the HTML DOM?
  • 25) What is the purpose of the Attr object in the HTML DOM?
  • 26) Javascript is ideal to?
  • 27) The meaning for Augmenting classes is that:
  • 28) Which among the following POSIX signals generate events?
  • 29) What must be done in order to implement Lexical Scoping?
  • 30) How many parameters does the method plot() accept?
  • 31) What is the purpose of script loading?
  • 32) JavaScript can be written __________
  • 33) Which method receives the return value of setInterval() to cancel future invocations?
  • 34) The pop() method of the array does which of the following task ?
  • 35) What will happen if you reference document.location from within an object?
  • 36) Which is the method invoked to connect the last vertex back to the first?
  • 37) What is the need for bubble charts?
  • 38) How to get a particular value using the tagged name?
  • 39) Which of the following is the correct syntax to display "Letsfindcourse" in an alert box using JavaScript?
  • 40) What is the correct syntax for referring to an external script called "LFC.js"?
  • 41) Which of the following is not Javascript frameworks or libraries?
  • 42) Why so JavaScript and Java have similar name?
  • 43) What is the original name of JavaScript?
  • 44) In case a value of an operator is NULL, then the unary operator would return the ____________ typeof.
  • 45) Which of these keywords is used to define various functions in JavaScript?
  • 46) In which events/scenarios, A function name gets optional in JavaScript?
  • 47) The execution of a function stops when the program control encounters the _________ statement in the body of the function.
  • 48) If a function which does not return a value is known as _____
  • 49) What is the primary role of the "return ()" statement in a function body?
  • 50) What will happen if we use the "join()" method along with the "reverse()" method?
  • 51) Which one of the following given task is performed by the "pop()" method of the array?
  • 52) Both the "rduucedRight()" and "reduce()" methods follow which one of the following common operation?
  • 53) For which purpose the array "map()" methods is used ?
  • 54) Which one of the following method or operator is used for identification of the array?
  • 55) To know about an object, whether the object is a prototype (or a part of a prototype chain) of another object, the user can use_______
  • 56) The linkage of a set of prototype objects is known as______
  • 57) Every object contains three object attributes that are _______.
  • 58) What is the basic purpose of the "toLocateString()" method?
  • 59) Which of the following is the correct response by the interpreter in a jump statement when an exception is thrown?
  • 60) What if we define a "for" loop and it removes one of the properties that has not yet been enumerated?
  • 61) Which one of the following is not considered as "statement" in the JavaScript?
  • 62) What are the three important manipulations for a loop on a loop variable?
  • 63) Which one of the following symbol is used for creating comments in the javascript:
  • 64) Which one of the following is not a keyword:
  • 65) In a case, where the value of the operator is NULL , the typeof returned by the unary operator is___.
  • 66) "An expression that can legally appear on the left side of an assignment expression." is a well known explanation for variables, properties of objects, and elements of arrays. They are called_____.
  • 67) Which one of the following is an ternary operator:
  • 68) Which one of the following operator is used to check weather a specific property exists or not:
  • 69) The "new Point(3,2)", is a kind of _______ expression
  • 70) Which one of the following is used for the calling a function or a method in the JavaScript:
  • 71) Which of the following one is the property of the primary expression:
  • 72) In JavaScript, what will be used for calling the function definition expression:
  • 73) Choose the correct snippet from the following to check if the variable "a" is not equal the "NULL":
  • 74) In JavaScript the x===y statement implies that:
  • 75) Which of the following function of the String object returns the character in the string starting at the specified position via the specified number of characters?
  • 76) Which of the following number object function returns the value of the number?
  • 77) Which of the following givenfunctions of the Number Object formats a number with a different number of digits to the right of the decimal?
  • 78) When there is an indefinite or an infinite value during an arithmetic computation in a program, then JavaScript prints______.
  • 79) Which of the following type of a variable is volatile?
  • 80) Which of the following variables takes precedence over the others if the names are the same?
  • 81) The "function" and " var" are known as:
  • 82) When interpreter encounters an empty statements, what it will do:
  • 83) In JavaScript, what is a block of statement?
  • 84) Which one of the following also known as Conditional Expression:
  • 85) Which of the following is not an error in JavaScript?
  • 86) Which of the following is the property that is triggered in response to JS errors?
  • 87) Which of the following is not a framework?
  • 88) Why event handlers is needed in JS?
  • 89) Which of the following methods/operation does javascript use instead of == and !=?
  • 90) Why JavaScript Engine is needed?
  • 91) What is the basic difference between JavaScript and Java?
  • 92) Which of the following scoping type does JavaScript use?
  • 93) Which of the following explains correctly what happens when a JavaScript program is developed on a Unix Machine?
  • 94) Which of the following can be used to call a JavaScript Code Snippet?
  • 95) Which of the following object is the main entry point to all client-side JavaScript features and APIs?
  • 96) Where is Client-side JavaScript code is embedded within HTML documents?
  • 97) Arrays in JavaScript are defined by which of the following statements?
  • 98) Among the given statements, which statement defines closures in JavaScript?
  • 99) Which of the following is correct about JavaScript?
  • 100) What is JavaScript?