Many of the terms used in trees relate to terms used in family trees. Having this in mind can help us to better understand some of the terminology involved with abstract trees. Here we have a sample family tree.
Ancestor
- The ancestors of a node are those reached from child to parent relationships. We can think of this as our parents and our parent’s parents, and so on.- Let’s look at all of the ancestors of each of our nodes in the family tree.
- Ava’s ancestors: Uzzi, Joe, Myra. This is because, Uzzi is the parent of Ava, Joe is the parent of Uzzi, and Myra is the parent of Joe. Try to work out the following and click the name to reveal the ancestors.
- Let’s look at all of the ancestors of each of our nodes in the family tree.
Descendant
- The descendants of a node are those reached from parent to child relationships. We can think of this as our children and our children’s children and so on.- Let’s look at all of the descendants of each of our nodes in the family tree.
- Ava’s descendants: None. Ava has no child nodes and thus, no descendants. Try to work out the following and click the name to reveal the descendants.
- Let’s look at all of the descendants of each of our nodes in the family tree.
Siblings
- Nodes which share the same parent- We can think about the siblings of all of our nodes in the family tree.
- Ava’s siblings: Bev - Uzzi is the parent node of Ava; Uzzi has two child nodes, Ava and Bev. Try to work out the following and click the name to reveal the siblings.
- We can think about the siblings of all of our nodes in the family tree.