CMU CS Academy Unit 2 Part 5

CMU CS Academy Unit 2 Part 5

9th Grade

10 Qs

quiz-placeholder

Similar activities

Python Basics Quiz

Python Basics Quiz

9th Grade

15 Qs

Python

Python

9th - 12th Grade

15 Qs

Formulas in Excel

Formulas in Excel

6th - 9th Grade

10 Qs

AP Computer Science Principles - Unit 4: Variables, Conditionals

AP Computer Science Principles - Unit 4: Variables, Conditionals

9th - 12th Grade

10 Qs

operators in java

operators in java

8th - 9th Grade

13 Qs

Java Programming

Java Programming

9th Grade - University

11 Qs

Java

Java

9th Grade - University

11 Qs

Java Code Questions

Java Code Questions

9th Grade - University

11 Qs

CMU CS Academy Unit 2 Part 5

CMU CS Academy Unit 2 Part 5

Assessment

Interactive Video

Computers

9th Grade

Medium

Created by

Maria Cruz Farooqi

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?