Information theory
- Can information be quantified?
- Claude Shannon attempted to improve telephone line transmission
- Stripped of emotional value, information can be described as yes/no questions
- Twenty questions
- Game used to understand IT because it generally takes twenty yes/no questions to describe an object
- Translation to numeric form: Y/N = 1/0
- Answer to twenty questions may equal "10101001100010100010"
Bits and Bytes
- Binary digIT = Bit
- Bit = The "1" or "0" value that results from answering a conditional question
- Bytes = system to arrange bits (8 bits per byte)
- Single byte contains 256 values (0-255)
- 00000000 = 0; 11111111 = 255
- Multiple bytes form kilo-, mega-, giga-, and terabytes
- 1,024 bytes (2^10) = 1 kb
- 1,048,576 bytes = 1 mb
Example 1: IP addresses
- Each series of numbers equals a byte
- 132.241.199.124
- 4.3 billion possible values (enough for world’s computers)
Example 2: Characters
- Every letter, character has a binary value
- ASCII character set specifies value
- A byte/word translation page to examine
- Each character displayed on a webpage equals a byte
Example 3: Colors
- Colors = three values for RGB
- Each value represented by a byte
- Blue-purple = 102r, 102g, 153b
- Hexadecimal value another method of translating bytes to another format
- Blue-purple = #666699
File sizes
In terms of bytes, these vary, but here are some general rules:
- HTML or CSS file < 10kb
- JPG or PNG files < 100kb
- MP3 = about 1mb per minute
- Video = 300kb per second
Finding file sizes
Right-click on the file and select "Get Info":

Examine the resulting menu and information: "8 KB" appears to the right of "assignments.html" that appears on a course website.