Sunday, November 6, 2011

Encoding text

1. If you took a picture of your car, could you store that using the ISO 8859-1 character standard? Explain your answer.
I cannot store a picture of my car using the ISO 8859-1 character standard because the ISO is used only for text.

2. Write the word Hello using the ISO 8859-1 character standard.
01001000 - H
01100101 - e
01101100 - l
01101100 - l
01101111 - o

a. How many bits did it take? It took 40 bits.
b. How many bytes did it take? It took 5 bytes.
c. Would it take more bytes in memory than in storage? It would not take more bytes in memory than in storage because bytes are the same whether it's stored in memory or storage.

3. At 10 bits per second, how long would it take to transmit Hello from one computer to another?
It would take 4 seconds to transmit Hello from one computer to another.
40 bits/ 10 bits per second = 4 seconds

4. Which contains more information 100 random bits or 1,000 random bits? Explain your answer.
Both contain zero information because it needs a code to connect data to information.

No comments:

Post a Comment