Search Header Logo

AP CSP Unit 3 Simple Review

Authored by Brian Rehmann

Computers

9th - 12th Grade

Used 108+ times

AP CSP Unit 3 Simple Review
AI

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

Function
Abstraction
Non-Function

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

Media Image

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

Media Image

Which of the following images represents the most likely output produced by the code segment given below?

Media Image
Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

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?