Search Header Logo

AP CSP 1st Semester Review 2023

Authored by Steven Hahn

Computers

12th Grade

Used 22+ times

AP CSP 1st Semester Review 2023
AI

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

Media Image

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.

variable
Editor
Item
Information item

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 ?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is this operator? &&

and
or
Remainder or mod
Multiplication

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?