
CMU CS Academy Unit 2.2.1 Mouse Press Events MC
Authored by Joan Goldberg
Computers
9th Grade
Used 93+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How is the function onMousePress called?
By a function call to onMousePress in your program
By python when you click the mouse
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does the circle get drawn?
Circle is drawn at the point where the user clicked the mouse.
Circle is drawn at (200, 200) when the user clicks the mouse.
A circle is not drawn, the function is not called.
A circle is not drawn, there is a syntax error.
Circle is drawn at (200, 20) when the user clicks the mouse.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does the circle get drawn?
Circle is drawn at the point where the user clicked the mouse.
Circle is drawn at (200, 200).
A circle is not drawn, the function is not called.
A circle is not drawn, there is a syntax error.
Circle is drawn at (200, 20).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does the circle get drawn?
Circle is drawn at the point where the user clicked the mouse.
Circle is drawn at (200, 200).
A circle is not drawn, the function is not called.
A circle is not drawn, there is a syntax error.
Circle is drawn at (200, 20).
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does the circle get drawn?
Circle is drawn at the point where the user clicked the mouse.
Circle is drawn at (200, 200).
A circle is not drawn, the function is not called.
A circle is not drawn, there is a syntax error.
Circle is drawn at (200, 20).
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Check the valid funtion definition headers for when you click the mouse.
def onMousePress(X, Y):
def mouseWasPressed(mouseX, mouseY):
def onMousePress(mouseX, mouseY):
def onMousePress(x1, y1):
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line number is top level code?
1
2
4
5
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?