MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Select one or more benefits of ADT
A
Implementation of ADTs can be changed without requiring changes to the program that uses the ADTs
B
Modularity
C
Reuse
D
Code is easier to understand
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: -The abstract data type (ADT) is a data type that focuses on what it does by ignoring how it does. The Best example of this Abstract data type is stack and queue. Stack having its push and pop operations, but it is implemented using the array or linked list.

Detailed explanation-3: -The abstract data type (ADT) refers to a programmer defined data type together with a set operations that can be performed on that data so the choice (c) is correct.

There is 1 question to complete.