◄Previous: 4.1 Input and output devices for physically impaired users

# 5 Connecting the devices

So far, you have been introduced to the major components of a computer, namely a processor along with input and output devices, plus main and secondary memory. Now you will explore three of these components a little further, starting with input devices.

Input devices have to collect some information from outside the computer and present it to the computer as data which is in a form the processor can work with. It is useful to think of these as two separate functions:

- ‘capturing’ the information
- ‘translating’ the information into a data form the processor can use.

Sometimes these two functions are done by a single physical entity; sometimes by two separate entities. When talking about input functions the term ‘input device’ is used for whatever captures the information and the term input subsystem for whatever does the translation.

Similarly, output devices have to collect data from the processor in the processor’s format and translate it into something that is meaningful outside the computer, and again it’s useful to think of these as two separate functions:

- ‘translating’ the data from the form the processor uses into information
- ‘presenting’ the information.

Again, when talking about output functions, the term ‘output device’ is used for whatever presents the information and the term output subsystem for whatever does the translation.

In the case of secondary memory, there are also two functions, though they are rather different. The secondary memory’s function is simply to. hold stored data, and a secondary memory subsystem is used to prepare the data for storage and get it stored (when data is being sent to the memory) or to collect stored data and prepare that data for use by the processor (when data is being sent from the memory). Here is the subtle difference between ‘hard disk’ and ‘hard drive’ that was mentioned earlier: the hard disk is the secondary memory and the hard drive is the secondary memory subsystem. But remember that many people use the two synonymously (and hence ambiguously). Often the subtle distinction doesn’t matter in a particular context, but it’s worth being alert to the fact that the two terms are not strictly synonymous.

The diagram in Figure 5 shows all the functional blocks of a computer. That is, it shows all the functions performed within a computer. Some of the components in any particular example of a computer may perform more than one of the functions shown in Figure 5, so there may not always be a separate physical entity associated with each function shown in the diagram. For example, sometimes an output device and its associated output subsystem are housed together; in some small computers the processor and the main memory are even housed together. But, with the possible exception of secondary memory, any computer will have the functionality shown in Figure 5.

Figure 5 A functional block diagram of a computer which also shows the flow of data within the computer.

In Figure 5 the interconnecting lines show the data flows. The thick line running vertically down the page from the processor represents the computer bus. This is a data path that connects the input and output subsystems and the secondary memory subsystem to the computer’s processor and main memory. It allows data to be transmitted from one part of the computer to another. Notice that this path has an arrow at each end, indicating that data can travel in both directions along it. The arrows on the other paths indicate that data can also travel both to and from the secondary memory, but data only travels in from the input devices and out to the output devices.

## Box 1

Electrical signals and computers

The data that travels along the main computer bus does so in the form of electrical signals which can have one of two possible values: a near-zero voltage, known as ‘voltage low’, and a rather higher voltage, known as ‘voltage high’.

(A couple of decades ago the high voltage was usually around 5 volts. When a predecessor to this course was written early in 2004, the high voltage was around 3 volts. Since then systems have used voltages near 2 volts and now even lower. Reducing the voltage is important for saving energy, crucial when the computer is battery powered such as a laptop of mobile phone. Saving energy is also important for the environment. At the end of this course in considering the future of computing you will look at green computing.)

Any electrical signal where the number of possible values that can be used is limited is known as a digital signal. If the number of possible values is limited to just two, as on the computer bus, then the signal is known as a binary digital signal, or simply a binary signal. (The ‘bi’ in ‘binary’ means ‘two’.)

So the electrical signals that travel along the computer bus, and hence to the output subsystems and from the input subsystems, are all binary signals. Unfortunately, the electrical signals produced by input devices or needed by output devices are not necessarily binary, or even digital. Hence an important task of the input and output subsystems is to transform between the binary signals on the computer bus and whatever signals are used by their particular input or output device.

Figure 5 is an important diagram, and illustrates the fact that computers, however complex and ‘clever’ they may seem, do only the following tasks:

- receive data from the outside world via their input devices
- store that data in their memory
- manipulate that data in their processor, probably creating and storing more data while doing so
- present data back to the outside world via their output devices.

◄Contents►Next: 6 Computers as systems

OpenLearn - An introduction to computers and computer systems
Except for third party materials and otherwise, this content is made available under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Licence, full copyright detail can be found in the acknowledgements section. Please see full copyright statement for details.