Unit 9 Flashcard 1

Unit 9 Flashcard 1

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

22 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What function do you need to call to get the height of the canvas?

Back

getHeight();

2.

FLASHCARD QUESTION

Front

The anchor point of a ______ is located at its center.

Back

circle

3.

FLASHCARD QUESTION

Front

Which 2 objects share the same anchor point? Options: Circle and Rectangle, Rectangle and Web Image, Web Image and Text, Circle and Text, Rectangle and Text

Back

Rectangle and Web Image

4.

FLASHCARD QUESTION

Front

Consider the following code of a circle:
1 let circ = new Circle(50);
circ.setPosition(200, 200);
circ.setColor("blue");
add(circ);
If we wanted to move the circle 50 pixels lower, what change would we need to make?

Back

Add 50 to the second number on line 2:
1 let circ = new Circle(50);
circ.setPosition(200, 250);
circ.setColor("blue");
add(circ);

5.

FLASHCARD QUESTION

Front

If we wanted to place a rectangle with its anchor point located on the dot on the canvas, what line of code would we use? Options: rect.setPosition(300, 200); rect.setPosition(200, 300); rect.setPosition(200, -300); rect.setPosition(-300, 200);

Back

rect.setPosition(200, 300);

6.

FLASHCARD QUESTION

Front

Where is the origin of the canvas located?

Back

top left

7.

FLASHCARD QUESTION

Front

The y-coordinate decreases as you move in which direction?

Back

Down

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?