CS Fundamentals: Trees & Graphs
Test your knowledge of trees and graphs — the non-linear data structures used to model everything from file systems to social networks.
Questions cover tree traversal methods, graph terminology, shortest-path algorithms like Dijkstra's, and properties of spanning trees.
These structures power a huge share of real-world software — see how comfortable you are navigating them.
Start quiz →
Opens in a new tab on Cletica
Sample questions3 of 14 shown
Q1
What is the primary difference between a tree and a graph?
Q2
How many edges does a tree with 7 nodes contain?
Q3
Which of the following are valid tree traversal methods?
What This Quiz Covers
- Tree traversal: DFS, BFS, in-order
- Directed vs. undirected graphs
- Dijkstra's algorithm for shortest paths
- Spanning trees and their properties
- Connected components
- Graph representations and terminology
Cletica
Want to create your own quiz?
Build surveys and quizzes, share with anyone, collect responses — free to start.
Try Cletica for free →