Tree and Graph Data Structures

Tree and Graph Data Structures

Assessment

Flashcard

Computers

University

Hard

Created by

John Regan Asino

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

36 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a tree in data structures?

Back

A tree is a connected graph without any circuits.

2.

FLASHCARD QUESTION

Front

What defines a tree in terms of paths between vertices?

Back

If in a graph, there is one and only one path between every pair of vertices, then the graph is called a tree.

3.

FLASHCARD QUESTION

Front

What type of data structure is a tree?

Back

A tree is a non-linear data structure that organizes data in a hierarchical structure.

4.

FLASHCARD QUESTION

Front

What is the root node in a tree?

Back

The starting node from where the tree originates is called the root node.

5.

FLASHCARD QUESTION

Front

What is an edge in a tree?

Back

The connecting link between any two nodes is called an edge.

6.

FLASHCARD QUESTION

Front

What is a parent node?

Back

The node which has a branch from it to any other node is called a parent node.

7.

FLASHCARD QUESTION

Front

What is a child node?

Back

The node which is a descendant of some node is called a child node.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?