Sail E0 Webinar

MCQs

Total Questions : 25 | Page 2 of 3 pages
Question 11. Which of the following is NOT a valid starting character for JS variable names?
  1.    Uppercase Letter
  2.    Lowercase Letter
  3.    Dollar Sign
  4.    Underscore
 Discuss Question
Answer: Option C. -> Dollar Sign
Question 12. What will be the output of the following javascript code
  1.    False
  2.    Ture
 Discuss Question
Answer: Option B. -> Ture
Question 13. Is JavaScript case sensitive language?
  1.    Yes
  2.    No
  3.    Depends on the browser
  4.    Depends on the platform
 Discuss Question
Answer: Option A. -> Yes
Question 14. JavaScript is designed for following purpose -
  1.    To Style HTML Pages
  2.    To Perform Server Side Scripting Opertion
  3.    To add interactivity to HTML Pages.
  4.    To Execute Query Related to DB on Server
 Discuss Question
Answer: Option C. -> To add interactivity to HTML Pages.
Question 15. We cannot Place JS Code in the body tag
  1.    True
  2.    False.
 Discuss Question
Answer: Option B. -> False.
Question 16. ______ tag is an extension to HTML that can enclose any number of JavaScript statements
 Discuss Question
Answer: Option B. -> False.
Question 17. What is the correct JavaScript syntax to write "Hello World"?
  1.    System.out.println("Hello World")
  2.    println ("Hello World")
  3.    document.write("Hello World")
  4.    response.write("Hello World")
 Discuss Question
Answer: Option C. -> document.write("Hello World")
Question 18. The ____ object allows you to change to a new web page from within javascript code
  1.    Location
  2.    clearInterval()
  3.    Both A & B
  4.    None of these
 Discuss Question
Answer: Option A. -> Location
Question 19. Which of the following is not a feature of javascript?
  1.    Lightweight
  2.    Good for the applications which are network-centric
  3.    Object oriented
  4.    Open source
 Discuss Question
Answer: Option C. -> Object oriented
Question 20. In asps, the code to tie the database to the web site is typically written in javascript or ____
  1.    VBScript
  2.    Visual Basic
  3.    Both A & B
  4.    None of these
 Discuss Question
Answer: Option A. -> VBScript

Latest Videos

Latest Test Papers