Search Header Logo

JavaScript

Authored by syam gunawan

Computers

Professional Development

Used 41+ times

JavaScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which code fragment sets up a timer that calls a function named "adjust" every second?

setTimeout(adjust, 1);

setTimeout(adjust, 1000);

setInterval(adjust, 1);

setInterval(adjust, 1000);

2.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which two functions support 2D transformations in CSS3?

skew()

zoom()

move()

scroll()

matrix()

3.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which three events are valid for the HTML CANVAS element?

scroll

mouseup

blur

datareceived

hover

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which element should you use to rotate an SVG square?

path

ANIMATETRANSFORM

ANIMATEMOTION

AREA SHAPE

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

When you are working with the path API, what is the purpose of the clip method?

pastes a shape object in from the system clipboard

constrains the rendered output of the shape object

copies the shape object to the system clipboard

stores the shape object for later reference in script

6.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

When you are using the GeoLocation API, which two arguments does the getCurrentPosition function utilize?

success callback

MAC address

browser type

ip address

failure callback

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which JavaScript method allows you to register multiple handlers for a single touch event?

dispatchEvent

initUIEvent

addEventListener

initEvent

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?