MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The data structure which expands and shrinks as per demand is called:
A
Array
B
Dynamic
C
Linked list
D
Non-linear
Explanation: 

Detailed explanation-1: -Some of the examples of dynamic data structures are LinkedList, Stack, Vector, etc.

Detailed explanation-2: -Structural dynamics is a type of structural analysis which covers the behavior of a structure subjected to dynamic (actions having high acceleration) loading. Dynamic loads include people, wind, waves, traffic, earthquakes, and blasts.

Detailed explanation-3: -A dynamic array is a random access, variable-size list data structure that allows elements to be added or removed. It is supplied with standard libraries in many modern programming languages. Dynamic arrays overcome a limit of static arrays, which have a fixed capacity that needs to be specified at allocation.

Detailed explanation-4: -A static data structure is one that has a fixed size and cannot change at run time A dynamic list is able to adapt to accommodate the data inside it and so it does not waste as much space.

There is 1 question to complete.