CMU CS Academy Unit 2 Part 3

CMU CS Academy Unit 2 Part 3

9th Grade

10 Qs

quiz-placeholder

Similar activities

CMU CS Complex Conditionals

CMU CS Complex Conditionals

9th Grade

13 Qs

Lesson17:Mouse Input and If-then else

Lesson17:Mouse Input and If-then else

9th - 12th Grade

7 Qs

Function Basics

Function Basics

9th - 12th Grade

10 Qs

Scratch Basics

Scratch Basics

7th - 9th Grade

12 Qs

CMU CS Academy Unit 2 Part 3 Mouse Release Events

CMU CS Academy Unit 2 Part 3 Mouse Release Events

9th Grade

11 Qs

CS Academy Unit 3 Review

CS Academy Unit 3 Review

9th - 11th Grade

10 Qs

CMU CS3 Unit 5

CMU CS3 Unit 5

9th - 11th Grade

10 Qs

CMU CS3

CMU CS3

9th Grade

13 Qs

CMU CS Academy Unit 2 Part 3

CMU CS Academy Unit 2 Part 3

Assessment

Interactive Video

Computers

9th Grade

Medium

Created by

Maria Cruz Farooqi

Used 7+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the primary purpose of the 'on mouse press' function?

To release the mouse click

To change the color of the canvas

To capture the location of a mouse click

To draw a circle on the canvas

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you define the 'on mouse press' function?

Using the 'def' keyword

With a mouse click

By drawing a circle

Through the canvas settings

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What parameters are commonly used in the 'on mouse press' function?

Height and Width

X and Y coordinates

Canvas size

Radius and Color

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax is used to define a function in Python?

def

function

define

func

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when the 'on mouse press' function is executed?

The canvas is cleared

A circle is moved

A circle is drawn at the mouse click location

A circle's color changes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between 'on mouse press' and 'on mouse release' events?

'On mouse press' captures mouse location, 'on mouse release' changes circle color

They perform the same action

'On mouse release' captures mouse location, 'on mouse press' changes circle color

There is no difference

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What color does the circle change to upon mouse release?

Green

Blue

Yellow

Red

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?