Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Which of the following browsers use Webkit?
  1.    Chrome
  2.    Internet Explorer
  3.    Safari
  4.    Both a and c
 Discuss Question
Answer: Option D. -> Both a and c


Webkit is what Chrome and Safari use, and is your target for most mobile web development since it is used as the layout or rendering engine for Android devices as well as mobile Safari for iOS devices and the Silk browser on Kindle Fires.


Question 2. What is the returning value of the getContext() method?
  1.    Drawing model
  2.    CanvasRenderingContext2D object
  3.    Context2D object
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> CanvasRenderingContext2D object


Call getContext() with the argument "2d to obtain a CanvasRenderingContext2D object that you can use to draw two-dimensional graphics into the canvas. It is important to understand that the canvas element and its context object are two very different objects.


Question 3. What is the purpose of the JavaScript Engine?
  1.    Compiling the JavaScript
  2.    Interpreting the JavaScript
  3.    Both a and b
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Interpreting the JavaScript


The JavaScript Engine is generally used for interpreting the JavaScript.


Question 4. From which version of IE is canvas supported?
  1.    7
  2.    8
  3.    9
  4.    Not yet supported
 Discuss Question
Answer: Option C. -> 9


The canvas element is not supported by IE before IE9, but it can be reasonably well emulated in IE6, 7, and 8.


Question 5. What is the return type of the remote server?
  1.    HTTP Response
  2.    HTTP Request
  3.    Get Request
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> HTTP Response


The remote server finds the resource and returns it in an HTTP Response, the status of which is 200 to indicate a good response.


Question 6. Which is the method invoked to begin a path?
  1.    begin()
  2.    path()
  3.    createPath()
  4.    beginPath()
 Discuss Question
Answer: Option D. -> beginPath()


The beginPath() is used to begin a new path.


Question 7. Which of the following is not the property of the video tag?
  1.    width
  2.    height
  3.    breadth
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> breadth


The video tag does not contain a breadth property.


Question 8. Which of the following elements are used to include audio?
  1.    audio
  2.    video
  3.    svg
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> audio


The audio tag is used to include audio in the HTML document.


Question 9. Which HTML element is used to include images?
  1.    image
  2.    img
  3.    src
  4.    sourceimg
 Discuss Question
Answer: Option B. -> img


Web pages include images using the HTML img element.


Question 10. Which of the following attributes are common to both audio and video?
  1.    enter
  2.    control
  3.    controls
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> controls


Both audio and video support a controls attribute.


Latest Videos

Latest Test Papers