CMU CS Academy Unit 2 Functions

Quiz
•
Computers
•
9th Grade
•
Medium
Daniel Angel
Used 108+ times
FREE Resource
Student preview

11 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the line #'s of the function definition?
38
39
40
41
43
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the line #'s of the function body?
38
39
40
41
43
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the line #'s of the function call?
38
39
40
41
43
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select the function parameters
x
y
color
140
'red'
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select the function arguments
x
y
color
140
'red'
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the function name?
def drawCompartment(x, y, color):
def drawCompartment
drawCompartment
drawCompartment(140, 105, 'red')
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The function body must be indented.
True
False
Create a free account and access millions of resources
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade