Which of the following is true of algorithms?

AP CSP Unit 10 Review

Quiz
•
Computers
•
11th Grade
•
Medium
Shane Chavez
Used 118+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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?
Sequencing
Selection
Iteration
Execution
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these algorithms will move the robot along the same path as the algorithm below?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A town government is designing a new bus system and are deciding where to put the different bus stops. They want to pick the collection of locations that minimizes the distance anyone needs to walk in order to get to at least one bus stop. What term best defines the kind of problem?
A decision problem
An optimization problem
An undecidable problem
An efficiency problem
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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?
Line 01 becomes target <- list[0]
Line 04 becomes IF (num < target)
Line 04 becomes IF (num = target)
Line 01 becomes list[1] <- target
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms is the same as the flowchart shown below?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Small Basic (Turtle)

Quiz
•
KG - University
10 questions
7.5.5 PLENARY

Quiz
•
9th - 12th Grade
15 questions
code.org CSP Unit 3 Review 20-21

Quiz
•
9th - 12th Grade
10 questions
AP Computer Science Principles - Unit 6: Algorithms

Quiz
•
9th - 12th Grade
14 questions
CSP - Vocab Quiz JAN2023

Quiz
•
9th - 12th Grade
14 questions
AP CSP Unit 10 Code.org

Quiz
•
11th Grade
11 questions
Problem Solving

Quiz
•
9th - 12th Grade
11 questions
40. Algorithm - Algorithm Efficiency Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University