Home / CSE MCQs / Javascript MCQs :: serverside-clientside-scripting

CSE MCQs :: Javascript MCQs

  1. What is the alternative command used in Node for load()?
  2. A.
    store()
    B.
    module()
    C.
    log()
    D.
    require()

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Among the below given functions, Node supports which of the following client-side timer functions?
  4. A.
    getInterval()
    B.
    Interval()
    C.
    clearTime()
    D.
    clearTimeout()

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which is the in-house library of Yahoo!?
  6. A.
    Dojo
    B.
    YUI
    C.
    Prototype
    D.
    Closure

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What does Dojo and YUI have in common?
  8. A.
    Facilitates DOM utilities and UI Widgets
    B.
    Doesnot facilitates DOM utilities and UI Widgets
    C.
    Client-side library
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which of the following are not advanced services?
  10. A.
    Data storage
    B.
    Networking
    C.
    XMLHttpRequest object
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. One of the main advantage of using src attribute is
  12. A.
    It becomes self-cached
    B.
    It makes the HTML file modular
    C.
    It restricts manipulation in the HTML file
    D.
    It simplifies the HTML files

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which identifier is used to represent a web browser window or frame?
  14. A.
    frames
    B.
    window
    C.
    location
    D.
    frame

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which handler is triggered when the content of the document in the window is stable and ready for manipulation?
  16. A.
    onload
    B.
    manipulate
    C.
    create
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. What does Rhino do when the getter and setter methods exist?
  18. A.
    It becomes JavaScript properties
    B.
    Java classes are used to avoid them
    C.
    Both a and b
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. When the "end event fires on EOF when no more data will arrive, which function is called?
  20. 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