
AP CSP Unit 3 Simple Review
Authored by Brian Rehmann
Computers
9th - 12th Grade
Used 108+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which of the following is NOT true about functions in programming?
Functions are reusable programming abstractions.
Functions help reduce the complexity of writing and maintaining programs.
Functions cannot make calls to other functions within the same program.
Once defined, a function can be called many times from different parts of a program.
Functions help break a problem into logical chunks.
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
A piece of code you can use over and over again
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
15 mins • 1 pt
What is the most likely outcome of running the code shown at right?
It will draw a star with each side 150 pixels long.
The program will stop with an error at line 3 because parameters may not be used in for loops.
The program will stop with an error at line 5 because it is dividing by 0.
The program will run without error, but will not draw anything.
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which of the following images represents the most likely output produced by the code segment given below?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code. The dots are only appearing on the right side of the screen. What number should I change so the dots draw across the entire bottom?
250
330
340
450
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many waves will there be?
Between 5-20
Between 2-10
Between 100-200
Unknowable
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?