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

Quiz
•
Computers
•
12th Grade
•
Hard
H Malaney
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
19 questions
2.2.2. Computational Methods

Quiz
•
12th Grade
10 questions
Algorithm and Problem Solving Quiz

Quiz
•
12th Grade
12 questions
Big O Notation Revision

Quiz
•
12th Grade
13 questions
Algorithms Quiz

Quiz
•
12th Grade
10 questions
Mr Bulsara

Quiz
•
12th Grade
10 questions
Search Algorithms

Quiz
•
9th - 12th Grade
15 questions
OCR A2 Computer Science Algorithms Quiz

Quiz
•
12th Grade
19 questions
Searching and sorting algorithm quiz

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University