All language subtitles for 3. Hexadecimal calculations

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese Download
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:05,330 --> 00:00:10,160 Now there are three numbering systems that use a network engineer need to know you need to know decimal 2 00:00:10,430 --> 00:00:16,040 binary and hexadecimal decimal is what's called a base 10 numbering system. 3 00:00:16,060 --> 00:00:19,650 There are 10 numbers 0 up to 9. 4 00:00:19,700 --> 00:00:22,250 I'm pretty sure you're very familiar with this numbering system. 5 00:00:22,250 --> 00:00:27,810 So a number like 128 or 255 is an example of a decimal number. 6 00:00:27,950 --> 00:00:34,150 We have binary which is a base to numbering system there are two numbers either 0 or 1. 7 00:00:34,220 --> 00:00:38,390 I've discussed binary in a separate video so if you're not sure about binary please make sure that you 8 00:00:38,390 --> 00:00:44,400 look at that video as an example 128 in binary would be this. 9 00:00:44,420 --> 00:00:51,590 So one followed by eight zeros 255 would be eight ones in binary. 10 00:00:51,590 --> 00:00:57,180 Those are examples of binary numbers based to numbering system only two numbers. 11 00:00:57,200 --> 00:01:02,600 So in other words they have fewer numbers than base 10 or decimal. 12 00:01:02,630 --> 00:01:10,430 Here we have 10 numbers here we have two numbers hexadecimal has 60 numbers so it has more numbers than 13 00:01:10,430 --> 00:01:20,830 decimal we have numbers 0 all the way to 9 similar to decimal BUT THEN WE HAVE A B C D E and F. 14 00:01:20,990 --> 00:01:24,290 So once again we have three numbering system here. 15 00:01:24,530 --> 00:01:31,700 We've got decimal which has 10 numbers binary which has two numbers hexadecimal which has 16 numbers 16 00:01:32,190 --> 00:01:32,770 hexadecimal. 17 00:01:32,840 --> 00:01:33,980 Isn't that complicated. 18 00:01:33,980 --> 00:01:36,730 You just have more numbers that you can work with. 19 00:01:36,740 --> 00:01:42,620 I'm going to compare hexadecimal to decimal now to make it easier to understand the equivalent decimal 20 00:01:42,620 --> 00:01:45,740 number for hexadecimal 0 is zero notice. 21 00:01:45,740 --> 00:01:49,760 0 2 9 is the same as Decimal. 22 00:01:49,890 --> 00:01:55,080 So if I gave you a decimal number of eight in hexadecimal it's also eight. 23 00:01:55,100 --> 00:02:01,960 Compare that to binary in binary that would look like this one would look like this in binary. 24 00:02:01,970 --> 00:02:06,480 So that's the binary prevalent but it's 1 in hexadecimal. 25 00:02:06,530 --> 00:02:11,100 This is where it gets different but all you need to remember is the following rule. 26 00:02:11,330 --> 00:02:20,280 The hexadecimal equivalent for decimal 10 is a four decimal eleven is B decimal twelve is c thirteen 27 00:02:20,300 --> 00:02:29,150 is d fourteen is e fifteen is f remember that these additional numbers equate to these numbers in decimal 28 00:02:29,570 --> 00:02:36,180 in hex we have numbers once again zero to nine and then we have a two F.. 29 00:02:36,370 --> 00:02:38,920 Now I've just put them into two separate groupings share. 30 00:02:38,930 --> 00:02:40,110 They're not really separated. 31 00:02:40,110 --> 00:02:41,760 They're all part of hexadecimal. 32 00:02:41,870 --> 00:02:47,600 I've just done that to show you what's similar to decimal and what's a little bit different to decimal 33 00:02:48,050 --> 00:02:56,130 hexadecimal values or from zero to 15 decimal zero to 15 or hexadecimal 0 to F. 34 00:02:56,630 --> 00:03:02,230 So here's a comparison showing hexadecimal binary and decimal 9. 35 00:03:02,480 --> 00:03:05,030 Looks like that 5 looks like that. 36 00:03:05,030 --> 00:03:12,500 Notice this is exactly the same as decimal once again binary values looked like that and then you just 37 00:03:12,500 --> 00:03:19,610 need to remember that ten eleven twelve thirteen fourteen fifteen is represented by numbers a b c d 38 00:03:19,670 --> 00:03:26,900 e and f notice the biggest number in hexadecimal is 15 and that's what it looks like in binary. 39 00:03:26,900 --> 00:03:34,220 So if I gave you a binary number like 1 1 0 0 the easiest way to work this out is just say what is that 40 00:03:34,220 --> 00:03:42,800 in decimal decimal that equates to a 1 decimal that equates to 2 decimal that equates to 4 and that 41 00:03:42,800 --> 00:03:44,250 equates to an 8. 42 00:03:44,300 --> 00:03:52,940 We haven't got these two but set on so it's eight plus four which is 12 which is C in hexadecimal. 43 00:03:53,090 --> 00:03:59,090 Once again if you're not sure about how to do binary two decimal or decimal two binary conversions have 44 00:03:59,090 --> 00:04:01,980 a look at the video where I discuss binary. 45 00:04:02,030 --> 00:04:10,190 Let's look at some more complicated examples such as 128 128 looks like this in binary. 46 00:04:10,220 --> 00:04:14,750 Now I've split it on purpose into two groupings of four bits. 47 00:04:14,780 --> 00:04:15,260 Why. 48 00:04:15,260 --> 00:04:22,760 Because going back here remember that the biggest number in hexadecimal is F which equates to for binary 49 00:04:22,760 --> 00:04:27,680 ones smallest number is zero which equates to for binary zeros. 50 00:04:27,680 --> 00:04:33,700 So if we take a 128 and we write it like that but we split it into groupings of four. 51 00:04:33,730 --> 00:04:39,390 But each verse equates to eight in decimal. 52 00:04:39,410 --> 00:04:46,240 This equates to zero in decimal which equals 80 in hexadecimal. 53 00:04:46,240 --> 00:04:50,420 Now it's important that you know how to work this stuff out but in the real world you'd obviously use 54 00:04:50,420 --> 00:04:55,480 a calculator so you can use a calculator to verify your answers. 55 00:04:55,520 --> 00:04:59,800 So are we using a ten base system or a 16 based system. 56 00:05:00,260 --> 00:05:04,460 Let's use 16 and specify zero. 57 00:05:04,590 --> 00:05:06,260 Remember a 16. 58 00:05:06,300 --> 00:05:18,150 That numbering system means hexadecimal base sixteen so eight is zero in hexadecimal equals 128 in decimal 59 00:05:18,690 --> 00:05:22,830 hundred twenty eight in decimal is eight zero in hexadecimal. 60 00:05:22,830 --> 00:05:27,090 And if we look at the binary it's one followed by seven zeros. 61 00:05:27,120 --> 00:05:27,340 Okay. 62 00:05:27,360 --> 00:05:30,490 What about 255 255. 63 00:05:30,570 --> 00:05:35,190 Looks like this in binary it's eight binary ones. 64 00:05:35,190 --> 00:05:38,580 If we split that in half that equals 15. 65 00:05:38,630 --> 00:05:40,470 And that equals 15. 66 00:05:40,500 --> 00:05:41,470 I'll just write it out here. 67 00:05:41,520 --> 00:05:44,820 That equals decimal 15. 68 00:05:44,820 --> 00:05:45,210 Why. 69 00:05:45,210 --> 00:05:54,270 Because that's one that's two that's four and that's eight eight plus four plus two plus one is 15 15 70 00:05:54,420 --> 00:05:57,930 in decimal equals F in hexadecimal. 71 00:05:57,930 --> 00:06:06,020 Going back to our table here that is that in decimal which equals that in hexadecimal. 72 00:06:06,060 --> 00:06:14,640 So the easiest way to work this out is to take a decimal number put it into binary. 73 00:06:14,640 --> 00:06:16,950 Break it in two groupings of four. 74 00:06:17,040 --> 00:06:24,080 Let's convert those four that's into a decimal number and that'll give you your hexadecimal number. 75 00:06:24,090 --> 00:06:26,340 So that equals f f. 76 00:06:26,340 --> 00:06:30,190 Here's another example two to four that's a decimal number. 77 00:06:30,210 --> 00:06:31,950 Convert that into binary. 78 00:06:31,950 --> 00:06:33,670 It looks like this. 79 00:06:33,690 --> 00:06:34,170 Why. 80 00:06:34,170 --> 00:06:47,310 Because that is 128 that is 64 and that is 32 128 plus 64 plus 32 equals two to four. 81 00:06:47,370 --> 00:06:53,980 So that if you split it into two groupings of four bits that is decimal zero. 82 00:06:54,120 --> 00:06:56,320 And if you look at the first four bits in decimal. 83 00:06:56,460 --> 00:06:58,970 That would be let's rewrite each year. 84 00:06:58,980 --> 00:07:00,840 So it's not confusing. 85 00:07:00,840 --> 00:07:03,740 That would be a one that would be a two. 86 00:07:03,780 --> 00:07:06,720 That would be a four and that would be an eight. 87 00:07:06,720 --> 00:07:10,580 We're not going to use one here because the binary but is set to zero. 88 00:07:10,590 --> 00:07:14,730 So it's eight plus four plus two which is 14. 89 00:07:15,150 --> 00:07:23,400 And if we go back to our table 14 in decimal is e in hexadecimal we can say it looks like that in binary 90 00:07:23,400 --> 00:07:24,330 once again. 91 00:07:24,360 --> 00:07:27,150 So that is an E. 92 00:07:27,150 --> 00:07:32,170 So this would be e zero as we can see over there. 93 00:07:32,220 --> 00:07:33,360 Okay one more example. 94 00:07:33,660 --> 00:07:38,640 So two forty two forty in binary looks like this. 95 00:07:38,640 --> 00:07:39,380 Why. 96 00:07:39,390 --> 00:07:49,370 Because 128 plus 64 plus 32 plus 16 equals 240. 97 00:07:49,500 --> 00:07:51,210 Forgive my bad handwriting. 98 00:07:51,210 --> 00:07:52,710 You split this in half. 99 00:07:52,740 --> 00:07:54,070 So this is easy. 100 00:07:54,090 --> 00:07:56,400 That equals zero in decimal. 101 00:07:56,430 --> 00:08:04,890 Here we've got four binary ones which hopefully you remember is f just going back for binary ones is 102 00:08:04,890 --> 00:08:08,010 15 or F in hexadecimal. 103 00:08:08,100 --> 00:08:14,190 So answer is F zero to 40 in hexadecimal is F zero. 104 00:08:14,220 --> 00:08:15,540 We can prove that again. 105 00:08:15,540 --> 00:08:26,780 Let's go to decimal 240 is that in hexadecimal 2 to 4 in decimal is that in hexadecimal and 255 in decimal. 106 00:08:26,780 --> 00:08:28,260 Is that in hexadecimal. 107 00:08:28,340 --> 00:08:33,730 There are the hexadecimal equivalents for these decimal values. 108 00:08:33,770 --> 00:08:40,500 Make sure that you know how to convert numbers from decimal to hexadecimal. 109 00:08:40,520 --> 00:08:47,530 Why does this become important because as an example this is a broadcast address in IP version 4. 110 00:08:47,600 --> 00:08:54,020 So in IP version 4 that means all devices on the network 255. 111 00:08:54,080 --> 00:09:01,760 Looks like that in binary it's eight binary ones 128 plus 64 plus 32 plus sixteen plus eight plus four 112 00:09:01,760 --> 00:09:10,010 plus two plus one so 255 looks like that four times if you take each of these four binary bits each 113 00:09:10,010 --> 00:09:20,000 of those equals F so we've got f f so in hexadecimal a broadcast looks like this that is a broadcast 114 00:09:20,000 --> 00:09:20,960 address. 115 00:09:21,140 --> 00:09:28,300 So on this P.C. I'm gonna ping 255 255 255 255. 116 00:09:28,550 --> 00:09:34,820 What I'll do is put this into simulation mode so we can see what's actually going on and I'll press 117 00:09:34,850 --> 00:09:35,970 enter. 118 00:09:35,980 --> 00:09:38,940 It doesn't like that in packet tracer. 119 00:09:39,080 --> 00:09:43,040 So let's ping 10 1 1 1 255. 120 00:09:43,160 --> 00:09:46,250 It's okay with us sending that traffic into the network. 121 00:09:46,250 --> 00:09:52,400 So I'll send the packet into the network and if we have a look at that packet notice the source mac 122 00:09:52,400 --> 00:09:56,350 address is the P.C. but the destination MAC address is a bunch of F's. 123 00:09:56,360 --> 00:10:02,690 Now that isn't actually a proper conversion of this IP address to broadcast but because it's what's 124 00:10:02,690 --> 00:10:08,510 called a link local broadcast we've broadcast to all the devices in the local segment Packet Tracer 125 00:10:08,510 --> 00:10:10,490 showing it like that. 126 00:10:10,490 --> 00:10:14,530 So the inbound PDA or protocol data unit shows us. 127 00:10:14,570 --> 00:10:20,450 Source MAC addresses this destination MAC addresses a bunch of FS source IP address and it's actually 128 00:10:20,450 --> 00:10:27,690 done a conversion of setting the destination IP address to 255 255 255 255. 129 00:10:27,740 --> 00:10:33,710 So even though it didn't accept that command pinging that address it actually converted that IP address 130 00:10:33,710 --> 00:10:39,970 to all hosts all networks broadcast and hence we have that at layer too. 131 00:10:39,980 --> 00:10:47,070 So once again there's the Layer 3 IP address destination is 255 255 255 255. 132 00:10:47,120 --> 00:10:50,540 And at least two it's all F's. 133 00:10:50,960 --> 00:10:54,890 Now that you understand hexadecimal conversions you understand why it did that. 134 00:10:54,890 --> 00:11:03,920 This add layer 3 looks like this at least two but a MAC address is actually 48 bits in size so it's 135 00:11:03,920 --> 00:11:06,240 folded in and it looks like this. 136 00:11:06,260 --> 00:11:14,720 We have twelve FS not eight FS like in this conversion here Mac addresses once again 12 but not simply 137 00:11:14,720 --> 00:11:15,710 8 bits. 138 00:11:15,890 --> 00:11:22,520 That's not an exact conversion like I've shown you but that's the hexadecimal equivalent of this IP 139 00:11:22,520 --> 00:11:31,700 address this IP address looks like this in binary that is binary 10 1 1 1. 140 00:11:31,910 --> 00:11:35,460 Again that's 8 that's two equals 10. 141 00:11:35,570 --> 00:11:38,690 So I'll clear that up if we split that in half. 142 00:11:38,740 --> 00:11:40,430 Notice here's a mistake. 143 00:11:40,430 --> 00:11:42,620 This is not hexadecimal. 144 00:11:42,680 --> 00:11:50,930 This is actually zero in hex and that being 10 1 0 1 0 is a. 145 00:11:51,230 --> 00:11:59,560 So it should be 0 a going back 10 in decimal is a in hexadecimal or this in binary. 146 00:12:00,020 --> 00:12:04,940 So take the decimal number convert it to binary. 147 00:12:04,940 --> 00:12:07,150 This is an IP address so it's a two bits. 148 00:12:07,250 --> 00:12:14,810 So not text zero a which in hexadecimal looks like that one in decimal looks like that in binary which 149 00:12:14,810 --> 00:12:16,620 looks like that in hexadecimal. 150 00:12:16,640 --> 00:12:17,030 Why. 151 00:12:17,030 --> 00:12:19,200 Because if we split this down the middle. 152 00:12:19,280 --> 00:12:21,410 That is a zero in hex. 153 00:12:21,410 --> 00:12:23,230 That is a 1 in hex. 154 00:12:23,360 --> 00:12:25,650 Looks like that for those three numbers. 155 00:12:25,980 --> 00:12:33,140 And if we look at two to four one two three that's two to four in binary one two three split it down 156 00:12:33,140 --> 00:12:34,240 the middle. 157 00:12:34,280 --> 00:12:35,730 That would have been a one. 158 00:12:35,900 --> 00:12:46,170 This is 2 4 8 8 plus four plus two equals fourteen which equals E in hexadecimal. 159 00:12:46,250 --> 00:12:47,360 This is zero. 160 00:12:47,360 --> 00:12:57,420 So we get easier the next one is 0 1 that's 0 that's 1 0 2 0 3. 161 00:12:57,680 --> 00:12:59,690 I've gone through a few examples hopefully that makes sense. 162 00:12:59,690 --> 00:13:05,900 Let me know if you still struggling with the theory of this but to help you. 163 00:13:06,050 --> 00:13:11,070 I've created a whole bunch of converters that can help you study. 164 00:13:11,150 --> 00:13:17,690 So as an example if I click on the first link and by the way I've given you this PowerPoint presentation 165 00:13:17,690 --> 00:13:24,200 so look at the attachments and you can download keep it for reference but you also have access to this 166 00:13:24,200 --> 00:13:25,220 converter. 167 00:13:25,220 --> 00:13:34,340 If I put a number in here like 128 another 1 2 2 4 255 255 and click convert you'll see the decimal 168 00:13:34,490 --> 00:13:39,070 binary and hex numbers and then it's done an inverse. 169 00:13:39,230 --> 00:13:42,110 So that's one followed by seven zeros. 170 00:13:42,110 --> 00:13:49,880 The inverse of that would be zero followed by seven ones which looks like that as an inverse hex number. 171 00:13:49,880 --> 00:13:52,080 So again there's the decimal number. 172 00:13:52,080 --> 00:13:55,240 There's the binary number and here's the hex number. 173 00:13:55,340 --> 00:13:57,620 And then we've got inverse of that. 174 00:13:57,650 --> 00:14:02,240 There's also a binary two decimal visual calculator. 175 00:14:02,690 --> 00:14:09,300 So if I put in a number here like 240 you'll notice that the binary string looks like that. 176 00:14:09,350 --> 00:14:13,080 This can help you work out binary numbers if you're not sure. 177 00:14:13,280 --> 00:14:21,240 240 minus 128 gives us 112 because that boat is set on we subtract 128 from 240. 178 00:14:21,240 --> 00:14:25,660 Reset that bit on we subtract 64 from 112. 179 00:14:25,670 --> 00:14:32,540 Gives us 48 and then that but on means 32 subtract from 48 gives us sixteen that bet on means sixteen 180 00:14:32,540 --> 00:14:34,530 subtracted from sixteen gives us zero. 181 00:14:34,670 --> 00:14:36,640 So the remaining bits are sector zero. 182 00:14:36,770 --> 00:14:42,760 So we've got four binary ones followed by four binary zeros for a number of 240. 183 00:14:42,950 --> 00:14:45,250 But this is probably what you're gonna be more interested in. 184 00:14:45,320 --> 00:14:50,090 I've got an unlimited hexadecimal to decimal quiz here. 185 00:14:50,090 --> 00:14:55,100 So if you've been given this hex value what is the equivalent decimal value. 186 00:14:55,100 --> 00:14:56,770 You can put in the value that you think it is. 187 00:14:56,780 --> 00:14:58,190 Let's say 1 2 3. 188 00:14:58,220 --> 00:15:00,830 Click check on it and it tells you that you've got a wrong. 189 00:15:00,920 --> 00:15:02,600 You can try that as many times as you like. 190 00:15:02,600 --> 00:15:09,170 And if you're not sure click give up and then it gives you the decimal equivalent number so you can 191 00:15:09,170 --> 00:15:13,580 use this to test your knowledge of in conversions from hex to decimal. 192 00:15:13,580 --> 00:15:18,480 You can also go through a quiz question asking you what this is in hexadecimal. 193 00:15:18,530 --> 00:15:21,680 Hopefully you'll remember that from what we studied. 194 00:15:21,680 --> 00:15:24,330 Click Submit it tells us that we've got the answer correct. 195 00:15:24,470 --> 00:15:28,070 So you can go through a whole bunch of course questions if you'd like. 196 00:15:28,070 --> 00:15:29,410 On David bubble dot com. 197 00:15:30,020 --> 00:15:35,120 OK so it's important that you know how to work with hexadecimal because you'll find it in many places 198 00:15:35,120 --> 00:15:40,100 and networking make sure that you understand the theory that you can do the conversions in the real 199 00:15:40,100 --> 00:15:46,190 world we'd use calculators but you need to know the theory first to understand how things work so that 200 00:15:46,190 --> 00:15:51,890 you can troubleshoot networks work with IP version 6 addresses and mac addresses and so forth. 201 00:15:51,920 --> 00:15:56,600 Again let me know if you need more examples but hopefully that makes sense and you can use the quiz 202 00:15:56,600 --> 00:15:59,780 questions and online calculators to help you practice. 20022

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.