COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
True
|
|
False
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -Int, float, strings, list, set etc all are ADTs. Now when you implement them in any language then they become concrete types.
Detailed explanation-2: -The mathematical concept of an integer, along with operations that manipulate integers, form a data type. The int variable type is a physical representation of the abstract integer. The int variable type, along with the operations that act on an int variable, form an ADT.
Detailed explanation-3: -The array is a basic abstract data type that holds an ordered collection of items accessible by an integer index. These items can be anything from primitive types such as integers to more complex types like instances of classes.
Detailed explanation-4: -An abstract data type in data structure can be that of a list data structure, stack data structure and a queue data structure. Several valid operations on a particular data structure are defined in the abstract data type.
Detailed explanation-5: -Examples: Array, List, Map, Queue, Set, Stack, Table, Tree, and Vector are ADTs.