
CMU CS Academy Unit 2 Part 2
Authored by Maria Cruz Farooqi
Computers
9th Grade
Used 1+ times

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 is the primary function of 'on mouse press'?
To create a circle on the canvas
To capture the location of a mouse click
To change the color of an element
To release the mouse button
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a function in Python?
Using the 'function' keyword
Using the 'def' keyword
Using the 'func' keyword
Using the 'declare' keyword
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when 'on mouse press' is triggered?
The program exits
A circle's color changes to red
A circle is moved to a new location
A circle is created at the mouse click location
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What syntax is used to define the parameters of 'onmousepress'?
x, y
mousex, mousey
clickx, clicky
positionx, positiony
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between 'on mouse press' and 'on mouse release'?
'on mouse press' changes the color of the circle
'on mouse release' is triggered when the mouse button is released
They are the same
'on mouse press' captures mouse location, 'on mouse release' does not
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What color does the circle change to on mouse release?
Red
Yellow
Blue
Green
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What visual feedback is provided when a mouse event is triggered?
A message is displayed
A circle is drawn on the canvas
A sound is played
The cursor changes shape
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
What is a computer
Quiz
•
KG - University
10 questions
Working with tables
Quiz
•
5th - 12th Grade
16 questions
KS3 Quiz
Quiz
•
6th - 12th Grade
16 questions
pictorial drawings'
Quiz
•
8th - 12th Grade
12 questions
Typing shortcuts
Quiz
•
4th - 9th Grade
15 questions
Computer DESKTOP - CESA
Quiz
•
7th Grade - University
9 questions
Windows Movie Maker Starter 2
Quiz
•
6th Grade - University
10 questions
Lesson 9 Advanced Compositing
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade