Wednesday, August 19, 2009

Computer literacy 101 -- what is a computer?


Back from jury duty (actually, jury selection -- I didn't have to serve). I am going to start my short series on areas that I feel are important to become computer literate. I will try to make it useful but not to go into greater detail than necessary.

A computer, of today, is based on a semiconductor chip called a microprocessor. This is also sometimes referred to as a CPU (Central Processing Unit). This microprocessor changes numbers. It does very simple things with the numbers -- moves them from one location to another, shifts them (which effectively multiplies them by 2 or divides them by 2), does "logic" operations on them (which, if you don't know what that is -- will be another topic in the future), and changes the order in which it follows directions depending on the values that it has been given or has created based on the instructions given. That's about it, although some microprocessors will have other instructions that are actually shortcuts for a sequence of operations that could be done with a long series of simpler instructions.

The microprocessor does simple things with the numbers -- but it does them very, very quickly. When you see an advertisement for a "4 GHz CPU", it is an indication of how fast the microprocessor is and an indication of how quickly instructions can be processed. Larger numbers indicate a greater potential for speed. I say potential because the final speed depends on many design factors but, in general, you can use these numbers as an indicator of speed.

Microprocessors are used in many devices in our modern world. When they are in something that allows its use for different, non predetermined, purposes, it is called a "general purpose computer" or just plain old computer. Most people are familiar with smaller computers that are referred to as Personal Computers (PCs) but computers come in many sizes from a "smart" cell phone to a large "mainframe" which might be as large as several filing cabinets (they keep getting smaller, though).

The other category of use of microprocessors is for specialized uses -- the microprocessor is used for only one thing, or for one category of uses. Televisions, amplifiers, DVD players, watches, digital clocks, refrigerators, coffee makers, fuel injection and engine monitoring systems, traffic lights, alarm systems and MP3 players are all examples of devices using specialized processors. Some devices start entering into a "grey" area where they could be used for various, non-predetermined, purposes but are actually primarily used for a single purpose.

The microprocessor does not exist just by itself. It must have access to ways of giving it information upon which to work and ways to give results. In order to do this, other electronic devices will be connected to it and they, in turn, will be connected to other devices. A digital watch is an example of a very "simple" system which has buttons for setting information and a display to give results.

One very important additional item to which the microprocessor must have access is memory, which will be the topic of the next blog.

No comments:

To Waste or to Waist: That is the question

       As is true of many people growing up in the US, I was encouraged to always clean my plate (encouraged is putting it mildly -- I remem...