An ___ can be defined as a step-by-step sequence of instructions to solve a problem

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
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 Quizizz
26 questions
Big-O Notation

Flashcard
•
12th Grade
25 questions
Big-O Notation

Flashcard
•
12th Grade
16 questions
Searching and Sorting

Flashcard
•
University
18 questions
Fundamentals of data Structures & Linked list

Flashcard
•
University
20 questions
Code.org Express 1 - BLOCKLY

Flashcard
•
KG - University
20 questions
DAA Introduction Flashcard

Flashcard
•
KG - University
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
23 questions
CSP Unit 6 Review

Flashcard
•
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