created: 07/04/96; 2nd edition: 03/20/01; corrected 09/19/01

# CHAPTER 7 — Binary and Hex Integer Representation

Patterns of bits can represent many different things. Anything that can be represented with any kind of symbols can be represented with bit patterns. This chapter shows how bit patterns are used to represent integers.

> - Left and right shifts.
> - Unsigned binary representation.
> - Familiar binary integers.
> - Hexadecimal representation.
> - Equivalence of hexadecimal representation and bit pattern names.
> - Converting representations from hexadecimal to binary.
> - Converting representations from decimal to any base.

### QUESTION 1:

A particular number is represented by 1010 (binary representation). What is the number represented in base ten?