SLR5 | Algorithms

SLR5 | Algorithms

12th Grade

15 Qs

quiz-placeholder

Similar activities

April Revision APCSP

April Revision APCSP

12th Grade

17 Qs

Data Structures using C

Data Structures using C

12th Grade - University

20 Qs

G10 CS Bubble Search

G10 CS Bubble Search

12th Grade

15 Qs

Insert Sort

Insert Sort

12th Grade

10 Qs

Algorithm questions

Algorithm questions

12th Grade - University

20 Qs

ONE 6th FORM A* & Dijkstras and complexities

ONE 6th FORM A* & Dijkstras and complexities

12th Grade

20 Qs

AP CSP Linear Search

AP CSP Linear Search

12th Grade

10 Qs

APCSA Search & Sort

APCSA Search & Sort

9th - 12th Grade

15 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?