MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
____ data structures are those whose sizes and structures associated memory locations are fixed at compile time.
A
linear
B
homogeneous
C
static
D
dynamic
Explanation: 

Detailed explanation-1: -Static data structures have fixed sizes, structures and memory locations at compile time.

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. Example of Static Data Structures: Array.

Detailed explanation-3: -Arrays are the best example of static data structures as they are of a fixed size and we can modify their data later.

Detailed explanation-4: -Arrays. An array is a structure of fixed-size, which can hold items of the same data type.

There is 1 question to complete.