FlashKeepers

Computer Science · College · College and University

Discrete Math for Computer Science, Unit 6: Trees (Discrete Math)

Discrete Math for Computer Science, unit: Trees (Discrete Math). Core concepts, terminology, and worked-example cues a college student meets for this unit, building on prior units without repeating them. Front: a term, concept, or short problem cue. Back: the definition, explanation, or answer.

About this set

38 basic cards for College Computer Science. Set 6 of 8 in Discrete Math for Computer Science. It opens with "What is a tree, formally, in discrete math?" and "What is a rooted tree?". Study it alongside the other College sets below.

38 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is a tree, formally, in discrete math?
Show answerA connected acyclic graph with n vertices and exactly n minus 1 edges
What is a rooted tree?
Show answerA tree with one designated vertex, called the root, from which all other vertices descend
What is a leaf, in a tree?
Show answerA vertex with no children
What is the height of a tree?
Show answerThe length of the longest path from the root to any leaf
What is a binary tree?
Show answerA tree where each vertex has at most two children
What is a spanning tree?
Show answerA subgraph that includes all vertices of a graph and is itself a tree
What is a minimum spanning tree?
Show answerA spanning tree with the smallest possible total edge weight
What algorithm is commonly used to find a minimum spanning tree?
Show answerKruskal's algorithm or Prim's algorithm
What is the relationship between vertices and edges in any tree?
Show answerA tree with n vertices always has exactly n minus 1 edges
What is a forest, in graph theory?
Show answerA collection of disjoint trees
What is tree traversal?
Show answerThe process of visiting every vertex of a tree in a systematic order
What is preorder traversal?
Show answerVisiting the root, then the left subtree, then the right subtree
What is inorder traversal?
Show answerVisiting the left subtree, then the root, then the right subtree
What is postorder traversal?
Show answerVisiting the left subtree, then the right subtree, then the root
What is a binary search tree?
Show answerA binary tree where left children are smaller and right children are larger than their parent

23 more cards in the app

Study this set free