Sail E0 Webinar

MCQs

Total Questions : 40 | Page 2 of 4 pages
Question 11. What is the purpose of the canvas element?
  1.    Creates drawing surface
  2.    Exposes powerful drawing API to client-side JavaScript
  3.    Creates drawing surface & Exposes powerful drawing API to client-side JavaScript
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Creates drawing surface & Exposes powerful drawing API to client-side JavaScript
Question 12. From which version of IE is canvas supported?
  1.    7
  2.    8
  3.    9
  4.    Not yet supported
 Discuss Question
Answer: Option C. -> 9
Question 13. Which method is used to obtain the “drawing context” object ?
  1.    getContext()
  2.    getObject()
  3.    get()
  4.    getDrawing()
 Discuss Question
Answer: Option A. -> getContext()
Question 14. 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
Question 15. How does SVG describe complex shapes?
  1.    Path of lines
  2.    Path of curves
  3.    Path of lines and curves
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Path of lines and curves
Question 16. Which is the method invoked to begin a path?
  1.    begin()
  2.    path()
  3.    createPath()
  4.    beginPath()
 Discuss Question
Answer: Option D. -> beginPath()
Question 17. Which is the method invoked to connect the last vertex back to the first?
  1.    closePath()
  2.    close()
  3.    connectlast(first)
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> closePath()
Question 18. Which of the following are not the properties of a canvas object?
  1.    fillStyle
  2.    strokeStyle
  3.    lineWidth
  4.    lineSize
 Discuss Question
Answer: Option D. -> lineSize
Question 19. Which of the following is a property used to check how crisp or fuzzy shadows are?
  1.    shadowColor
  2.    shadowBlur
  3.    strokeStyle
  4.    none of the mentioned
 Discuss Question
Answer: Option B. -> shadowBlur
Question 20. How do you restore a saved coordinate system?
  1.    restore()
  2.    getback()
  3.    set()
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> restore()

Latest Videos

Latest Test Papers