Difference between revisions of "2022 Paper 1 Revision Quiz"
(→Trees) |
(→Sorting Algorithms) |
||
Line 219: | Line 219: | ||
=Sorting Algorithms= | =Sorting Algorithms= | ||
<quiz display=simple> | <quiz display=simple> | ||
− | { | + | {Which sorting algorithm uses 'Divide & Conquer' strategy? |
|type="()"} | |type="()"} | ||
− | + | + | - Bubble Sort. |
+ | ||Incorrect | ||
+ | + Merge Sort. | ||
+ | ||Correct | ||
+ | - Neither. | ||
+ | ||Incorrect | ||
+ | |||
+ | {Which sorting algorithm will complete a number of passes? | ||
+ | |type="()"} | ||
+ | + Bubble Sort. | ||
||Correct | ||Correct | ||
− | - | + | - Merge Sort. |
+ | ||Incorrect | ||
+ | - Neither. | ||
+ | ||Incorrect | ||
+ | |||
+ | {Which sorting algorithm will break a list into multiple lists containing a single value? | ||
+ | |type="()"} | ||
+ | - Bubble Sort. | ||
||Incorrect | ||Incorrect | ||
− | - | + | + Merge Sort. |
+ | ||Correct | ||
+ | - Neither. | ||
+ | ||Incorrect | ||
+ | |||
+ | {Which sorting algorithm will be recursive? | ||
+ | |type="()"} | ||
+ | - Bubble Sort. | ||
+ | ||Incorrect | ||
+ | + Merge Sort. | ||
+ | ||Correct | ||
+ | - Neither. | ||
+ | ||Incorrect | ||
+ | |||
+ | {Which sorting algorithm will sort the list with N-1<sup>2</sup> comparisons? | ||
+ | |type="()"} | ||
+ | + Bubble Sort. | ||
+ | ||Correct | ||
+ | - Merge Sort. | ||
||Incorrect | ||Incorrect | ||
− | - | + | - Neither. |
||Incorrect | ||Incorrect | ||
+ | |||
</quiz> | </quiz> | ||
Revision as of 10:33, 2 June 2022
Contents
Recursion
Arrays
Abstract Data Types & Dynamic vs Static
Queues
Stacks
Graphs
Trees
Graph Traversal
Searching Algorithms
Sorting Algorithms
Optimisation Algorithms
Order of Complexity