Search Header Logo

A-Level Computer Science - Revision No 6

Authored by Elizabeth Gist

Computers

12th Grade

Used 2+ times

A-Level Computer Science - Revision No 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers