AP CSP Unit 10 Algorithms

Quiz
•
Computers
•
12th Grade
•
Medium
Mister Swagner
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which phrase best defines an algorithm?
exact list of clear steps
random guessing until success
picture of computer wires
secret password saved offline
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which problem is provably unsolvable for all inputs?
sorting eight random numbers
multiplying two whole numbers
deciding if any program halts
finding a name linearly
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Emma is organizing a school event and needs to arrange chairs in a grid pattern. She repeats the process of placing chairs in a row n times, and for each row, she repeats placing chairs n times. What is the overall Big-O time complexity of this chair arrangement process?
linear time in n
quadratic time n squared
constant time regardless size
logarithmic time log n
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Binary search only works when the list is
sorted into correct order
stored on flash drive
full of duplicate entries
limited to ten items
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Michael is organizing his collection of books on a shelf. He picks up each book one by one and places it in its correct position among the already sorted books. What is the average complexity of this sorting method?
constant time for all
n log n steps
about n squared steps
roughly log n steps
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Inside many loops, an accumulator is used to
keep a running total
index through each value
randomize entire list order
encrypt the data items
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might a map app use a heuristic instead of the perfect Traveling-Salesman answer?
guarantees absolute shortest path
uses less battery power
gets good route quickly
avoids all traffic jams
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
File Types - Information Processing Part 3

Quiz
•
5th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP

Quiz
•
1st - 12th Grade
10 questions
analysis of algorithm (lecture 2)

Quiz
•
12th Grade
20 questions
Unit 5 Quiz - Loops & Lists (code.org)

Quiz
•
10th - 12th Grade
10 questions
Ciência de Dados - Cálculo da Probabilidade de Sucesso

Quiz
•
12th Grade
18 questions
Chapitre 10 - 11

Quiz
•
12th Grade
20 questions
Networking Ch 11 Quiz Review

Quiz
•
9th - 12th Grade
20 questions
Office 2016 and Windows 10 Module

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade