MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An abstract data type is easy to represent graphically but not so easy in the computer. The data is abstracted, with the programming deciding upon the encapsulation around the data. This is called
A
Information hiding
B
Information suprising
C
Information melding
D
Information changing
Explanation: 

Detailed explanation-1: -Abstract Data Types are focused on what, not how (they’re framed declaratively, and do not specify algorithms or data structures). Common examples include lists, stacks, sets, etc. ADTs provide a way for us to formally define reusable modules in a way that is mathematically sound, precise, and unambiguous.

Detailed explanation-2: -A data structure, once its implementation details are hidden, becomes an Abstract Data Type (ADT)-a representation of information, which only allows to manipulate with it by means of a well-defined interface, without exposing the details of how the information is structured.

Detailed explanation-3: -Abstract data types (ADTs) are provided to enable users to define complex data types, which are structures consisting of a number of different elements, each of which uses one of the base data types provided within the Oracle product. For example, an abstract data type could be created to store addresses.

Detailed explanation-4: -Strong data encapsulation refers to the prevention of access to data defined in a class from outside of the class (e.g. by declaring a class member private). Abstract data types are types that are defined operationally as opposed to structurally.

There is 1 question to complete.