The starter and exit quiz of the lesson “Code sorting algorithms”, from the unit “Searching and sorting algorithms” (Year 10 Computing) by Oak National Academy.
Free to use. Edit it, share it and hand it out to your students.
Oak National Academy
12 questions
What is the main purpose of a sorting algorithm?
Which of the following best describes the bubble sort algorithm?
Arrange the steps of the bubble sort algorithm in the correct order:
Match the following terms with their definitions:
A ___ is an error checking method that steps through each line of code in a program and records the state of the variables and conditions.
Sam wants to use the merge sort algorithm to sort the following scores from lowest to highest. Show the order of the items after the first merge.250,120,95,101,80
What is the purpose of a trace table in programming?
Which of the following statements is true about bubble sort?
How can the performance of bubble sort be improved?
What does the efficiency of a sorting algorithm refer to?
Arrange the steps of the bubble sort algorithm with a flag in the correct order:
You have been given some playing cards that have not been sorted.The cards are in the following order4, 8, 5, 2, 9State the order of the cards after the first pass of the bubble sort algorithm.