PadhaikoAll subjects

Past exam question: 2062 Baishakh (Regular / Back), Q2(a)(i)

Data Structure and Algorithms · 1 marks

Open in the Padhaiko app

Topic: Introduction

Question

Define abstract data type.

Solution

Definition of Abstract Data Type (ADT): An Abstract Data Type (ADT) is a mathematical specification of a data structure that defines the set of valid values and the permitted operations (with preconditions/postconditions) independently of any concrete memory layout or implementation.

Answer:

An ADT defines a data type purely by its domain of values and operation signatures while hiding physical storage and implementation details.

All past exam questions for Data Structure and Algorithms