Sail E0 Webinar

MCQs

Total Questions : 87 | Page 5 of 9 pages
Question 41. The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.
  1.    scale(x, y)
  2.    none of the mentioned
  3.    translate(x, y)
  4.    rotate(angle)
 Discuss Question
Answer: Option A. -> scale(x, y)
Question 42. When the _____________ method is passed an animated image as its image argument, the user agent must use the poster frame of the animation, or, if there is no poster frame, the first frame of the animation.
  1.    measureText()
  2.    none of the mentioned
  3.    drawImage()
  4.    imageData()
 Discuss Question
Answer: Option C. -> drawImage()
Question 43. Which method must clear the pixels in the specified rectangle that also intersects the current clipping region to a fully transparent black, erasing any previous image?
  1.    none of the mentioned
  2.    fillRect(x, y, w, h)
  3.    clearRect(x, y, w, h)
  4.    strokeRect(x, y, w, h)
 Discuss Question
Answer: Option C. -> clearRect(x, y, w, h)
Question 44. The ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.
  1.    none of the mentioned
  2.    fill()
  3.    stroke()
  4.    clip()
 Discuss Question
Answer: Option B. -> fill()
Question 45. The ____________ method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule.
  1.    none of the mentioned
  2.    clip()
  3.    fill()
  4.    stroke()
 Discuss Question
Answer: Option B. -> clip()
Question 46. Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?
  1.    beginPath()
  2.    none of the mentioned
  3.    moveTo(x, y)
  4.    closePath()
 Discuss Question
Answer: Option A. -> beginPath()
Question 47. An API is an application programming interface consisting of methods and properties which allow the author to get or set data or execute commands to the user agent.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 48. Which of the following is not a type of attribute for input tag?
  1.    time
  2.    month
  3.    week
  4.    day
 Discuss Question
Answer: Option D. -> day
Question 49. The new __________ element is supposed to represent some form of extra details, such as a tooltip or revealed region that may be shown to a user.
  1.    menu
  2.    details
  3.    progress
  4.    meter
 Discuss Question
Answer: Option B. -> details
Question 50. The __________ element may contain not just links but also other interactive items, including the newly introduced command element.
  1.    progress
  2.    details
  3.    menu
  4.    meter
 Discuss Question
Answer: Option D. -> meter

Latest Videos

Latest Test Papers