COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
there are primitive data types, meanwhile there are what we call abstract data type, evaluate which is not one.
|
Stacks
|
|
Arrays
|
|
Trees
|
|
Tables
|
Explanation:
Detailed explanation-1: -So we can say, Primitive data types are a form of Abstract data type. It is just that they are provided by the language makers and are very specific to the language. So basically there are 2 types of data types primitives and user defined. But both of them are abstract data types.
Detailed explanation-2: -Hash Table-It is not an ADT but programmers can implement it as an ADT.
Detailed explanation-3: -A data type can be categorized into a primitive data type (for example integer, float, double etc.) or an abstract data type (for example list, stack, queue etc.).
Detailed explanation-4: -Examples of non-primitive types are Strings, Arrays, Classes, Interface, etc.
There is 1 question to complete.