Search Header Logo

Event Handling

Authored by Preethi Rajasekaran

Computers

5th - 12th Grade

Used 5+ times

Event Handling
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the ASCII code value for down arrow key?

38

40

37

39

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When the width of the screen is 700, which of the events is valid

mousedown

touchstart

mousemove

all the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct event?

keyDown

keydown

keyPress

KeyDown

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?