Search Header Logo

CMU CS Academy Unit 2 Part 5

Authored by Maria Cruz Farooqi

Computers

9th Grade

Used 1+ times

CMU CS Academy Unit 2 Part 5
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

What operation can you perform with mouse coordinates to adjust object positions?

Subtraction only

None, positions are fixed

Any mathematical operation

Multiplication only

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why must you ensure math operations keep values within a specific range?

To avoid runtime errors

To speed up the program

To use less memory

To make the code shorter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you divide mouse coordinates by 4 in a canvas with a maximum value of 400?

It reduces the canvas size

It has no effect on the values

It multiplies the values by 4

It ensures values stay within 0 to 100

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of ensuring circle opacity stays within 0 to 100?

To decrease memory usage

To increase program speed

To prevent errors related to invalid opacity values

To maintain color accuracy

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you move an object to the right with each mouse press?

Increase its x-coordinate

Rotate the object

Increase its y-coordinate

Decrease its x-coordinate

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of adding 10 to the left coordinate of an object?

It moves the object to the left

It moves the object down

It moves the object up

It moves the object to the right

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does incrementing an object's position demonstrate?

How to change object color

How to animate objects

How to rotate objects

How to resize objects

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?