
Algorithm Study Guide
Flashcard
•
Computers
•
9th - 11th Grade
•
Practice Problem
•
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Side by Side Unit 1
Flashcard
•
9th - 12th Grade
22 questions
Genetics: Mendel's Laws
Flashcard
•
9th - 12th Grade
15 questions
Unit II Test Review Bio A (Ch. 3-5)
Flashcard
•
9th - 11th Grade
17 questions
India Sports
Flashcard
•
8th - 12th Grade
20 questions
Earthquakes and Volcanoes
Flashcard
•
9th Grade
20 questions
Chemical formula and balancing equation
Flashcard
•
9th Grade
18 questions
Bradstreet's "Upon the Burning of Our House"
Flashcard
•
11th Grade
20 questions
Unit 3. What the Future Holds
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade