Introduction 2
Input 2
Processing 3
Storage 3
Output 4
Software 4
Circuits 5
The Motherboard 5
The Bus 6
Resources 6
Ports 6
The BIOS 7
CMOS and RTC 7
More About Video 8
More About Disk Drives 8
More About Memory 10
GLOSSARY 11
This is a very short course about computers. It won’t make you into a computer technician, but it will let you talk to one without thinking they are speaking a foreign language. The computers we are interested in are the general-purpose personal computers like we use at our desk, rather than the specialized computer under the hood of your car, or the big mainframe computers that the IRS uses to keep track of us all.
For our purposes, a computer can be defined as a machine for processing and storing information electronically. To be useful, it must have a way for us to get information into the machine, and some way to get it out afterwards so we can see it. Therefore, a computer has four basic functions:
1. Input
2. Processing
3. Storage
4. Output
Every part of a computer system, and everything it does, is connected to one or more of these basic functions. Computers can seem complex because there are many ways of doing each of these functions, and because everything has a new name, often made up of what appear to be nonsense initials like RAM or CPU.
To keep it simple, first look up any word or technical term you don’t understand. There is a glossary at the back of this course pack with definitions for all the technical terms we use here or that you are likely to hear in talking to technicians. Second, when you encounter any part of a computer for the first time, find out which of these four functions it is used for.
The most obvious device for getting information (also called data) into a computer system is the keyboard. Another common input device is the mouse. Almost any time we use a computer we use one or both of these to get text data or instructions into the system. To get large amounts of information into the computer we would probably use a CD (compact disc), a floppy diskette, a modem connected to a phone line, or a network card connected to a network.
With the right sound equipment, a microphone or musical instrument can be used to bring in sound, and a digital camera can download visual information, so these are all being used as input.
joystick floppy diskettes mouse
keyboard modem
If we just put information into the computer and took it out again later, computers could be much simpler. Most of the time though, we want to do something with it or change it in some way. Doing something with it is called processing, or data processing. Most of this takes place in a part called the processor, or Central Processing Unit. This is usually abbreviated to CPU.
The CPU is such an important part of the computer that we often refer to a system by the type of CPU it contains. My office computer is a Pentium III but at home I have an Athlon system. Sometimes you will hear the entire computer cabinet called a CPU.
To help the CPU there is another part that takes over a lot of the arithmetic. It is called the co-processor and also the Numerical Processing Unit or NPU.
The smallest piece of data that a computer can process is called a bit, and each bit will be either a one or a zero. For the sake of efficiency, the computer normally deals with a minimum of 8 bits at a time, and 8 bits together is called a byte. This is an important word to remember, because in working with computers you will hear about bytes frequently, and also megabytes which is one million bytes. Megabyte is usually abbreviated MB.
Information is stored in a computer in several different ways, but the main two are RAM and hard drive, also called a hard disk.
The hard drive can store huge amounts of information, and it can keep this information when the computer is turned off. The only problem with hard drives is that it takes too long to get the data from them, because the system must wait as the disk spins until the right part of the disk surface comes under the read heads, and then the drive transfers a block of data in sequence.
For information being used at the moment, the system needs to be able to get to any part of that information very quickly. The storage for this information is RAM, which stands for Random Access Memory. Random access means the system can ask for any piece of stored data at random and get it immediately, without waiting for to come up in sequence.
Random access is faster than sequential access. The main reason that computers don’t just store everything in RAM is that information in RAM is lost whenever the power is turned off. So, the computer needs both RAM and disk storage. Everything stored long-term is on the disk, and whatever is needed at the moment is copied into RAM. If changes are made to the data in RAM, the changes must be copied back to the disk before that computer is turned off so those changes are not lost.
When people talk about the memory of a computer, they almost always mean RAM, and not the hard drive or other forms of storage that we haven’t covered yet. Sometimes they will say ‘main memory’ just to be perfectly clear about it.
There are a number of ways to get data back out of the computer. One of them is right there in front of your face, and that’s the monitor. It has a screen that shows you information from the computer, so it is an output device. The monitor and the parts of the computer that run it are known as video. Another common output device is a printer, which of course puts the computer’s output on paper for you.
Some devices are both input and output, like the floppy diskette mentioned earlier. If you have a modem or network connection, information can go both ways over the line so it’s both input and output. In many cases it is practical to consider input and output together, in which case they are called Input/Output and abbreviated as I/O.
The physical parts of as computer are called hardware. These are things you can see and touch, and yes, they are hard.
These same pieces of hardware are used whether you want to write a letter, balance your checkbook or play a game of computer solitaire, so how does this hardware know what to do, and when to do it? Actually, the hardware parts don’t have a clue. They need instructions to tell them what to do, so some of that information we’re storing and processing must be the instructions telling the computer what to do.
These instructions are called software, and they are organized into sets of instructions called programs. If you want to play a game on the computer, the computer must have a program with the instructions for that particular game. If you want to send e-mail, there must be an e-mail program.
One program called the operating system contains the instructions for actually running the computer. Certain things need to be done no matter what you are using the computer for. These are things like getting data on and off the disk, getting information to the monitor screen, and so forth. A program called Windows is the most common operating systems for PCs, and the one used in this office. It comes from a little company called Microsoft. Perhaps you have heard of it.
Anyway, the operating system takes care of the basic details of running the computer, and allows other programs to concentrate on their particular tasks. These other programs are called applications, because their job is to apply the computer to a specific task. When we say software, that can mean the applications, the operating system, or both.
There are other little chunks of software that attach to the operating system and tell it how to run particular hardware components or applications. These little chunks are called drivers, and anytime you add a piece of hardware to a system or upgrade to a new version of a device, you will need to have the right driver for that new piece of hardware.
The word ‘circuit’ means a path something follows that goes back to where it started. In an electrical or electronic circuit, the thing following the path is of course electricity. Whatever work it does and whatever components it must go through on the way, the ‘circuit’ just means there is a complete path back to the starting point. The word ‘circuitry’ means the components, and the connections between them, that make up the path. It’s as simple as that.
In a computer, this word ‘circuit’ shows up in a couple of places. Most of the components will be found soldered to a ‘circuit board’, also called a printed circuit board. This is a thin board of fiberglass, with the connections between components (called traces) printed right on the board in copper.
The components themselves are often something called an Integrated Circuit, abbreviated IC. To integrate means to combine things together, so an integrated circuit is one that combines many circuits into the same part. These are formed on a thin wafer or ‘chip’ of silicon, and you will sometimes hear an IC being called a ‘chip’. This is also where we get the name ‘Silicon Valley’, for the area in Central California where many of them are made.
This chip of silicon is put into a case with metal legs, and tiny wires between the wafer and the legs connect those circuits with the outside world. There are now ICs containing millions of transistors and other components, all in a package that will fit in your palm with lots of room to spare.
The biggest and most important circuit board in a computer is the motherboard. It’s called the motherboard because every other part of the computer is connected to it. The CPU plugs into the motherboard, and so does the memory. And all the components that plug into the back of the case, like the keyboard and monitor, are connected from there to the motherboard. It is also called the system board.
There is a set of slots near the back edge of the board for plugging in other circuit boards, called adapter cards. These plug-in slots are for things like modems, sound cards, network cards and just about any other add-on feature you can think of. There is a set of traces connecting these slots to each other. A trace goes from Pin 1 of the first slot to Pin 1 of each of the other slots, and other traces connect each of the Pin 2s, each of the Pin 3s, etc. These traces then go on to connect to the memory, CPU, disk drives and other parts of the computer.
These traces are called a bus, and they provide a way for each part of the system to exchange information with every other part. There are different types of bus that have been developed over the years, and your computer may have more than one. The most common one, found in every PC sold today, is called the PCI bus. An older version, still seen in some new computers, is the ISA bus. These are fairly easy to tell apart, because the connector that fits in the PCI slot has smaller pins and more of them.
One of the differences between PCI and ISA is that PCI supports a feature called Plug-and-Play, which allows you to add new hardware and have the system detect and configure it automatically. As anyone knows who has used the old method, plug-and-play is a great convenience.
Since just about everything in the computer uses the bus to exchange data, there must be a way to decide whose turn it is. This is done with something called an Interrupt Request, abbreviated IRQ. Each component or device that will need access to the bus is assigned an IRQ level, from IRQ 0 to IRQ 15, and there are lines on the bus that correspond to these levels. When a device needs to transfer data on the bus, it tugs on the appropriate Interrupt Request line and waits until the CPU grants an interrupt for that level. It’s all very nice and orderly. IRQs are an example of a system resource, which is a feature available in limited quantity that must be assigned to specific components.
There are other resources too. Each device must have a unique memory location where their data is stored as it is transferred to and from the bus. These locations are called I/O Ports. For the BIOS and any other devices that use ROM, there must be a range of memory set aside, so that ROM and RAM are not trying to use the same addresses. These ROM addresses are a resource just like the IRQs and I/O Ports. Some devices need to transfer large amounts of data directly to and from memory without using an interrupt for each little piece of data. These devices, such as disk drives, are assigned a resource called DMA, for Direct Memory Access. Like IRQs, there are 16 DMA levels.
USB
parallel port
In addition to the I/O ports mentioned in the last section which are really addresses, there are physical connections on the back of the computer that are also called ports, and various devices connect to the computer through cables attached to these ports. One of these connections is called the Serial Port because data goes over a single signal line as a series of bits, one right after the other. Serial port connectors have either 9 or 25 pins, with the male connector on the back of the computer and a female connector on the cable. The 9-pin version is more common, and is often used to connect a mouse if there is not a separate mouse connection.
serial port
Another connection is called the Parallel Port because its cable has 8 parallel signal lines to transmit 8 bits at a time. The computer has a 25-pin female connector on the back, so it won’t be confused with the 25-pin male serial connector. The parallel port is most often used to connect a printer. Computers sold in the last few years will probably also have a connection called USB, for Universal Serial ...
pokarmy9