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
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
10 questions
Unit 3 - Interactive Animations and Games II

Quiz
•
9th Grade
12 questions
Homework 1 Edublocks

Quiz
•
7th - 9th Grade
8 questions
Preparing to Draw Shapes with Scratch

Quiz
•
7th - 9th Grade
10 questions
PIX-1

Quiz
•
1st - 10th Grade
10 questions
Scratch Application: Look and Pen Blocks

Quiz
•
9th Grade
11 questions
Computer Programming: Graphics

Quiz
•
8th - 11th Grade
10 questions
S3_CAD_Homework 1

Quiz
•
9th Grade
10 questions
Input Devices

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade