34
MATH1003 10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001 Number Systems An Introduction

Math1003 - An Intro to Number Systems

Embed Size (px)

Citation preview

Page 1: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

NumberSystemsAn Introduction

Page 2: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Goal

To appreciate the importance ofbinary and hexadecimal number systems

in the computer world.

Page 3: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

Let’s take a little trip

Page 4: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

Let’s take a little trip

Page 5: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

Let’s take a little trip

Page 6: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Let’s take a little trip

Page 7: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Let’s take a little trip

Page 8: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Let’s take a little trip

Page 9: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Let’s take a little trip

Page 10: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Let’s take a little trip

Page 11: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Let’s take a little trip

Page 12: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Let’s take a little trip

Page 13: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

that’s through undersea cables in the Pacific Ocean

Let’s take a little trip

Page 14: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Let’s take a little trip

Page 15: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch

Let’s take a little trip

Page 16: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

Let’s take a little trip

Page 17: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

Let’s take a little trip

Page 18: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

RowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

Let’s take a little trip

All the “conversations” done ina matter of seconds.

With data travelling at thespeed of light.

Page 19: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Let’s take a little tripRowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

Request

Page 20: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Let’s take a little tripRowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

Request

Page 21: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Let’s take a little tripRowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

Response

Page 22: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Let’s take a little tripRowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

Response

Page 23: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Let’s take a little tripRowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

“Conversations” are encodedas digital signals (binary) for travelacross wires and through the air.

Response

Page 24: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Let’s take a little tripRowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

And what’s amazing is thatdata reaches us intact and

with no errors (most of the time).

10110100

Page 25: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Let’s take a little tripRowntreeTheater

computer

H BuildingSwitch

C BuildingSwitch

C BuildingRouter

Barrie(Bell)

Toronto(Bell)

Chicago

Los Angeles

Manila

Ateneomain router

Ateneoserver room

switch Ateneowwwserver

And what’s amazing is thatdata reaches us intact and

with no errors (most of the time).

11101011

Page 26: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Page 27: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Page 28: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Page 29: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Page 30: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Page 31: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Page 32: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Pictures are stored as bits

Page 33: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Songs are stored as bits

Page 34: Math1003 - An Intro to Number Systems

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary, Decimal, Hexadecimal

Binary is the language of the computer.Decimal is the human number system.Hexadecimal is used to bridge the two.