Search Header Logo

A-Level Computer Science - Revision No 5

Authored by Elizabeth Gist

Computers

12th Grade

Used 1+ times

A-Level Computer Science - Revision No 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 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

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

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?