Binary Numbers and Base Systems as Fast as Possible

Techquickie ·Techquickie ·2015-05-07 · 998 words · ~4 min read
Floatplane YouTube

Transcript

JSON SRT VTT 73
0:00 modern-day computers use electricity to work and inside of a microchip
0:04 electricity is turned either on or off which is represented by the symbols 1
0:08 and 0. this is called binary you've
0:12 probably heard of binary already and that that's how computers work but do
0:16 you know how binary works well you're about to find out but first we need to
0:20 understand exactly how our numerical base system known as decimal or base 10
0:26 works the way it does so there are 10 count em 10 symbols that we use for all
0:30 of our numbers starting from 0 we can count all the way up to 9 before we run
0:36 out of symbols to use now we could just keep adding symbols at this point but
0:40 that would get out of hand very quickly i mean can you imagine having to
0:44 memorize a specific symbol for every single number that's ridiculous and
0:48 that's why we reuse the same symbols over and over again in a very clever
0:53 system called positional notation so in
0:57 the base 10 system as soon as we get to 10 or an exponent of 10 we need to add
1:02 another digit to the left of our current digit because there are 10 symbols each
1:07 new digit has to have a value 10 times greater than the digit to its right so
1:12 that's using 10 symbols but what if you had only two symbols to work with well
1:17 then everything that i said still applies with just two symbols each new
1:22 digit needs to have a value two times greater than the digit to its right
1:26 so a sequence like this would equal 1 times 128 plus 1 times 16 plus 1 times 8
1:33 plus 1 times 2 plus 1 which is
1:36 155 and that's how you count in binary it's
1:39 actually really simple it's just multiplication and addition now it gets
1:43 a lot more complicated from here with bits and bytes and boolean logic and
1:48 ascii and the list just goes on and on so let's return to base systems there
1:53 are a lot of ways to write numbers other than decimal and binary you've got base
1:58 two base three base four base five i could go on they all work with the same
2:02 principles of positional notation so you might be wondering with all these
2:06 numbering systems to choose from why do we use base 10 that's a good question
2:10 this goes all the way back to roman numerals and egyptian hieroglyphs it's
2:15 likely that we use base 10 simply because we have 10 fingers also known as digits other
2:21 base systems like base 8 and base 12 are actually superior for simple everyday
2:26 math since 8 and 12 are much more easily
2:29 divisible than 10 but it's definitely too late to change our minds about using
2:33 base 10 we'll probably be stuck with it forever switching away from it now would
2:37 be even harder than trying to convince america to drop the imperial system and
2:41 finally switch to metric you know like the rest of the civilized world like
2:45 yeah the metric system is superior but who's going to tell america what to do
2:50 now if you're going to be using base 12 or any other base system with more than
2:54 10 digits it's standard to use letters to represent numerals higher than 9. so
3:00 10 is a 11 is b 12 is c and so on this
3:04 is called alphanumeric you know those url shorteners that you see on twitter
3:08 and elsewhere have you ever wondered how they work all those jumbled characters
3:12 really just represent a very large number by using numerals and every
3:16 letter of the alphabet you can get all the way up to base 36 using lowercase
3:21 and uppercase letters gives you base 62
3:24 and with that you can get all the way up to 14 million with only four digits with
3:29 just 10 digits you can get up to 839 quadrillion possible values that's a
3:35 lot of shortened urls so you just learned about positional notation binary
3:40 numbers numeral based systems alphanumeric characters and url
3:43 shorteners i hope you enjoyed it and if you're in the mood for more learning
3:47 maybe you'll like today's video sponsor which is the excellent lynda.com for the
3:52 past six years i have been using and recommending lynda.com to people as an
3:57 excellent means of learning new things especially software you see over six
4:02 years ago i wanted to learn how to use photoshop so i googled around and as
4:06 usual many of the software tutorials i found just assumed that i had
4:10 pre-existing knowledge either that or they'd be out of date not have enough
4:15 pictures if any have unclear missing or downright incorrect instructions worst
4:20 of all i was having to piece everything together based on multiple disparate
4:25 instructions from overlapping and sometimes conflicting sources of
4:29 information and then i discovered lynda.com which is pretty much the
4:33 opposite of all of that lynda.com has thousands of high quality easy to follow
4:38 video tutorials taught by industry experts who actually know what they're
4:42 talking about they've got a wide variety of subjects like photography programming
4:47 video and photo editing and tons and tons of different software each course
4:52 is structured so you learn from start to finish at your own pace on your own
4:57 terms access to all of their courses starts at twenty five dollars a month
5:00 but if you head over to lynda.comtechquikie
5:04 you can get a free 7-day trial and see
5:07 for yourself just how excellent they really are thanks for watching this
5:10 episode of fast as possible give us a like or a dislike if that's how you feel
5:14 leave a comment and don't forget to be awesome i mean
5:18 subscribe