Home / CSE / Javascript - CS :: Document Object Model and Event Handling

CSE :: Javascript - CS

  1. Which of the following are the features of jQuery?

  2. A.

     Efficient query method for finding the set of document elements

    B.

     Expressive syntax for referring to elements in the document

    C.

     Useful set of methods for manipulating selected elements

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which of the following is a single global function defined in the jQuery library?

  4. A.

     jQuery()

    B.

     $()

    C.

     Queryanalysis()

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following is a factory function?

  6. A.

     $()

    B.

     jQuery()

    C.

     Queryanalysis()

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which is the code that asks for the set of all div elements in a document?

  8. A.

     var divs = $(div);

    B.

     var divs = jQuery("div");

    C.

     var divs = $("div");

    D.

     var divs = #("div");

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which is the method that operates on the return value of $()?

  10. A.

     show()

    B.

     css()

    C.

     click()

    D.

     done()

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Consider the following code snippet

    script src="jquery-1.4.2.min.js"></script>

    What does the min mean?

  12. A.

     Minimised version

    B.

     Miniature

    C.

     Minimised parameters

    D.

     Minimum value

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following is a heavily overloaded function?

  14. A.

     jQuery()

    B.

     $()

    C.

     script()

    D.

     Both jQuery() and $()

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following is an equivalent replacement of $(document).ready(f)?

  16. A.

     jQuery(f)

    B.

     $(f)

    C.

     #(f)

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following is a utility function in jQuery?

  18. A.

     jQuery.each()

    B.

     jQuery.parseJSON()

    C.

     jQuery.noConflict()

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following is used for parsing JSON text?

  20. A.

     jQuery.each()

    B.

     jQuery.parseJSON()

    C.

     jQuery.noConflict()

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum