1 Introduction to Computing and Computer Science
Computers have been around for thousands of years. They just did not have all of the cool flashing lights
Any elementary school students can provide you with a definition of computing; it is adding and subtracting. The high school student would tell you that it is using a computer. And the engineer is likely to return to the arithmetic definition. While these are all true, their definitions are too narrow. We are going to use a more general definition of computing. Computing is the process of turning data into information.
With a definition of computing we can now define a computer. A computer is a tool for computing. A circular definition but it describes the process of using a tool to turn data into information.
The term computer actually comes from this. Before mechanical computers, when large scale computation was needed people were hired to do the calculations by hand.
Early construction was accomplished using measurements based upon the craftsman’s body parts; the width of a hand, or the length of the foot. This lead to the the cubit – the length of the forearm from the extended middle finger to the elbow. While considered a standardized measurement of approximately 500 mm, it varied by as much as ten percent between different cultures.
These measurement tools lacked precision. One carpenter’s foot was significantly different from another’s. Even a skilled craftsman would be inconsistent from one measurement to the next. As a result one of the oldest, simplest, and possibly useful computers was invented – the ruler. A ruler provided a means of precision in measuring linear distances. Rulers also resolved problems with accuracy in measurements. As long ago as five thousand years rulers were being used that were accurately calibrated to a sixteenth of an inch.
Of course the computer that we call the ruler – even a homemade ruler – was fine for precision linear measurements. But the ancients were fascinated with angles as well. An ability to measure an angle would open up their study of the movement of the earth, the planets, and the stars. Thus the next computer was created – the protractor. The protractor made it possible to measure distances along an arc. They could then measure movements of planets and stars.
Antikythera Mechanism
Antikythera Mechanism
Babbage’s Analytical Engine
For the next hundred years the precursor to the modern computer was mechanization. Typewriters and adding machines were developed to support the industrial revolution. Henry Ford used automation to mass produce automobiles. The mechanical devices created to support the industrial revolution are not commonly thought of as computers, but in their own way they are.
Synchronization Gear
While still mechanical, the interruptor meets our definition of a computer. It collected data – the arc position of the propellor – and processed it into actionable information – a decision as to whether or not the weapon would be able to fire.
Enigma Machine
During the 1920s and 30s work had started on the development of advanced means for encrypting text. Generally known as enigma, these mechanical computing devices used a series of rotating gears and plug connectors to encrypt text. It functioned on the idea that if the number of setting permutations are large then the chance of an enemy being able to crack the cypher was very low. While the enigma machine is commonly thought of as a German device, a United States patent was issued for an early enigma machine in (figure: US patent drawing for the Enigma encryption device).
Differential Analyzer
To resolve the issue engineers designed a mechanical computer called the differential analyzer. Its purpose was to solve differential equations. When first designed and implemented in the it was used to calculate tide tables. With the advent of the second world war it was adapted to calculate artillery trajectories.
ENIAC
Compare that to a modern smartphone that weighs in at a fraction of kilogram and can compute are millions of operations per second.
None of us can avoid interacting with technology every day. We all interact with a multitude of computer devices every day. On a personal level these might be phones, tablets, a laptop or desktop computer. Moving outward we use online payment systems, and ATMS. The technology that run these devices could be personal but they could be a mainframe computer that we do not even see. The common trait is this these are all examples of hardware; physical devices that run programs.
Component | Purpose |
Central Processing Unit | Performs the operations in the computer |
Main Memory | Random access memory (RAM) |
Secondary Storage Memory | Non-volatile memory |
Input Devices | Devices for entering data into the computer |
Output Devices | Devices for retrieving information from the computer |
Interaction between the hardware components of a computer
Software is the set of steps that we follow; what we will call an algorithm or a program. the program on a computer is the language specific set of instructions the computer will follow in completing a task. Program are commonly written in high level languages that can either be compiled to create a single executable file to run on the computer, or can be interpreted one line at a time to complete the task.
But software can also be simple. Measuring the distance between two points involves following a set of instructions. How we do this – put the leading edge of ruler on one point and the flat edge on the other, then read the value off the rule – is the program. In this case we are the computer, our hands and eyes the input device, our brain the processor, and also the secondary memory. The process is the software.
Our goal is not to develop the hardware, but instead the software. The software can be a single line or command – or a complex set of millions of lines of instructions, but the process is the same in that it will collect data and transform it into information.
- What is computing?
- What is the role of the computer in computing?
- What are examples of the computers used by the ancients?
- Write about the first mechanical computer.
- What is Antikythera Mechanism?
- What was Babbage’s Analytical Engine?
- What is an interruptor in computer terms?
- How did world conflict bring about advances in computing?
- What was the use of ENIGMA machine?
- What was the ENIAC?
- What is an algorithm?
- What is a software? What is a hardware? Give examples.
- Describe the difference between hardware and software. What are examples of each?
- What is the purpose of the Central Processing Unit?
- What is the difference between Main Memory (RAM) and Secondary Memory?
- What is meant by a data stream?