MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Types of data structures are ____
A
Primitive and non-primitive.
B
Linear and non-linear.
C
Static and dynamic.
D
All above
Explanation: 

Detailed explanation-1: -When we think of data structures, there are generally four forms: Linear: arrays, lists. Tree: binary, heaps, space partitioning etc. Hash: distributed hash table, hash tree etc.

Detailed explanation-2: -String type of data structure. Queue type of data structure. Stack type of data structure. Dequeue type of data structure.

Detailed explanation-3: -Types of Data Structure Linear data structure. Non-linear data structure.

Detailed explanation-4: -A Data type is one of the forms of a variable to which the value can be assigned of a given type only. This value can be used throughout the program. A Data structure is a collection of data of different data types. This collection of data can be represented using an object and can be used throughout the program.

There is 1 question to complete.