21
Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 License. Data + code information

Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Skills: noneConcepts: data, information, code, code standardization, encoding text, information and variety

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Data + code → information

Page 2: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Where does this topic fit?

• Internet concepts– Applications– Technology– Implications

• Internet skills– Application development– Content creation– User skills

Page 3: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

010101011100101010101010101010111010101010101010101010101010100101010101000010110101010101010010101101101010101010110010110010101010100101110101001010010101010101010001001010101011010011010010101010100101101001011100101010101001010101000101010101010101010010101001010101001001001001010101001000101010101110100101001010101010010101010101001010100100101010010101001001010101001010100101010100101010101001010101011110101011100001111011

All data is binary

Page 4: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

40 bits of data

0100110001100001011100100111001001111001

What data type is this – image? Video? Audio? Text? These bits are not random – do you see a pattern or clue to a code?

Page 5: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

01001100 01100001 01110010 01110010 01111001

0100110001100001011100100111001001111001

5 bytes of data

Do you see any pattern or regularity now?

Page 6: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

01001100 01100001 01110010 01110010 01111001

0100110001100001011100100111001001111001

5 bytes of data

What can you conclude from these two codes being the same?

Page 7: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

A code for text data

Page 8: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

L 01001100

a 01100001

r 01110010

r 01110010

y 01111001

L a r r y

0100110001100001011100100111001001111001

Data + a code → information

Page 9: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

010101011100101010101010101010111010101010101010101010101010100101010101000010110101010101010010101101101010101010110010110010101010100101110101001010010101010101010001001010101011010011010010101010100101101001011100101010101001010101000101010101010101010010101001010101001001001001010101001000101010101110100101001010101010010101010101001010100100101010010101001001010101001010100101010100101010101001010101011110101011100001111011

Many bits, no information

Page 10: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

One bit can convey information

0 = male

1 = female

Page 11: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

0 = male1 = female

1 = male0 = female

Standardization

Fail

Page 12: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

International Organization for Standardization ISO-8859-1

Page 13: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Any camera and viewing program

JPEGBMPPNGGIFEtc.

Page 14: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

MY NAME IS LARRY PRESS.

My name is Larry Press.

Which sentence conveys the most information – one made up of only upper case characters or one made up of upper and lower case characters?

Page 15: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Codes before computersPaul Revere’s one-bit message

= By land (0)

= By sea (1)

Page 16: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Encoding text

Data type Decade

Numeric 1950s

Alphanumeric 1960s

Text 1970s

Image 1990s

Speech 2000s

Music 2000s

Video 2000s

HD video 2010s

Page 17: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Could you devise a code of 1s and 0s to represent this image?

Page 18: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Summary

Data + a code → information

Page 19: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

International Organization for Standardization:http://www.iso.org/iso/home.html

ISO 8859-1 character standard:http://en.wikipedia.org/wiki/ISO/IEC_8859-1

Paul Revere’s 1-bit message:http://en.wikipedia.org/wiki/Paul_Revere#The_Midnight_Ride_of_Paul_Revere

Resources

Page 20: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

1. What would happen if a program tried to display a page of text that was created by a program using a different code than expected?

2. If you took a picture of your car, could you store that using the ISO 8859-1 character standard? Explain your answer.

3. Write the word Hello using the ISO 8859-1 character standard.a. How many bits did it take?b. How many bytes did it take?c. Would it take more bytes in memory than in storage?

4. At 10 bits per second, how long would it take to transmit Hello from one computer to another?

5. How long would it take at 10 megabits per second?6. Would the word Hello be encoded the same as the word hello?7. Would it take longer to transfer the word hello from storage to

memory than the word Larry?8. How many bits long was Paul Revere’s message? Explain your answer.9. Which contains more information 100 random bits or 1,000 random

bits? Explain your answer.

Self-study questions

Page 21: Skills: none Concepts: data, information, code, code standardization, encoding text, information and variety This work is licensed under a Creative Commons

Height (inches) 70

Weight (pounds) 170

Social security number 544678793

9. The symbols 0…9 may be used in numeric and text data. Which of these is numeric and which is text?