Home / CSE / Javascript - CS :: Invocation and Performance Navigation

CSE :: Javascript - CS

  1. What is the purpose of the method createDocumentFragment()?

  2. A.

     Creates a fragment object

    B.

     Creates a document fragment

    C.

     Creates imaginary node object

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What is the default value of the asyc attribute?

  4. A.

     0

    B.

     1

    C.

     False

    D.

     True

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What is the method to create a data frame ?

  6. A.

     frame(data)

    B.

     frameData()

    C.

     data.frame()

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What is the purpose of creating a data frame?

  8. A.

     Hold the page render time

    B.

     Hold the load time

    C.

     Hold the page render time & load time

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which of the following navigator object properties is the same in both Netscape and IE?

  10. A.

     navigator.appCodeName

    B.

     navigator.appName

    C.

     navigator.appVersion

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which best explains getSelection()?

  12. A.

     Returns the VALUE of a selected OPTION

    B.

     Returns document.URL of the window in focus

    C.

     Returns the value of cursor-selected text

    D.

     Returns the VALUE of a checked radio input

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following are client-side JavaScript object?

  14. A.

     Database

    B.

     Cursor

    C.

     Client

    D.

     FileUpLoad

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. What is the purpose of the method localeCompare()?

  16. A.

     If the reference string comes before or after another string

    B.

     If the reference string is validated

    C.

     If the string is a reference string

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. When the “end” event fires on EOF when no more data will arrive, which function is called?

  18. A.

     s.on("data",f);

    B.

     s.on("end",f);

    C.

     s.on("error",f);

    D.

     s.on("default",f);

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. To define each of the set classes as a property of the sets object (namespace) for the module, the statement is

  20. A.

     sets = sets.AbstractEnumerableSet.extend();

    B.

     sets.SingletonSet = sets.AbstractEnumerableSet.extend(...);

    C.

     sets.SingletonSet = sets.extend(...);

    D.

     sets = sets.extend(...);

    View Answer

    Workspace

    Discuss Discuss in Forum