| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 5

1. Which of the following statement is not true?

Correct Answer is : SVG doesn’t support event handlers

2. To draw on the canvas, authors must first obtain a reference to a context using the ______________ method of the canvas interface element.

Correct Answer is : getContext

3. The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.

Correct Answer is : scale(x, y)

4. 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?

Correct Answer is : clearRect(x, y, w, h)

5. 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.

Correct Answer is : drawImage()