
AP CSP Unit 7: Parameters, Returns, and Libraries
Authored by Corianne VanderWerf
Computers
9th - 12th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is a benefit of using a library in a program?
simplification
increases time
removes testing
reduces abstractions
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Parameter
the value passed to the parameter
used to return the flow of control to the point where the procedure (also known as a function) was called and to return the value of expression.
Extracting shared features to generalize functionality
a variable in a function definition. Used as a placeholder for values that will be passed through the function.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Argument
The subdivision of a computer program into separate subprograms
the value passed to the parameter
a variable in a function definition. Used as a placeholder for values that will be passed through the function.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Return
Extracting shared features to generalize functionality
a group of functions (procedures) that may be used in creating new programs
The subdivision of a computer program into separate subprograms
used to return the flow of control to the point where the procedure (also known as a function) was called and to return the value of expression.
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Procedural abstraction
a group of functions (procedures) that may be used in creating new programs
Extracting shared features to generalize functionality
The subdivision of a computer program into separate subprograms
Application Program Interface - specifications for how functions in a library behave and can be used
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is another word for a function?
function
command
abstraction
to call
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
If I want to make a function I must add parameters.
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade