1
00:00:01,860 --> 00:00:03,210
Hey, guys, what's up?

2
00:00:03,630 --> 00:00:09,180
So today we will get a deeper understanding of how the data is actually stored in our system.

3
00:00:10,410 --> 00:00:13,080
So how are positive numbers stored?

4
00:00:13,590 --> 00:00:16,200
How are negative numbers stored?

5
00:00:16,650 --> 00:00:18,420
How are my characters?

6
00:00:20,720 --> 00:00:26,510
Stored and how the floating point numbers stored in our system.

7
00:00:27,140 --> 00:00:30,440
So let us first talk about floor positive numbers.

8
00:00:32,290 --> 00:00:32,550
OK.

9
00:00:32,630 --> 00:00:43,580
So when I write and I was 10, I will get four bytes of memory space and I will write down here.

10
00:00:44,660 --> 00:00:49,910
But obviously, this is not correct because the computer doesn't understand decimal numbers.

11
00:00:50,270 --> 00:00:52,920
It only understand binary zero and one.

12
00:00:53,660 --> 00:01:02,330
So I will get four by of space and I will write something like zero one zero zero one zero one and so

13
00:01:02,330 --> 00:01:02,480
on.

14
00:01:03,230 --> 00:01:03,460
OK.

15
00:01:03,830 --> 00:01:08,120
So for storing the positive numbers, the approach is very easy.

16
00:01:08,450 --> 00:01:15,310
Just convert positive numbers into their binary equal end.

17
00:01:16,400 --> 00:01:20,420
And we will store that by number here, for example.

18
00:01:21,350 --> 00:01:23,670
And I was wondering 123.

19
00:01:24,800 --> 00:01:33,590
So I may get four by itself, memory space and we will store the binary code length of 123.

20
00:01:34,040 --> 00:01:37,760
Suppose the biometrical end of wondering the three is one zero zero one zero one.

21
00:01:38,210 --> 00:01:39,690
So this will be stored.

22
00:01:40,700 --> 00:01:40,940
OK.

23
00:01:41,420 --> 00:01:45,210
So when I have one to store and I was five, I want to store five.

24
00:01:45,590 --> 00:01:47,330
I will store binary Quillin.

25
00:01:48,080 --> 00:01:49,460
I will store one zero one.

26
00:01:49,890 --> 00:01:50,150
OK.

27
00:01:50,660 --> 00:01:51,450
Four bytes.

28
00:01:53,030 --> 00:01:55,940
OK, so storing the positive numbers is very easy.

29
00:01:56,250 --> 00:01:58,390
Just store their binary equivalent.

30
00:01:59,390 --> 00:02:00,890
How to store negative numbers.

31
00:02:01,550 --> 00:02:02,370
So we will see.

32
00:02:02,500 --> 00:02:06,560
And sometime basically we will store or we will, we will see how to store negative numbers.

33
00:02:06,650 --> 00:02:07,430
And next we do.

34
00:02:09,380 --> 00:02:12,530
So now let us talk about how to store characters.

35
00:02:13,520 --> 00:02:23,500
So when I write Cassie, it was a I will get one bytes of memory space and I will store it here.

36
00:02:24,730 --> 00:02:29,300
But again, this is an artifact computer industry, not only binary zero and one.

37
00:02:30,010 --> 00:02:35,890
So what happened is each character has been assigned some Wickwire value, some integer value.

38
00:02:36,220 --> 00:02:36,470
OK.

39
00:02:36,760 --> 00:02:42,670
So each character has been assigned some integer values known as Wickwire Values.

40
00:02:47,520 --> 00:02:57,450
So the fair value of small is 97, B is ninety eight, C is ninety nine and so on.

41
00:02:57,900 --> 00:03:06,060
Similarly, the value of capital is 65, B is 66 and so on.

42
00:03:08,160 --> 00:03:11,480
Similarly, the value of character one is for.

43
00:03:11,910 --> 00:03:12,600
And so on.

44
00:03:13,510 --> 00:03:16,260
OK, so storing characters are very easy.

45
00:03:16,570 --> 00:03:22,530
Just we will store the Oscar value of the corresponding character.

46
00:03:23,210 --> 00:03:23,450
OK.

47
00:03:23,730 --> 00:03:30,160
So each character has been assigned some Wickwire value and did ask a value will be converted into binary.

48
00:03:30,990 --> 00:03:32,940
And then we will store the binding number.

49
00:03:34,200 --> 00:03:36,000
For example, if you want to store a character.

50
00:03:36,850 --> 00:03:40,700
So closely, it will be converted to 97.

51
00:03:40,830 --> 00:03:43,170
With the help of the Oskay will lose.

52
00:03:44,910 --> 00:03:46,150
So this is Oskay table.

53
00:03:48,960 --> 00:03:51,870
And then this 97 will be converted to binary.

54
00:03:52,770 --> 00:03:55,330
And that binary will be stored in one by itself.

55
00:03:55,350 --> 00:03:56,850
Memory space.

56
00:03:58,110 --> 00:04:02,370
OK, so now let's talk about how the floating point numbers are stored.

57
00:04:05,120 --> 00:04:11,320
So how the floating by numbers are stored, for example, are flawed.

58
00:04:12,590 --> 00:04:15,270
If it was one point thirty.

59
00:04:16,880 --> 00:04:21,830
So what we will do wonder indoor temperate about minus two.

60
00:04:22,760 --> 00:04:25,320
So we all know float is a four bytes.

61
00:04:25,880 --> 00:04:27,250
So that is 22 bits.

62
00:04:27,830 --> 00:04:31,780
So 26 bits will stored 123.

63
00:04:32,210 --> 00:04:36,540
And the remaining six, six bits may be used to store minus two.

64
00:04:37,850 --> 00:04:39,650
We know how to store a positive number.

65
00:04:40,170 --> 00:04:45,650
We will convert it into binary and then we will store it and then we will store here.

66
00:04:46,400 --> 00:04:48,260
Now how to store negative numbers.

67
00:04:48,920 --> 00:04:51,330
I already told you we will see it in the next read.

68
00:04:53,220 --> 00:04:53,460
OK.

69
00:04:53,900 --> 00:04:55,370
So how does store negative numbers?

70
00:04:55,580 --> 00:04:57,590
We will see it in the next video.

71
00:04:58,880 --> 00:05:02,590
Now let us revise surveils during the pause.

72
00:05:02,590 --> 00:05:11,100
You're doing numbers just to convert into binary for storing the characters with the help of escape

73
00:05:11,110 --> 00:05:13,850
table ASCII values, which are integers.

74
00:05:14,240 --> 00:05:20,050
And then we will convert that in Beijing to binary and stored and four floating.

75
00:05:20,900 --> 00:05:25,000
I have 26 bids plus six minutes.

76
00:05:25,970 --> 00:05:27,050
These are positive.

77
00:05:27,650 --> 00:05:28,710
So we know how to store.

78
00:05:29,120 --> 00:05:32,560
And for the six bids, we will see it in the next video.

79
00:05:32,660 --> 00:05:32,960
Okay.

80
00:05:33,980 --> 00:05:35,300
Binary form.

81
00:05:37,140 --> 00:05:40,520
Now, in the next video, we will learn how to store negative numbers.

82
00:05:41,040 --> 00:05:41,310
OK.

83
00:05:41,610 --> 00:05:42,930
So this is it for this video.

84
00:05:43,050 --> 00:05:43,860
Thanks for watching.
