Search Header Logo

JavaScript Canvas Introduction Quiz

Authored by Brooke Townsend

Computers

9th - 12th Grade

Used 3+ times

JavaScript Canvas Introduction Quiz
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

30 sec • 1 pt

Media Image

If the following code is entered:

fill(0, 255, 200);

ellipse(300, 100, 40, 40);

Which point would appear on the canvas?

A

B

C

D

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following codes would result in the ellipse drawn?

ellipse(200, 200, 300, 100);

ellipse(300, 100, 100, 300);

ellipse(200, 200, 100, 300);

ellipse(100, 300, 200, 200);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would appear on the canvas if this code (and nothing else) was entered?

ellipse(100, 100, 50, 50)

A circle with radius 50 in the centre of the canvas

A circle with radius 100 in the upper left area of the canvas

A circle with radius 50 in the upper left area of the canvas

nothing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would appear on the canvas if this code (and nothing else) was entered?

elipse(100, 100, 50, 50);

A circle with radius 50 in the centre of the canvas

A circle with radius 100 in the upper left area of the canvas

A circle with radius 50 in the upper left area of the canvas

nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would you see if the following code was run:

ellipse(200, 200, 600, 600);

A really big circle in the centre

A circle in the bottom right corner

Nothing

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would appear on screen with the code shown?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the code for this program, what order must the ellipses instructions occur?

Blue first,

then Yellow,

then Red

Red first,

then Blue,

then Yellow

There is no way of knowing

Red first,

then Yellow,

then Blue

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?