CMU CS Academy Unit 2.2.1 Mouse Press Events MC
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Joan Goldberg
Used 78+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
13 questions
Copyrights and Wrongs Assessment
Quiz
•
9th - 12th Grade
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
20 questions
KELAS 7 1
Quiz
•
9th - 12th Grade
20 questions
Network topologies
Quiz
•
8th Grade - University
13 questions
Google Slides Review (4th)
Quiz
•
4th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
15 questions
visual basic 6.0 LDA
Quiz
•
9th Grade
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
