MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Select all correct descriptions of an ADT
A
Logical Description
B
How we view the data
C
What possible operations it can perform
D
How it will behave
E
How it will be implemented
Explanation: 

Detailed explanation-1: -Abstract Data type (ADT) is a type (or class) for objects whose behavior is defined by a set of values and a set of operations. The definition of ADT only mentions what operations are to be performed but not how these operations will be implemented.

Detailed explanation-2: -Each ADT description consists of two parts: Data: This part describes the structure of the data used in the ADT in an informal way. Operations: This part describes valid operations for this ADT, hence, it describes its interface.

Detailed explanation-3: -An ADT in C is usually broken up into three distinct pieces: the application, the specification, and the implementation.

There is 1 question to complete.