| 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: 20

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()

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

Correct Answer is : clip()

7. The ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.

Correct Answer is : fill()

8. Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?

Correct Answer is : beginPath()

9. Which event is fired as the mouse is moving over an element when a drag is occurring?

Correct Answer is : dragover

10. The _________ event is fired on the element where the drop occurred at the end of the drag operation.

Correct Answer is : drop

11. Which of the following property is common in all drag events?

Correct Answer is : dataTransfer

12. _____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.

Correct Answer is : Dragging Text

13. Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.

Correct Answer is : preventDefault

14. Which of the following property is used to determine which drag operation was desired?

Correct Answer is : dropEffect

15. ______________ should include data of two types; the first should be the URL using the type text/uri-list, and the second is the URL using the text/plain type.

Correct Answer is : Dragging Links

16. A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.

Correct Answer is : TRUE

17. _____________ and elements in a document may be dragged using the application/x-moz-node type.

Correct Answer is : Dragging Nodes

18. In OSI model USB lies under the layer ___________

Correct Answer is : physical layer

19. IP is used in the level ___________

Correct Answer is : network layer

20. Which one is not the feature of HTTP protocol?

Correct Answer is : responsive