AET 2050 - DAW Production
2. Binary Systems
Objectives:
Analog and digital representations
computers and the Binary number system
Positional-value number systems
Numeric representations in a weighted or positional system
Positional number system - properties:
- The system's radix, or base
- A set of unique digits
- Representations using digits arranged in positions
- Each position has a value, or weight
- A digit's value is determined by its position
- A number of unique states represented by a given weighted number
- Adding a digit to a number will increase the available states by a factor of the radix
- The highest value represented by a given number
Examples of a positional system
Computers and Binary
Computer data can represent any and all kinds of information, from numeric quantities to text characters, to program instructions, to audio; however, regardless what the data represents, it is always binary data.
Organization of bits
Bits are organized into logical groups:
System size and numeric range
Word length and range of values in a computer
Word length and system limits
Binary transmission
Electrically, binary words are transmitted from one device to another in either parallel or serial form.
Other codes and representations
Binary data can represent different kinds of information, not just raw numeric quantities.
Different codes are used to represent data in different applications.
Signed binary - 2's complement
Computers represent negative numbers using 2's complement - a bit pattern that, when added, gives the correct result as though subtracted.
An example
Signed binary causes the numeric range that a given word size represents shifts.
Unsigned vs signed binary
Floating-point notation
Limits of a fixed-range system:
Floating-point represents quantities in scientific notation
Exponent
|
Mantissa
|
||
Byte
1
|
Byte
2
|
Byte
3
|
Byte
4
|
Advantages and disadvantages of floating point
Character codes
Binary codes are used to represent the alpha-numeric character set used for text entry, storage, and display.
ASCII
Unicode
Other Codes