COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Homogenous
|
|
Non-homogenous
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -non-homogenous. Type of data structures, data values of different types are grouped and stored.
Detailed explanation-2: -What is the difference between Homogeneous/Heterogeneous data structure? Homogeneous Data Structure – Data elements will be of same data type (ex: Array). Heterogeneous Data Structure – Data elements may not be of same data type (ex: List, Tuples, Sets etc…).
Detailed explanation-3: -Homogeneous and Non-homogeneous data structures Homogeneous data structure: Homogeneous data structures are those in which data of same type can be stored. For example, Array, stack, queue, tree and graph.
Detailed explanation-4: -The array is a data structure used to store homogeneous elements at contiguous locations. The size of an array must be provided before storing data.