
CS1 Unit Review: Searching and Sorting Algorithms

Flashcard
•
Computers
•
University
•
Easy
Jack Bandy
Used 4+ times
FREE Resource
Student preview

29 questions
Show all answers
1.
FLASHCARD QUESTION
Front
An ___ can be defined as a step-by-step sequence of instructions to solve a problem
Back
algorithm
2.
FLASHCARD QUESTION
Front
The ___-sort algorithm works by repeatedly swapping neighboring numbers in a list if they are out of order, until the whole list is in order.
Back
Bubble
3.
FLASHCARD QUESTION
Front
The ___-sort algorithm works by splitting a list in half and separately sorting the two halves.
Back
Merge
4.
FLASHCARD QUESTION
Front
The ___-sort algorithm works by repeatedly finding the smallest number in an unsorted list.
Back
Selection
5.
FLASHCARD QUESTION
Front
For the binary search algorithm to work, the input list needs to be:
Back
Sorted
6.
FLASHCARD QUESTION
Front
Binary search in a sorted list of 7 items: How many items are eliminated if the key is not found in the first check?
Back
4
7.
FLASHCARD QUESTION
Front
Given a sorted list and a prize (or "key") to find, which search algorithm would you expect to perform best?
Back
Binary search
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
NSCC-CODE TO COIN

Flashcard
•
University
20 questions
LISTS in Python

Flashcard
•
University
19 questions
Understanding Data Abstraction Flashcard

Flashcard
•
12th Grade - University
20 questions
Semester 1 Review

Flashcard
•
12th Grade
18 questions
Algorithm Implementation in Computer Science Flashcard

Flashcard
•
12th Grade
21 questions
AP CSP Semester 1 Exam

Flashcard
•
12th Grade
20 questions
Data Structures Flashcard

Flashcard
•
KG - University
20 questions
Logo Thon Flashcard Competition

Flashcard
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade