Unit 9 Flashcard 1

Unit 9 Flashcard 1

Assessment

Flashcard

Created by

Quizizz Content

Computers

9th - 12th Grade

Hard

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

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?