AP CSP Unit 10 Review

AP CSP Unit 10 Review

Assessment

Flashcard

Computers

11th Grade

Easy

Created by

Quizizz Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

13 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of the following is true of algorithms? Algorithms may have an infinite set of instructions, Algorithms must be expressed using a programming language, Every algorithm can be constructed using combinations of sequencing, selection, and iteration, Every problem can be solved with an algorithm

Back

Every algorithm can be constructed using combinations of sequencing, selection, and iteration

2.

FLASHCARD QUESTION

Front

The following algorithm is followed by a person every morning when they get up from bed to go to school. Which concept does this algorithm BEST demonstrate?

Back

Sequencing

3.

FLASHCARD QUESTION

Front

Which of these algorithms will move the robot along the same path as the algorithm below?

Back

Media Image

4.

FLASHCARD QUESTION

Front

What term best defines the problem of designing a bus system to minimize walking distance to bus stops?

Back

An optimization problem

5.

FLASHCARD QUESTION

Front

The algorithm below is used to find the largest element in a list of numbers. By modifying one of the lines in the program it is possible to make the algorithm find the SMALLEST element. Which line would need to be modified and how? Options: Line 01 becomes target <- list[0], Line 04 becomes IF (num < target), Line 04 becomes IF (num = target), Line 01 becomes list[1] <- target

Back

Line 04 becomes IF (num < target)

6.

FLASHCARD QUESTION

Front

Which of the following algorithms is the same as the flowchart shown below?

Back

Media Image

7.

FLASHCARD QUESTION

Front

This graph shows the efficiencies of two different algorithms that solve the same problem. Which of the following is most efficient? These algorithms are equally efficient, Algorithm A is more efficient than algorithm B, Algorithm B is more efficient than algorithm A, The algorithms have different efficiencies depending on the input size.

Back

The algorithms have different efficiencies depending on the input size

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?