
Algorithm Study Guide

Flashcard
•
Computers
•
9th - 11th Grade
•
Medium
Lays V
Used 1+ times
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What are the two main graph traversal algorithms?
Back
Breadth-First Search (BFS) and Depth-First Search (DFS).
2.
FLASHCARD QUESTION
Front
What data structure does BFS use?
Back
A queue (FIFO - First-In, First-Out).
3.
FLASHCARD QUESTION
Front
What data structure does DFS use?
Back
A stack (LIFO - Last-In, First-Out).
4.
FLASHCARD QUESTION
Front
What is the key difference between BFS and DFS?
Back
BFS explores all neighbours at the present depth before moving to the next level, while DFS explores as far as possible along each branch before backtracking.
5.
FLASHCARD QUESTION
Front
What are the three types of tree traversal algorithms?
Back
Pre-order, in-order, and post-order traversal.
6.
FLASHCARD QUESTION
Front
What is the order of nodes in pre-order traversal?
Back
Node, Left, Right.
7.
FLASHCARD QUESTION
Front
What is the order of nodes in in-order traversal?
Back
Left, Node, Right.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
The Heart structure and function

Flashcard
•
9th - 12th Grade
18 questions
Loops, Lists, Traversals test

Flashcard
•
11th Grade
15 questions
Bell Ringers Week 19

Flashcard
•
9th - 12th Grade
17 questions
Networking Vocab

Flashcard
•
9th - 12th Grade
20 questions
Momentum Review

Flashcard
•
9th - 12th Grade
21 questions
Shipping Goods Markings

Flashcard
•
9th - 12th Grade
21 questions
Data Structures

Flashcard
•
9th - 12th Grade
20 questions
Minecraft - Questions

Flashcard
•
KG
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade