WEBVTT

00:00.650 --> 00:01.790
Hello, my name is Typhoon.

00:01.790 --> 00:07.130
And in this lecture of our course, you will learn about the abstract data types in C plus plus.

00:07.130 --> 00:08.420
So let's get started.

00:20.160 --> 00:27.960
An abstract data type is a type that consists of a collection of the data and associated operations

00:27.960 --> 00:30.780
for manipulating the data here.

00:30.780 --> 00:34.350
So A the abstract data was written like this.

00:34.380 --> 00:36.210
A The.

00:36.990 --> 00:47.070
T So the ADT will only mention the list of operations that can be performed, but not the implementation.

00:47.070 --> 00:54.000
And the implementation itself is hidden, which is why it's called the abstract.

00:54.030 --> 00:55.590
Abstract.

00:58.100 --> 01:03.340
So imagine we have a DVD player we usually use in our player time.

01:03.350 --> 01:12.590
The player has remote control that has a various many buttons, such as ejecting the disc playing or

01:12.590 --> 01:16.760
stopping the video increasing or decreasing volume and so forth.

01:16.760 --> 01:24.560
So similar to the ADT, we don't have any idea how the player increases the volume when we press the

01:24.560 --> 01:27.260
increasing button similar to the operation in the IDE.

01:27.590 --> 01:33.500
So we just call the increasing operation and then the player does it for us.

01:33.500 --> 01:37.580
So we don't need to know how the implementation of that.

01:38.150 --> 01:41.060
We did not know the implementation of that operation here.

01:41.060 --> 01:50.000
So regarding the process flow, we need to take into account as the ADT implement abstractions, so

01:50.000 --> 01:52.610
information hiding and encapsulation techniques here.

01:52.610 --> 02:00.270
So the explanation of these three techniques is abstraction, information, information, hiding and

02:00.270 --> 02:01.140
encapsulation.

02:01.140 --> 02:02.880
So first we have abstraction.

02:02.880 --> 02:09.570
Here, the abstraction is hiding the implementation details of the operations that are available in

02:09.570 --> 02:10.710
the ADT.

02:10.950 --> 02:21.600
And we have the actually lets me write this here we have the information hiding information.

02:21.600 --> 02:28.440
Hiding is a hiding the data which is being abstracted or affected by the implementation.

02:28.440 --> 02:33.120
And we also have the encapsulation.

02:34.810 --> 02:40.890
The encapsulation is grouping all similar data and functions into a groups here.

02:40.900 --> 02:41.980
So.

02:42.680 --> 02:49.340
Let's actually apply the cplusplus classes to build a user defined a D.

02:50.090 --> 02:53.120
So in next lecture we will start doing that.
