SLIDE 1
Lecture 4 Notes: Bits and bytes
Computer Literacy 1 Tuesday 28/9/2004
Lecture Overview
Lecture topics:
- How computers encode information
- How to quantify information and memory
- How to represent and communicate binary data
The aim is to be able to:
- Recognise the significance of numbers such as in 256 MB RAM, 32 bit
word length, set of 256 characters etc.
- Reason quantitatively about computer systems, e.g. Assess the capability
- f a system to handle a file of a given size.
Computers are digital
Computers are built of electric switches: each switch is “on” or “off” at any
- time. This means that computers process discrete electrical events: they are
- digital. In contrast, analogue devices process continuous signals.
Digital and analogue examples:
- On an analogue watch the clock hands move continuously, and the time
can be read with an arbitrary level of precision (depending on your eyesight and reactions!) including fractions of seconds. Time increases continuously, as read by the analogue watch.
- On a digital watch that displays the hours, minutes and seconds, the time
increases in steps of one second. Between seconds, there is no way of measuring what fraction of a second has passed. Time increases in discrete steps, as read by the digital watch.
- Modems convert the digital signals in the computer into an analogue
- signal. This can be sent down telephone wires as an electromagnetic
- wave. At a receiving computer, the modem converts the analogue signal
back into a digital form. Advantages of digital over analogue processing:
- It is fast. It is much quicker to decide if a switch is “on” or “off” than to
decide how much it is “on” or “off”.
- It is robust to errors: small errors at each switch in the computer are not
- propagated. If a digital switch is a little bit “on” when it should be “off”, then