AP CSP Unit 3 Simple Review

AP CSP Unit 3 Simple Review

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

emtech

emtech

12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

IT related jobs

IT related jobs

9th Grade

9 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

AP CSP Unit 3 Simple Review

AP CSP Unit 3 Simple Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Brian Rehmann

Used 103+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How much blue will there be in the Sea Grass?

Between 5-20

Between 2-10

Between 100-200

0