CMPT 165: Review

Representing a Digital Signal

The smallest unit of memory is the *bit*, representing the
position, either ``on'' or ``off'', of an electronic switch inside the
computer hardware.

A bit can represent either ``0'' or ``1'' depending on the state of the switch.

The term ``bit'' is a contraction of the term ``binary digit''.

Two bits can assume 4 unique patterns/values:

Binary form | Decimal form |

00 | 0 |

01 | 1 |

10 | 2 |

11 | 3 |

In general, *n* bits can assume
unique values.

The *byte* is nearly always defined as 8 bits and can therefore
assume
unique values.

Error Checking

CMPT 165: Review

Representing a Digital Signal

``CMPT 165: Review'' by Tamara Smyth, Computing Science, Simon Fraser University.

Download PDF version (review.pdf)

Download compressed PostScript version (review.ps.gz)

Download PDF `4 up' version (review_4up.pdf)

Download compressed PostScrip `4 up' version (review_4up.ps.gz)

Copyright ©

Please email errata, comments, and suggestions to Tamara Smyth<tamaras@cs.sfu.ca>

School of Computing Science, Simon Fraser University