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
20 questions
Code.org Express 1 - BLOCKLY

Flashcard
•
KG - University
20 questions
Data Structures Flashcard

Flashcard
•
KG - University
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
26 questions
Big-O Notation

Flashcard
•
12th Grade
23 questions
Comp 210 MT2 Review

Flashcard
•
University
25 questions
Big-O Notation

Flashcard
•
12th Grade
20 questions
Linked List

Flashcard
•
Professional Development
20 questions
Logo Thon Flashcard Competition

Flashcard
•
University
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Summer

Quiz
•
KG - University
19 questions
Minecraft

Quiz
•
6th Grade - Professio...
20 questions
3rd Grade Review

Quiz
•
KG - University
15 questions
Minecraft

Quiz
•
University
52 questions
Logos Trivia

Quiz
•
KG - University
7 questions
New national park celebrates Harriet Tubman's legacy

Interactive video
•
11th Grade - University
8 questions
2 Step Word Problems

Quiz
•
KG - University
20 questions
Disney characters

Quiz
•
KG - Professional Dev...