
AP CSP 1st Semester Review 2023
Authored by Steven Hahn
Computers
12th Grade
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What do parameters used in a procedure provide?
A way to get values into the procedure, making the code more flexible
A way to return values calculated in the procedure back to the calling program
A way to call a procedure from within another procedure
A way to connect an API to the procedure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why should procedures be used?
They ease the workload of the processors
They facilitate the storage of data on hard drives
They make writing and maintaining programs easier through the reuse of code
They control the flow of input and output data
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An extra piece of information passed to a function to customize it for a specific need
Parameter
Library
Function
Block
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is displayed as a result of running the program?
Foxtrot
Hotel
November
Yankee
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A placeholder for a piece of information that can change. This is also a term in math.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A code segment will be used to swap the values of the variables a and b using the temporary variable temp.
Which of the following code segments correctly swaps the values of a and b ?
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is this operator? &&
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?