Search Header Logo

[AP CSP] Unit 4 Review: Functions and Lists

Authored by Tommy Nguyen

Computers

9th - 12th Grade

Used 43+ times

[AP CSP] Unit 4 Review: Functions and Lists
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A collection in which the items are ordered and can be referenced by an index value.

List

Procedures

Functions

Conditions

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Repeating code that executes over a sequence of items or values.

For Loop

While Loop

Functions

Conditional Loops

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

This is a block of organized, reusable code thatis used to perform a single, related action. Examples include print(),str(), sqrt().

Lists

Parameters

Functions

Modules

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Data passed into a function for processing.

Lists

Parameters

Subroutines

Modules

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Data passed back to calling code when a function has completed its execution.

Lists

Parameters

Subroutines

Return Value

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Repeating code that executes as long as a specific condition remains True.

Conditional statement

While Loop

Function

For Loop

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

What is the output of the following code?

150.0

25.0

250.0

15.0

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?