**Table of Contents**

- 14.. What Everyone Should Know About Data Representation
- 14.. Representing Information
- 14.. Numeric Limitations of Computers
- 14.. Fixed Point Number Systems
- 14.. Modular Number Systems
- 14.. Binary Data Representation
- 14.. Metric and Binary Quantities
- 14.. The Arabic Numeral System
- 14.. Number Bases
- 14.. Binary Fixed Point
- 14.. Binary/Octal/Hexadecimal Conversions
- 14.. Unsigned Binary Integers
- 14.. Signed Integers
- 14.. Sign-Magnitude
- 14.. One's complement
- 14.. Two's Complement
- 14.. Biased Notation
- 14.. Hex and Octal with Signed Numbers
- 14.. Floating Point
- 14.. Character Storage

Computer science students typically spend at least one or two semesters studying computer architecture (hardware design) and machine/assembly language. Most will never become hardware designers, or assembly language programmers, but understanding how data are represented in computer hardware makes all of us better programmers.

Knowing the limitations of computer number systems is necessary in order to write programs that produce correct and precise output and also in writing the most efficient programs possible.

This chapter provides a very brief overview of these limitations. We will cover the standard number systems used by modern computers alongside some historical and hypothetical systems to help put them in context.

What are two advantages of understanding computer data representation if we are not doing hardware design?