AP CSP 1st Semester Review 2023

AP CSP 1st Semester Review 2023

Assessment

Flashcard

Computers

12th Grade

Easy

Created by

Quizizz Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

51 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What do parameters used in a procedure provide?

Back

A way to get values into the procedure, making the code more flexible

2.

FLASHCARD QUESTION

Front

Why should procedures be used?

Back

They make writing and maintaining programs easier through the reuse of code

3.

FLASHCARD QUESTION

Front

An extra piece of information passed to a function to customize it for a specific need

Back

Parameter

4.

FLASHCARD QUESTION

Front

What is displayed as a result of running the program? Options: Foxtrot, Hotel, November, Yankee

Back

November

5.

FLASHCARD QUESTION

Front

A placeholder for a piece of information that can change.  This is also a term in math.

Back

variable

6.

FLASHCARD QUESTION

Front

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?

Back

Media Image

7.

FLASHCARD QUESTION

Front

What is this operator? &&

Back

and

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?