Sail E0 Webinar

MCQs

Total Questions : 80 | Page 4 of 8 pages
Question 31. The main purpose of JavaScript in web browser is to
  1.    Creating animations and other visual effects
  2.    User Interface
  3.    Visual effects
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> Creating animations and other visual effects
Question 32. A JavaScript program can traverse and manipulate document content through
  1.    Element Object
  2.    Document Object
  3.    Both Element and Document Object
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Both Element and Document Object
Question 33. The behaviour of the document elements can be defined by
  1.    Using document object
  2.    Registering appropriate event handlers
  3.    Using element object
  4.    All of the mentioned
 Discuss Question
Answer: Option B. -> Registering appropriate event handlers
Question 34. The service(s) that enables networking through scripted HTTP requests is
  1.    XMLHttpResponse
  2.    XMLRequest
  3.    XMLHttpRequest
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> XMLHttpRequest
Question 35. The HTML5 specification includes
  1.    Data storage
  2.    Graphics APIs
  3.    Other APIs for web apps
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned
Question 36. Which of the following are not advanced services?
  1.    Data storage
  2.    Networking
  3.    XMLHttpRequest object
  4.    None of the mentioned
 Discuss Question
Answer: Option D. -> None of the mentioned
Question 37. What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?
  1.    Unobtrusive JavaScript
  2.    Obtrusive JavaScript
  3.    Inherited JavaScript
  4.    Modular JavaScript
 Discuss Question
Answer: Option A. -> Unobtrusive JavaScript
Question 38. Client-side JavaScript code is embedded within HTML documents in
  1.    A URL that uses the special javascript:encoding
  2.    A URL that uses the special javascript:stack
  3.    A URL that uses the special javascript:protocol
  4.    A URL that uses the special javascript:code
 Discuss Question
Answer: Option C. -> A URL that uses the special javascript:protocol
Question 39. JavaScript code between a pair of “script” tags are called
  1.    Non-inline
  2.    External
  3.    Referenced
  4.    Inline
 Discuss Question
Answer: Option D. -> Inline
Question 40. Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?
  1.    Static Web Pages
  2.    Interactive Web Pages
  3.    Conditional Web Pages
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Interactive Web Pages

Latest Videos

Latest Test Papers