Loading, please wait...

Java Script MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

11. A Javascript developed in Unix machine

  • will throw errors and exceptions
  • must be restricted to a Unix Machine only C.
  • will be displayed as a JavaScript text on the browser
  • will work perfectly well on a Windows Machine

12. Output is

<script type="text/javascript" language="javascript"> 
  
var a = "GeeksforGeeks"; 
var result = a.substring(4, 5); 
document.write(result); 
  
</script> 
  • sf
  • s
  • sk
  • sfk

13. Original Name of Javascript is

  • Mocha
  • LiveScript
  • Escript
  • Javascript

14. What is the output?

int a==2;
int b=4;
int ans=a+b;
print(ans);
  • 2
  • 6
  • error
  • 0

15. What are the types of Pop up boxes available in JavaScript?

  • Prompt
  • Alert
  • Confirm
  • All of the above