1
00:00:00,650 --> 00:00:01,790
Hello, my name is Typhoon.

2
00:00:01,790 --> 00:00:07,130
And in this lecture of our course, you will learn about the abstract data types in C plus plus.

3
00:00:07,130 --> 00:00:08,420
So let's get started.

4
00:00:20,160 --> 00:00:27,960
An abstract data type is a type that consists of a collection of the data and associated operations

5
00:00:27,960 --> 00:00:30,780
for manipulating the data here.

6
00:00:30,780 --> 00:00:34,350
So A the abstract data was written like this.

7
00:00:34,380 --> 00:00:36,210
A The.

8
00:00:36,990 --> 00:00:47,070
T So the ADT will only mention the list of operations that can be performed, but not the implementation.

9
00:00:47,070 --> 00:00:54,000
And the implementation itself is hidden, which is why it's called the abstract.

10
00:00:54,030 --> 00:00:55,590
Abstract.

11
00:00:58,100 --> 00:01:03,340
So imagine we have a DVD player we usually use in our player time.

12
00:01:03,350 --> 00:01:12,590
The player has remote control that has a various many buttons, such as ejecting the disc playing or

13
00:01:12,590 --> 00:01:16,760
stopping the video increasing or decreasing volume and so forth.

14
00:01:16,760 --> 00:01:24,560
So similar to the ADT, we don't have any idea how the player increases the volume when we press the

15
00:01:24,560 --> 00:01:27,260
increasing button similar to the operation in the IDE.

16
00:01:27,590 --> 00:01:33,500
So we just call the increasing operation and then the player does it for us.

17
00:01:33,500 --> 00:01:37,580
So we don't need to know how the implementation of that.

18
00:01:38,150 --> 00:01:41,060
We did not know the implementation of that operation here.

19
00:01:41,060 --> 00:01:50,000
So regarding the process flow, we need to take into account as the ADT implement abstractions, so

20
00:01:50,000 --> 00:01:52,610
information hiding and encapsulation techniques here.

21
00:01:52,610 --> 00:02:00,270
So the explanation of these three techniques is abstraction, information, information, hiding and

22
00:02:00,270 --> 00:02:01,140
encapsulation.

23
00:02:01,140 --> 00:02:02,880
So first we have abstraction.

24
00:02:02,880 --> 00:02:09,570
Here, the abstraction is hiding the implementation details of the operations that are available in

25
00:02:09,570 --> 00:02:10,710
the ADT.

26
00:02:10,950 --> 00:02:21,600
And we have the actually lets me write this here we have the information hiding information.

27
00:02:21,600 --> 00:02:28,440
Hiding is a hiding the data which is being abstracted or affected by the implementation.

28
00:02:28,440 --> 00:02:33,120
And we also have the encapsulation.

29
00:02:34,810 --> 00:02:40,890
The encapsulation is grouping all similar data and functions into a groups here.

30
00:02:40,900 --> 00:02:41,980
So.

31
00:02:42,680 --> 00:02:49,340
Let's actually apply the cplusplus classes to build a user defined a D.

32
00:02:50,090 --> 00:02:53,120
So in next lecture we will start doing that.
