WorksheetsEvent Handling
Total questions: 10
Worksheet time: 3mins
What is the expansion of ASCII?
American Scientific Code for Information Interchange
American Standard Code for Information Interchange
American Standard Code for Interchanging Information
American Scientific Code for Interchanging Information
What is the ASCII code value for down arrow key?
38
40
37
39
When you want to draw something on the canvas, what are the two required events?
mousedown and mouseup
mousedown and mousemove
mousemove and mouseleave
mouseleave and mouseup
When the width of the screen is 700, which of the events is valid
mousedown
touchstart
mousemove
all the above
When you wanted to show the movement of a player and remove the image shown on the previous x and y position, which library will be helpful
ml5.js
p5.js
fabric.js
Which of the following is the correct event?
keyDown
keydown
keyPress
KeyDown
What is the purpose of clearRect()
sets the pixels in a rectangular area to transparent
clears the specified pixels within a given rectangle
to clear the canvas
all the above
What are the parameters passed inside the method clearRect()
width,height,x,y
x,y,width,height
both
Operators can be used for comparison
= , ==
== , !=
=, !=
all the above
refers to the event when a mouse is released after click
mouseleave
mouseup
mousemove
none of the above
