data representation
Download
Skip this Video
Download Presentation
Data Representation

Loading in 2 Seconds...

play fullscreen
1 / 9

Binary - PowerPoint PPT Presentation


  • 302 Views
  • Uploaded on

Data Representation. How does a computer store information?. Pulses of electricity. A pulse is 1 no pulse is 0. Pulses come in groups of 8 known as a byte. 1 0 1 1 1 0 1 1. Each 0 and 1 is known as a bit. a number

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Binary' - RoyLauris


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
data representation

Data Representation

How does a computer store information?

pulses of electricity
Pulses of electricity
  • A pulse is 1
  • no pulse is 0
pulses come in groups of 8 known as a byte
Pulses come in groups of 8known as a byte

1 0 1 1 1 0 1 1

Each 0 and 1 is known as a bit

the pattern of 0 s and 1 s may be
a number

a character

a program instruction

eg the number ‘24’

eg the letter ‘A’

eg the instruction ‘Add’

The pattern of 0’s and 1’s may be:-
numbers and humans
Numbers and Humans
  • We use a number system called decimal
  • It uses ten digits (0 1 2 3 4 5 6 7 8 9)
  • Good for humans with 10 fingers!!
numbers and computers
Numbers and Computers
  • Computers use a number system called binary.
  • It uses two digits (0 and 1)
  • Good for machines with a pulse (1) or no pulse (0)
decimal numbers base 10
Remember your earliest sums in primary school

‘Hundreds, Tens & Units’

H T U

100 10 1

(100 x 6) = 600

(10 x 5) = 50

(1 x 3) = 3

Total = 65310

Decimal Numbers (Base 10)

Let’s look at:-

100 10 1

6 5 3

which becomes:-

Notice how the numbers (place values) multiply by 10 as we move from right to left

binary numbers base 2
Instead of :

‘Hundreds, Tens & Units’

we have:

‘Eights, Fours, Twos and Units’

8 4 2 1

(8 x 1) = 8

(4 x 1) = 4

(2 x 0) = 0

(1 x 1) = 1

Total = 1310

Binary Numbers (Base 2)

Let’s look at:-

8 4 2 1

1 1 0 1

which becomes:-

Notice how the numbers (place values) multiply by 2 as we move from right to left

ad