MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Compound Data structure can be ____ & ____
A
Simple and Nested
B
Linear and Non Linear
C
Sequential and random
D
None of the above
Explanation: 

Detailed explanation-1: -In linear data structure, data elements are sequentially connected and each element is traversable through a single run. In non-linear data structure, data elements are hierarchically connected and are present at various levels. In linear data structure, all data elements are present at a single level.

Detailed explanation-2: -Trees and Graphs are the types of non-linear data structures. Tree: The tree is a non-linear data structure that is comprised of various nodes. The nodes in the tree data structure are arranged in hierarchical order.

Detailed explanation-3: -Non-primitive data structures are divided into linear and non-linear data structures. Arrays and linked lists are examples of linear data structure and trees, graph are examples of non-linear data structure.

There is 1 question to complete.