Search Header Logo

CodeHS Unit 3: The Canvas and Graphics - Quizizz Review

Authored by Colleen Leeson

Computers

10th Grade

Used 4+ times

CodeHS Unit 3: The Canvas and Graphics - Quizizz Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the top-left corner coordinate of the canvas?

(0, 0)

(1, 1)

(100, 100)

(canvasWidth, canvasHeight)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function returns the width of the canvas?

getCanvasWidth()

getWidth()

canvas.width

getScreenWidth()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function returns the height of the canvas?

getHeight()

canvasHeight()

getCanvasHeight()

screen.height

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What coordinate system does the canvas use?

Cartesian with origin at bottom-left

Cartesian with origin at top-left

Polar coordinates

Grid-based coordinates

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to create a new graphics object?

create

new

draw

object

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does new Circle(50) create?

A circle with diameter 50

A circle with radius 50

A circle at position (50, 50)

A circle with area 50

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to add a graphic object to the canvas?

draw(object)

canvas.add(object)

add(object)

render(object)

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?