What is a merge sort?
Show the stages in the merge sort for the following:
{38, 27, 43, 3, 9, 82, 10}
GCSE Computing Flash Quiz
Quiz
•
Computers
•
10th - 11th Grade
•
Easy
Dan Hawker
Used 5+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What is a merge sort?
Show the stages in the merge sort for the following:
{38, 27, 43, 3, 9, 82, 10}
Divide and Conquer method suitable for large lists, or lists that are more unordered
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Show how an insertion sort works
You have a sorted and unsorted list, with the sorted list usually on the left. Each new item from the unsorted list is then inserted into the sorted list. Like sorting out a hand of playing cards
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is abstraction?
Getting rid of unnecessary detail and concentrating on the important parts.
You must use the word "unnecessary"
It makes things less complicated, which means its quicker and simpler to program.
.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is Decomposition?
Breaking a problem down into smaller parts the are easier to understand.
Problem >> Sub-problem >> smaller parts until each problem can be solved
.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How does Binary Search work?
The list must be sorted for this search method to work.
Split the list into two equal lists (find the midpoint)
Compare search term (target value) with midpoint.
If target value greater than midpoint, discard the first half. If lesser, discard the second half.
Repeat until item is found
NB if the list has an even number of items N, then the mid point is the N / 2 item. For odd numbers of items, the mid point is the item in the middle (N/2 rounded up)
If a question asks you to compare to Linear Search, use the word "whereas" in your answer. E.g., a binary search requires a sorted list, whereas a linear list does not
.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How does Linear Search work?
Linear search can work on unsorted lists
Each item on the list is taken in turn and compared to the target value, until it is found! Or until the entire list is checked and the item is not included
If a question asks you to compare to Binary Search, use the word "whereas" in your answer. E.g., a binary search requires a sorted list, whereas a linear list does not
.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How does bubble sort work?
Takes a list and compares the first 2 values. If the second is less than the first, do a swap.
Then continue and compare each "pair" of adjacent items along the list, and swap where needed. Continue until the end of the list is reached.
Then repeat from the start
Keep repeating until the order of the list doesn't change
Low values "bubble" to the top of the list, and large values "sink" to the bottom of the list.
The bubble sort is simple to understand, but inefficient in most cases compared to e.g., insertion sort
.
10 questions
GCSE Computer Science 9-1: Sorting Algorithms
Quiz
•
10th Grade - University
12 questions
Sort and Searching Algorithm Assessment
Quiz
•
10th Grade
9 questions
C++ Quiz 5: Searching and Sorting Algorithms
Quiz
•
7th - 12th Grade
16 questions
2.1 Linear and Binary Searching Algorithms
Quiz
•
8th - 10th Grade
15 questions
AP CSP Exam Review: Big Idea 3
Quiz
•
8th - 10th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms
Quiz
•
10th - 12th Grade
16 questions
Subroutines
Quiz
•
9th - 11th Grade
16 questions
Searching and Sorting Algorithms
Quiz
•
9th - 10th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes
Quiz
•
9th - 12th Grade