Sail E0 Webinar

MCQs

Total Questions : 20 | Page 2 of 2 pages
Question 11. Which of the following is the true regarding prototype
  1.    We can add new properties at later stage to a function which will be shared across all the instances
  2.    The prototype is an object
  3.    Prototype is associated with every functions and objects by default
  4.    All the Options
 Discuss Question
Answer: Option D. -> All the Options
Question 12. How do we keep data inside an Object ?
  1.    Key : value
  2.    key = value
  3.    value : key
  4.    key = value
 Discuss Question
Answer: Option A. -> Key : value
Question 13. What is exception Handling ?
  1.    Error Handling
  2.    Options Handling
 Discuss Question
Answer: Option A. -> Error Handling
Question 14. Which of the following is false about AJAX ?
  1.    AJAX IS Asystematic Javascript and XML
  2.    Update a web page without reloading the page
  3.    Request and Recieve data from a server - after the page has loaded
  4.    Send data to a server - in the background
 Discuss Question
Answer: Option A. -> AJAX IS Asystematic Javascript and XML
Question 15. Which of the following is a use case of AJAX ?
  1.    Google Maps : A user can drag an entire map by using the mouse, rather than clicking on a button.
  2.    Google Suggest : As you type, Google offers suggestions. Use the arrow keys to navigate the results.
  3.    Chat room and messaging
  4.    All the options
 Discuss Question
Answer: Option D. -> All the options
Question 16. What is the correct jQuery code to set the background color of all p elements to red?
  1.    $("p").manipulate("background-color","red");
  2.    $("p").style("background-color","red");
  3.    $("p").layout("background-color","red");
  4.    $("p").css("background-color","red");
 Discuss Question
Answer: Option D. -> $("p").css("background-color","red");
Question 17. Which of the following is a benefit of using a web service?
  1.    Web services allows you to expose the functionality of your existing code over the network. Once it is exposed on the network, other application can use the functionality of your program.
  2.    Web services allow various applications to talk to each other and share data and services among themselves.
  3.    Web services use standardized industry standard protocol for the communication.
  4.    All of the above.
 Discuss Question
Answer: Option D. -> All of the above.
Question 18. Which directory of web service interface described by WSDL?
  1.    HTTP
  2.    DNS
  3.    UDDI
  4.    XML
 Discuss Question
Answer: Option C. -> UDDI
Question 19. SOAP is a format for sending messages and is also called as __________
  1.    Data Transfer protocol
  2.    Communication protocol
  3.    Network protocol
  4.    None of these
 Discuss Question
Answer: Option B. -> Communication protocol
Question 20. What is the correct jQuery code for making all div elements 100 pixels high?
  1.    $("div").height="100"
  2.    $("div").height(100)
  3.    $("div").yPos(100)
  4.    none of the above
 Discuss Question
Answer: Option B. -> $("div").height(100)

Latest Videos

Latest Test Papers