________ allow us to break our programs into smaller parts

AP CS P CodeHS Unit 5

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Shannon Walsh
Used 80+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
decisions
functions
methods
loops
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which is the correct header of a function names double_number that takes one parameter
def double number (x)
def double_number(x)
def double_number(x):
def double_number(int x):
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Everything in a function is indented by _____
One Level
Two Levels
Three Levels
In Curly Brackets ({})
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
To call a previous written function, you use the
function return type
function name without the ()
function name with () and included parameters
function name with ()
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The tasks included in a function definition are referred to as the function _______.
method
body
statements
parameters
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The variables written inside the () of a functions definition are the _____
return types
arguements
variables
parameters
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
When functions have multiple parameters, the variables are separated with
commas
colons
simi-colons
periods
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Python Function - 1

Quiz
•
11th - 12th Grade
25 questions
Python

Quiz
•
9th - 12th Grade
26 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Quiz
•
9th - 12th Grade
22 questions
Functions in RobotC

Quiz
•
7th - 11th Grade
28 questions
CSP Unit 7 Review Code.org

Quiz
•
9th - 12th Grade
30 questions
HTML and JavaScript

Quiz
•
12th Grade
30 questions
AP CSP Programming Basics

Quiz
•
10th - 12th Grade
21 questions
Quiz 1

Quiz
•
9th - 12th Grade
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