CMU CS Academy Unit 2 Part 3

CMU CS Academy Unit 2 Part 3

9th Grade

10 Qs

quiz-placeholder

Similar activities

DISPOSITIVOS DE ENTRADA Y DE SALIDA

DISPOSITIVOS DE ENTRADA Y DE SALIDA

6th - 9th Grade

12 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

Thinglink

Thinglink

9th - 12th Grade

10 Qs

PERIFÉRICOS

PERIFÉRICOS

5th - 12th Grade

14 Qs

Working with tables

Working with tables

5th - 12th Grade

10 Qs

Cascading Style Sheets

Cascading Style Sheets

8th - 12th Grade

11 Qs

CMU CS Academy Unit 2 Part 3

CMU CS Academy Unit 2 Part 3

Assessment

Interactive Video

Computers

9th Grade

Practice Problem

Medium

Created by

Maria Cruz Farooqi

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?