Which of the following sorting algorithms has the best average-case time complexity?

A-Level Computer Science - Revision No 5

Quiz
•
Computers
•
12th Grade
•
Hard
Elizabeth Gist
Used 1+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bubble Sort
Insertion Sort
Merge Sort
Selection Sort
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used for implementing recursion?
Queue
Stack
Linked List
Graph
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary advantage of using a linked list over an array?
Random access of elements
Fixed size
Dynamic size
Faster access time
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms is used to find the shortest path in a graph?
Depth-First Search (DFS)
Breadth-First Search (BFS)
Dijkstra's Algorithm
Kruskal's Algorithm
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary search algorithm, what is the time complexity in the worst case?
O(n)
O(log n)
O(n log n)
O(n^2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of loop is best suited when the number of iterations is known beforehand?
While loop
Do-while loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a characteristic of a recursive function?
A) A base case
B) Recursive case
C) Infinite execution
D) Self-referential call
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Machine Learning

Quiz
•
5th Grade - Professio...
20 questions
Searching and Sorting

Quiz
•
10th - 12th Grade
20 questions
ONE 6th FORM A* & Dijkstras and complexities

Quiz
•
12th Grade
20 questions
iGCSE Computer Science: Problem Solving

Quiz
•
9th - 12th Grade
20 questions
Sorting Algorithms

Quiz
•
12th Grade
20 questions
Algorithm questions

Quiz
•
12th Grade - University
25 questions
Common Algorithms

Quiz
•
9th - 12th Grade
16 questions
Unit 2 Problem solving A level computer science

Quiz
•
12th Grade - University
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University