Home / CSE / Javascript - CS :: Server Side and Client Side Scripting

CSE :: Javascript - CS

  1. The main purpose of JavaScript in web browser is to

  2. A.

     Creating animations and other visual effects

    B.

     User Interface

    C.

     Visual effects

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. A JavaScript program can traverse and manipulate document content through

  4. A.

     Element Object

    B.

     Document Object

    C.

     Both Element and Document Object

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. The behaviour of the document elements can be defined by

  6. A.

     Using document object

    B.

     Registering appropriate event handlers

    C.

     Using element object

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. The service(s) that enables networking through scripted HTTP requests is

  8. A.

     XMLHttpResponse

    B.

     XMLRequest

    C.

     XMLHttpRequest

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The HTML5 specification includes

  10. A.

     Data storage

    B.

     Graphics APIs

    C.

     Other APIs for web apps

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following are not advanced services?

  12. A.

     Data storage

    B.

     Networking

    C.

     XMLHttpRequest object

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. JavaScript code between a pair of “script” tags are called

  14. A.

     Non-inline

    B.

     External

    C.

     Referenced

    D.

     Inline

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Client-side JavaScript code is embedded within HTML documents in

  16. A.

     A URL that uses the special javascript:encoding

    B.

     A URL that uses the special javascript:stack

    C.

     A URL that uses the special javascript:protocol

    D.

     A URL that uses the special javascript:code

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?

  18. A.

     Unobtrusive JavaScript

    B.

     Obtrusive JavaScript

    C.

     Inherited JavaScript

    D.

     Modular JavaScript

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?

  20. A.

     Static Web Pages

    B.

     Interactive Web Pages

    C.

     Conditional Web Pages

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum