Binary Numbers and Base Systems as Fast as Possible

Techquickie
15 Jun 201405:20

Summary

TLDRThe video explains how computers use binary (1s and 0s) through electricity to operate. It introduces the concept of positional notation in number systems, explaining how base 10 (decimal) works, then compares it to base 2 (binary). The video explores other numbering systems, like base 12 and base 36, and discusses how alphanumeric characters are used in systems like URL shorteners. It also touches on the historical preference for base 10 due to human anatomy, specifically our 10 fingers. Finally, the video promotes learning platforms like Lynda.com for further education.

Takeaways

  • πŸ”Œ Modern computers use binary, a system of 1s and 0s, to process information.
  • πŸ”’ Our familiar decimal system, or base 10, uses ten symbols (0-9) and positional notation to represent numbers.
  • πŸ“š Positional notation allows us to reuse the same digits in different positions to represent larger numbers, each position having a value ten times greater than the one to its right.
  • πŸ›‘ Binary, or base 2, operates on the same principles but uses only two symbols, with each new digit having a value twice as much as the one to its right.
  • πŸ’‘ Binary counting is as simple as performing multiplication and addition, but it forms the basis for more complex computer operations.
  • 🌐 There are many base systems beyond decimal and binary, such as base 8 or base 12, which can be more efficient for certain calculations.
  • πŸ€” The use of base 10 is likely due to humans having 10 fingers, a historical artifact rather than a practical choice.
  • πŸ”€ When dealing with bases higher than 10, letters are used to represent numerals, leading to alphanumeric systems.
  • πŸ”— URL shorteners use a combination of numerals and letters to represent large numbers, allowing for the creation of short links from long URLs.
  • πŸŽ“ The video also promotes lynda.com as a valuable resource for learning new software and skills through structured, high-quality video tutorials.

Q & A

  • How do modern-day computers use electricity to function?

    -Modern-day computers use electricity by turning it on or off inside a microchip, represented by the binary symbols 1 and 0.

  • What is the significance of the binary system in computing?

    -The binary system is significant in computing because it provides a simple and efficient way to represent data using only two states, on and off, which correspond to the digits 1 and 0.

  • How does the decimal system (base 10) work?

    -The decimal system works by using 10 symbols (0-9) and a positional notation where each new digit to the left has a value ten times greater than the digit to its right.

  • Why do we use base 10 for our numerical system?

    -We use base 10 likely because humans have 10 fingers, which made counting and representing numbers in base 10 a natural choice.

  • What is positional notation and how does it apply to different base systems?

    -Positional notation is a method of representing numbers where each position has a value that is a multiple of the base. This principle applies to all base systems, whether it's base 10, binary, or any other base.

  • How is a binary number calculated?

    -A binary number is calculated by multiplying each digit by 2 raised to the power of its position, starting from 0 on the right, and then summing these values.

  • What are the advantages of using base systems other than base 10 for everyday math?

    -Base systems like base 8 and base 12 are advantageous for everyday math because they are more easily divisible than base 10, which can simplify calculations.

  • Why do we use letters to represent numerals in base systems with more than 10 digits?

    -Letters are used to represent numerals higher than 9 in base systems with more than 10 digits because there are not enough single symbols to represent all the values needed.

  • How do URL shorteners work?

    -URL shorteners work by representing a very large number using a combination of numerals and letters from the alphabet, allowing a long URL to be shortened into a more manageable form.

  • What is the maximum value that can be represented with 10 alphanumeric digits in a base 62 system?

    -With 10 alphanumeric digits in a base 62 system, the maximum value that can be represented is 14 million.

  • What is the connection between the concept of positional notation and the way URL shorteners encode large numbers?

    -The connection between positional notation and URL shorteners is that both use a base system to encode values, with URL shorteners using a base that includes letters to represent large numbers in a compact form.

Outlines

00:00

πŸ”’ Understanding Binary and Base 10 Systems

This paragraph introduces the concept of how modern computers use electricity, which is represented as binary (1 and 0) inside a microchip. The author explains how binary works by comparing it to our familiar base 10 system. They describe positional notation in the base 10 system, where each new digit represents a value 10 times greater than the previous one. This logic applies to binary as well, where the two symbols (0 and 1) follow the same principle. The paragraph concludes by explaining how binary calculations work through multiplication and addition of the digit positions.

05:01

✍️ A Brief History of Number Systems and Alphanumerics

The second part delves into the history and reasoning behind the use of the base 10 system, which likely originated from humans having 10 fingers. While other systems like base 8 or base 12 are more efficient for division, base 10 became the standard. The author briefly touches on the superiority of the metric system before transitioning into how higher base systems, such as base 12 and beyond, utilize letters to represent numerals greater than 9. They explain that alphanumeric systems are used for large numbers, like in URL shorteners, allowing for an immense range of possible values with fewer characters.

Mindmap

Keywords

πŸ’‘Binary

Binary is a base-2 numeral system that uses only two symbols, 0 and 1, to represent all numerical values. In the context of the video, binary is the fundamental language of modern-day computers, where electricity is turned on (1) or off (0) to perform operations. The video explains that binary is a simple system of multiplication and addition, which is essential for understanding how computers process information.

πŸ’‘Decimal

Decimal, also known as base-10, is the numerical base system most commonly used by humans. It involves ten symbols: 0 through 9. The video explains that we use decimal because it is convenient for us, given that we have ten fingers. The script uses decimal as a point of comparison to introduce the concept of binary and other base systems.

πŸ’‘Positional Notation

Positional notation is a system where each digit in a number has a value that depends on its position. In the video, it is explained that in the decimal system, each new digit to the left has a value ten times greater than the digit to its right. This concept is crucial for understanding how numbers are represented and calculated in any base system, including binary.

πŸ’‘Bits and Bytes

Bits and bytes are units of data in computing. A bit is the basic unit, representing a single binary digit (0 or 1). A byte consists of eight bits. The video mentions these terms in the context of expanding the discussion from simple binary numbers to the more complex data structures used in computers.

πŸ’‘Boolean Logic

Boolean logic, named after George Boole, is a system of logical operations used in computer science. It deals with true or false values and is fundamental to how computers process information. The video script alludes to Boolean logic as part of the complexity that arises when moving beyond basic binary operations.

πŸ’‘ASCII

ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication. The video briefly mentions ASCII as part of the progression from binary to more complex systems, where characters and symbols are represented numerically in computers.

πŸ’‘Base Systems

Base systems refer to the different numeral systems used to represent numbers, such as base-2 (binary), base-8 (octal), base-10 (decimal), and base-16 (hexadecimal). The video discusses various base systems to illustrate the flexibility and logic behind number representation, with binary being the most relevant to computer science.

πŸ’‘Alphanumeric

Alphanumeric characters are any letter or number used in communication. In the video, alphanumeric is mentioned in the context of representing numbers beyond 9 in base systems that use more than ten symbols, such as base-12. It also relates to the use of letters in URL shorteners to represent large numbers.

πŸ’‘URL Shorteners

URL shorteners are services that convert a long URL into a shorter version. The video explains that these shortened URLs use alphanumeric characters to represent large numbers, which is possible due to the vast number of combinations available in higher base systems.

πŸ’‘Metric System

The metric system is an internationally adopted decimal system of measurement. The video humorously compares the transition to a new base system to the United States' resistance to adopting the metric system, highlighting the difficulty of changing established systems.

Highlights

Modern-day computers use binary, represented by 1s and 0s, to process information.

Decimal system uses 10 symbols, while binary uses only two.

Positional notation is a system where each digit's value is ten times greater than the digit to its right.

Binary counting involves simple multiplication and addition.

The complexity of computing increases with concepts like bits, bytes, boolean logic, and ASCII.

Other base systems like base 2, 3, 4, and 5 operate on the same principles as the decimal system.

Base 10 is used likely because humans have 10 fingers.

Base 8 and base 12 are more divisible and could be superior for everyday math.

Switching from base 10 would be as difficult as changing the imperial system to metric.

Base 12 and higher systems use letters to represent numerals higher than 9, forming alphanumeric characters.

URL shorteners use a combination of numerals and letters to represent large numbers.

Base 36 can represent numbers up to 14 million with only four digits.

With 10 digits, base 62 can represent up to 839 quadrillion possible values.

Lynda.com is recommended for learning new software and skills with high-quality video tutorials.

Lynda.com offers a wide variety of subjects and software tutorials.

Access to Lynda.com starts at $25 a month, with a free 7-day trial available.

Transcripts

play00:00

modern-day computers use electricity to

play00:02

work and inside of a microchip

play00:04

electricity is turned either on or off

play00:06

which is represented by the symbols 1

play00:08

and 0. this is called binary you've

play00:12

probably heard of binary already and

play00:13

that that's how computers work but do

play00:16

you know how binary works well you're

play00:18

about to find out but first we need to

play00:20

understand exactly how our numerical

play00:22

base system known as decimal or base 10

play00:26

works the way it does so there are 10

play00:28

count em 10 symbols that we use for all

play00:30

of our numbers starting from 0 we can

play00:33

count all the way up to 9 before we run

play00:36

out of symbols to use now we could just

play00:38

keep adding symbols at this point but

play00:40

that would get out of hand very quickly

play00:42

i mean can you imagine having to

play00:44

memorize a specific symbol for every

play00:46

single number that's ridiculous and

play00:48

that's why we reuse the same symbols

play00:51

over and over again in a very clever

play00:53

system called positional notation so in

play00:57

the base 10 system as soon as we get to

play00:59

10 or an exponent of 10 we need to add

play01:02

another digit to the left of our current

play01:04

digit because there are 10 symbols each

play01:07

new digit has to have a value 10 times

play01:09

greater than the digit to its right so

play01:12

that's using 10 symbols but what if you

play01:14

had only two symbols to work with well

play01:17

then everything that i said still

play01:19

applies with just two symbols each new

play01:22

digit needs to have a value two times

play01:24

greater than the digit to its right

play01:26

so a sequence like this would equal 1

play01:29

times 128 plus 1 times 16 plus 1 times 8

play01:33

plus 1 times 2 plus 1 which is

play01:36

155

play01:37

and that's how you count in binary it's

play01:39

actually really simple it's just

play01:41

multiplication and addition now it gets

play01:43

a lot more complicated from here with

play01:45

bits and bytes and boolean logic and

play01:48

ascii and the list just goes on and on

play01:50

so let's return to base systems there

play01:53

are a lot of ways to write numbers other

play01:55

than decimal and binary you've got base

play01:58

two base three base four base five i

play02:00

could go on they all work with the same

play02:02

principles of positional notation so you

play02:05

might be wondering with all these

play02:06

numbering systems to choose from why do

play02:08

we use base 10 that's a good question

play02:10

this goes all the way back to roman

play02:12

numerals and egyptian hieroglyphs it's

play02:15

likely that we use base 10 simply

play02:16

because we have

play02:18

10 fingers also known as digits other

play02:21

base systems like base 8 and base 12 are

play02:23

actually superior for simple everyday

play02:26

math since 8 and 12 are much more easily

play02:29

divisible than 10 but it's definitely

play02:31

too late to change our minds about using

play02:33

base 10 we'll probably be stuck with it

play02:35

forever switching away from it now would

play02:37

be even harder than trying to convince

play02:39

america to drop the imperial system and

play02:41

finally switch to metric you know like

play02:43

the rest of the civilized world like

play02:45

yeah the metric system is superior but

play02:47

who's going to tell america what to do

play02:50

now if you're going to be using base 12

play02:52

or any other base system with more than

play02:54

10 digits it's standard to use letters

play02:57

to represent numerals higher than 9. so

play03:00

10 is a 11 is b 12 is c and so on this

play03:04

is called alphanumeric you know those

play03:06

url shorteners that you see on twitter

play03:08

and elsewhere have you ever wondered how

play03:09

they work all those jumbled characters

play03:12

really just represent a very large

play03:14

number by using numerals and every

play03:16

letter of the alphabet you can get all

play03:18

the way up to base 36 using lowercase

play03:21

and uppercase letters gives you base 62

play03:24

and with that you can get all the way up

play03:26

to 14 million with only four digits with

play03:29

just 10 digits you can get up to

play03:31

839 quadrillion possible values that's a

play03:35

lot of shortened urls so you just

play03:38

learned about positional notation binary

play03:40

numbers numeral based systems

play03:41

alphanumeric characters and url

play03:43

shorteners i hope you enjoyed it and if

play03:45

you're in the mood for more learning

play03:47

maybe you'll like today's video sponsor

play03:49

which is the excellent lynda.com for the

play03:52

past six years i have been using and

play03:55

recommending lynda.com to people as an

play03:57

excellent means of learning new things

play03:59

especially software you see over six

play04:02

years ago i wanted to learn how to use

play04:04

photoshop so i googled around and as

play04:06

usual many of the software tutorials i

play04:09

found just assumed that i had

play04:10

pre-existing knowledge either that or

play04:13

they'd be out of date not have enough

play04:15

pictures if any have unclear missing or

play04:18

downright incorrect instructions worst

play04:20

of all i was having to piece everything

play04:23

together based on multiple disparate

play04:25

instructions from overlapping and

play04:27

sometimes conflicting sources of

play04:29

information and then i discovered

play04:30

lynda.com which is pretty much the

play04:33

opposite of all of that lynda.com has

play04:36

thousands of high quality easy to follow

play04:38

video tutorials taught by industry

play04:41

experts who actually know what they're

play04:42

talking about they've got a wide variety

play04:44

of subjects like photography programming

play04:47

video and photo editing and tons and

play04:49

tons of different software each course

play04:52

is structured so you learn from start to

play04:54

finish at your own pace on your own

play04:57

terms access to all of their courses

play04:59

starts at twenty five dollars a month

play05:00

but if you head over to

play05:02

lynda.comtechquikie

play05:04

you can get a free 7-day trial and see

play05:07

for yourself just how excellent they

play05:09

really are thanks for watching this

play05:10

episode of fast as possible give us a

play05:12

like or a dislike if that's how you feel

play05:14

leave a comment and don't forget to be

play05:16

awesome i mean

play05:18

subscribe

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Binary SystemComputer SciencePositional NotationDecimal BaseBase SystemsAlphanumericURL ShortenersNumerical SystemsEducational ContentTech Tutorials