Codificació de la Informació

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Codificació de la Informació - Presentation Transcript

    1. Codificació de la informació Sistema binari: bits i bytes Josep M. Soler
    2. El bit
      • L’ordinador és un sistema, només treballa amb dos valors el 0 i l’1
      • A aquests 0 i 1 els anomenen BITS
      • BIT = Unitat mínima d’informació
      • Quants valors podem representar amb un bit?
      • Quants valors podem representar amb un bit?
      • Només dos
        • 0
        • 1
      • Com podem representar més valors?
      • Com podem representar més valors?
      • Fent combinacions de bits....
      • Si fem combinacions de 2 bits...
      • Si fem combinacions de 2 bits...
      • Tenim 4 possibilitats:
          • 00
          • 01
          • 10
          • 11
      • Si fem combinacions de 3 bits...
      • Si fem combinacions de 3 bits...
      • Tenim 8 possibilitats:
          • 000
          • 001
          • 010
          • 011
          • 100
          • 101
          • 110
          • 111
      • Si fem combinacions de 4 bits...
      • Si fem combinacions de 4 bits...
      • Tenim 8 possibilitats:
          • 0000 1000
          • 0001 1001
          • 0010 1010
          • 0011 1011
          • 0100 1100
          • 0101 1101
          • 0110 1110
          • 0111 1111
      • Fitxeu-vos:
        • 2 bits -> 4 combinacions
        • 3 bits -> 8 combinacions
        • 4 bits -> 16 combinacions
      • En general :
        • n bits -> 2 n combinacions
      • Quantes combinacions i per tant quants bits necessitem per representar tot el que volem (lletres, dígits....)?
      • Quantes combinacions i per tant quants bits necessitem per representar tot el que volem (lletres, dígits....)?
      • Necessitem més de 128 combinacions i menys de 256....
      • Quantes combinacions i per tant quants bits necessitem per representar tot el que volem (lletres, dígits....)?
      • Necessitem més de 128 combinacions i menys de 256....
      • Per tant necessitem agrupar 8 bits
        • 2 8 = 256
      • Aquestes combinacions:
          • 00000000
          • 00000001
          • 00000010
          • 00000011
          • ...............
          • ...............
          • 11111100
          • 11111101
          • 11111110
          • 11111111
      • Aquestes combinacions:
          • 00000000
          • 00000001
          • 00000010
          • 00000011
          • ............... Les anomenem BYTES
          • ...............
          • 11111100
          • 11111101
          • 11111110
          • 11111111
      • Per tant:
      • Un byte és una combinació de 8 bits que representa un caràcter (lletra, dígit...)
    3. Per exemple el codi ASCII ( A merican S tandard C ode for I nformation I nterchange)
    4. Múltiples del byte
      • Kilobyte (KB)
      • 1 Kb = 1024 bytes (2 10 = 1024)
    5. Múltiples del byte
      • Kilobyte (KB)
      • 1 Kb = 1024 bytes (2 10 = 1024)
      • Megabyte (MB)
      • 1 MB = 1048576 bytes (2 20 =1048576)
    6. Múltiples del byte
      • Kilobyte (KB)
      • 1 Kb = 1024 bytes (2 10 = 1024)
      • Megabyte (MB)
      • 1 MB = 1048576 bytes (2 20 =1048576)
      • Gigabyte (GB)
      • 1GB = 1073741824 bytes (2 30 )
    7. Múltiples del byte
      • Kilobyte (KB)
      • 1 Kb = 1024 bytes (2 10 = 1024)
      • Megabyte (MB)
      • 1 MB = 1048576 bytes (2 20 =1048576)
      • Gigabyte (GB)
      • 1GB = 1073741824 bytes (2 30 )
      • Terabyte (TB)
      • 1TB = 1099511627776 bytes (2 40 )

    + Josep Maria SolerJosep Maria Soler, 3 months ago

    custom

    127 views, 0 favs, 0 embeds more stats

    Codificació de la informació en binari. Bits byte more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 127
      • 127 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 1
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags