60 likes | 202 Views
COMT 222. Tools for a Binary World. Digital?. What makes information Digital? If it helps: When is information not analog?. Binary. Is the simplest form of digital Each binary “digit” is 0 or 1 If a unit of information (often called a symbol) is one bit long, it can send two values.
E N D
COMT 222 Tools for a Binary World
Digital? • What makes information Digital? • If it helps: • When is information not analog?
Binary • Is the simplest form of digital • Each binary “digit” is 0 or 1 • If a unit of information (often called a symbol) is one bit long, it can send two values
Example • Thermometer • Low reading: 32 Deg • High Reading: 212 Deg • Resolution: 1 Deg • 180 different values • How big a symbol do we need to represent a thermometer reading (how many bits)?
Binary/Decimal Conversion • Convert to decimal: • 1 • 11 • 111 • 1111 • 1010 • Convert to binary: 27
Binary/Hexadecimal Conv. • Hexadecimal digits: • 0 1 2 3 4 5 6 7 8 9 A B C D E F