Next: 2.2.2 Prefices
Up: 2.2 Bits and Bytes
Previous: 2.2 Bits and Bytes
Contents
- All data in computers is held as a sequence of ones and zeros.
- A number is represented as the base 2 number held in some
pre-ordained fixed number of bits
- Almost all other data is represented as various sets of
numbers.
- A byte is 8 bits sequenced together - what is the
maximum number?
- Integers (in Java and most other languages nowadays)
are 32 bits long - what is the maximum number?
Next: 2.2.2 Prefices
Up: 2.2 Bits and Bytes
Previous: 2.2 Bits and Bytes
Contents
Daniel Chalmers
2007-02-08