MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An ADT gives you specific details on how it will run within a particular algorithm
A
True
B
False
C
Either A or B
D
None of the above
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.

Detailed explanation-2: -ADT is called as Abstract because-A. It is collection of different data types.

Detailed explanation-3: -An ADT does not specify how the data type is implemented. These implementation details are hidden from the user of the ADT and protected from outside access, a concept referred to as encapsulation. A data structure is the implementation for an ADT.

Detailed explanation-4: -Specifications are means to formally define the behavior of a software system or a module, and form the basis for testing an implementation. Axiomatic specification technique is one of the methods to formally specify an abstract data type (ADT).

There is 1 question to complete.