A-Level Computer Science - Revision No 6

A-Level Computer Science - Revision No 6

12th Grade

20 Qs

quiz-placeholder

Similar activities

Search and Sort Algorithms

Search and Sort Algorithms

10th Grade - University

16 Qs

Paper 2 Revision

Paper 2 Revision

10th Grade - University

15 Qs

Sorting Algorithms

Sorting Algorithms

9th - 12th Grade

25 Qs

Unit 1 Vocabulary

Unit 1 Vocabulary

9th - 12th Grade

21 Qs

Computer Science Principles Unit 1 Vocabulary Solutions

Computer Science Principles Unit 1 Vocabulary Solutions

10th - 12th Grade

15 Qs

iGCSE Computer Science: Problem Solving

iGCSE Computer Science: Problem Solving

9th - 12th Grade

20 Qs

Program Efficiency 2

Program Efficiency 2

12th Grade

15 Qs

Searching and Sorting

Searching and Sorting

10th - 12th Grade

20 Qs

A-Level Computer Science - Revision No 6

A-Level Computer Science - Revision No 6

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Elizabeth Gist

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Bubble Sort

Insertion Sort

Merge Sort

Selection Sort

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the best-case scenario for Quick Sort?

O(n)

O(nlogn)

O(n^2)

O(logn)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following cases is Bubble Sort most efficient?

Large unsorted arrays

Small unsorted arrays

Arrays with elements in random order

Arrays that are already mostly sorted

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data structure is used in the implementation of a recursive algorithm?

Queue

Stack

Array

Linked List

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a characteristic of a greedy algorithm?

It makes a locally optimal choice at each step

It always finds the global optimum solution

It builds up a solution piece by piece

It is often faster than dynamic programming

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the space complexity of Merge Sort?

O(1)

O(logn)

O(n)

O(nlogn)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following searching algorithms has the best worst-case time complexity for an unsorted array?

Linear Search

Binary Search

Jump Search

Exponential Search

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers