SLR5 | Algorithms

SLR5 | Algorithms

12th Grade

15 Qs

quiz-placeholder

Similar activities

ONE 6th FORM A* & Dijkstras and complexities

ONE 6th FORM A* & Dijkstras and complexities

12th Grade

20 Qs

Data Structures & Algorithms

Data Structures & Algorithms

12th Grade

10 Qs

Heap Sort in Java

Heap Sort in Java

12th Grade

10 Qs

2.1 Algorithms

2.1 Algorithms

10th - 12th Grade

20 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

Sorting & Searching Algorithms

Sorting & Searching Algorithms

12th Grade

16 Qs

Graph Traversal Algorithms Quiz

Graph Traversal Algorithms Quiz

12th Grade - University

13 Qs

Algorithm questions

Algorithm questions

12th Grade - University

20 Qs

SLR5 | Algorithms

SLR5 | Algorithms

Assessment

Quiz

Computers

12th Grade

Hard

Created by

H Malaney

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a depth-first graph traversal technique?

Breadth-First Search

Depth-First Search

Dijkstra's Algorithm

Kruskal's Algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Dijkstra's algorithm, what is the primary data structure used to keep track of the shortest path?

Stack

Queue

Priority Queue

Linked List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tree traversal method visits the root node first, then the left subtree, and finally the right subtree?

In-order Traversal

Pre-order Traversal

Post-order Traversal

Level-order Traversal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of binary search in the worst-case scenario?

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes the efficiency of merge sort?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Reverse Polish Notation is also known as:

Infix Notation

Prefix Notation

Postfix Notation

Mixed Notation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about linear search?

It requires a sorted array.

It can be used on both sorted and unsorted arrays.

It is faster than binary search for large datasets.

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?