What are the line #'s of the function definition?
CMU CS Academy Unit 2.1.1 Functions

Quiz
•
Computers
•
9th Grade
•
Medium
Joan Goldberg
Used 244+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
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 Quizizz
13 questions
Intro to Adobe Animate

Quiz
•
9th - 12th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
10 questions
Functions and Parameters Summative preview

Quiz
•
9th - 12th Grade
7 questions
Turtle Programming - Functions Review

Quiz
•
9th - 12th Grade
10 questions
Scratch Pen Quiz

Quiz
•
KG - University
12 questions
Small Basic Quiz

Quiz
•
7th - 9th Grade
12 questions
Python Recap

Quiz
•
8th - 10th Grade
11 questions
og fortnite quiz

Quiz
•
2nd Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University