
CMU CS (2) Functions, Mouse Events, Variables, Shape Properties
Authored by Maria Cruz Farooqi
Computers
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
Which of the following is a valid function name?
None
1234
drawCircle
def
2.
MULTIPLE CHOICE QUESTION
1 min โข 1 pt
def drawBigCircle(centerX, centerY, color):
Circle(centerX, centerY, 200, 5, fill=color)
Given the above function, which of the following would be a valid function call?
drawBigCircle("purple", 20, 300)
drawBigCircle(300, "blue", 200)
drawBigCircle(200, 200, "red")
Circle(200, 300, "green")
3.
MULTIPLE CHOICE QUESTION
1 min โข 1 pt
Which of the following correctly uses the print function to print to the console?
print helloWorld
print("hello world")
print(helloWorld)
print "hello world"
4.
MULTIPLE CHOICE QUESTION
45 sec โข 1 pt
Which of the following shapes does not have a radius property?
Circle
Rect
RegularPolygon
Star
5.
MULTIPLE CHOICE QUESTION
45 sec โข 1 pt
Which of the following is not a fill or border property?
borderStyle
fill
dashes
borderWidth
6.
MULTIPLE CHOICE QUESTION
45 sec โข 1 pt
What do you click to run all of the test cases given in the problem?
Run button
Reset
Test case 1
Autograder
7.
MULTIPLE CHOICE QUESTION
45 sec โข 1 pt
Which of the following is false about global variables?
They should be used sparingly
They are used to refer to shapes
They should be used all the time
They can be used inside and outside of functions
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
27 questions
Hardware and software 1ยบ Bach
Quiz
โข
11th Grade
27 questions
TestOut Quiz CMT+ N/O
Quiz
โข
10th Grade - University
32 questions
Year 9 Digital Media and Sound Assessment
Quiz
โข
10th Grade
35 questions
Puertos PC
Quiz
โข
9th Grade
29 questions
Exam Revision 3
Quiz
โข
12th Grade
30 questions
Banana Tales - Mid Test 01/2021
Quiz
โข
9th - 11th Grade
29 questions
BLENDER INTRO_2
Quiz
โข
9th - 12th Grade
26 questions
Legislation and Privacy Quiz
Quiz
โข
9th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
โข
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
โข
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
โข
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
โข
3rd Grade
3 questions
Integrity and Your Health
Lesson
โข
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
โข
5th Grade
9 questions
FOREST Perception
Lesson
โข
KG
20 questions
Main Idea and Details
Quiz
โข
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
โข
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
โข
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
โข
9th Grade
10 questions
Exponent Rules
Quiz
โข
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
โข
9th - 10th Grade