COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Static and mutable structures
|
|
Static and immutable structures
|
|
Dynamic and mutable structures
|
|
Dynamic and immutable structures
|
Detailed explanation-1: -Static Data Structure : A static data structure is an organization or collection of data in memory which have a fixed size, that is, it can store a limited amount of elements or data in it. Array is an example of static data structure.
Detailed explanation-2: -What is a Static Data structure? In Static data structure the size of the structure is fixed. The content of the data structure can be modified but without changing the memory space allocated to it.
Detailed explanation-3: -a) array are dense list and static data structure. b) data elements in linked list need not be stored in adjacent spacein memory. c) pointer store the next data element of a list. d) linked list are collection of the nodes that contain information part and next pointer
Detailed explanation-4: -A static datatype is one which is having fixed size in memory. As we declare the array size in advance, that much bytes or space is reserved in memory and cannot be increased later. So this way an array is a Static datatype.