CMU CS Academy Unit 2.1.1 Functions
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Joan Goldberg
Used 250+ times
FREE Resource
Enhance your content in a minute
8 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
8.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
How many times is line 39 executed?
1
8
9
Depends
Similar Resources on Wayground
0 questions
college and career readiness
Quiz
•
0 questions
College Readiness Quiz
Quiz
•
0 questions
Interview and Workplace Questions
Quiz
•
0 questions
Business Law
Quiz
•
0 questions
TSA Statesman Degree Test 2
Quiz
•
0 questions
Presidential Physical Fitness Test
Quiz
•
0 questions
Virginia DUI Laws Quiz
Quiz
•
0 questions
CM Final Review #1
Quiz
•
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
