Computing
Computing is any activity, aimed at a goal, that needs computers, benefits from them, or creates them.[1] It covers many kinds of work:[1]
- designing and building hardware and software,
- organizing and managing information,
- doing science with computers,
- making computers behave intelligently,
- making media for communication and entertainment.
Computing is both a profession and an academic field. Universities split it into several disciplines, such as computer science, computer engineering, and software engineering. Each one looks at computers from a different angle.[1][2]
What a computer does
A computer is a device that processes, stores, and displays information.[3]
The word once meant a person who did calculations by hand. Today it almost always means an automatic electronic machine.[3]
Information as bits
Modern digital computers store information as strings of 0s and 1s, called binary digits, or bits.[3]
The first computers were used mainly for calculations with numbers. Because any kind of information can be written as numbers, people soon saw that computers could process information of every kind.[3]
For example, the binary number 1101 stands for the ordinary number 13:
Each place is worth twice the place to its right, and each digit says whether that place counts (1) or not (0).
Hardware and software
A computer system has two parts that work together.
- Hardware is the physical machine.[4]
- Software is the set of instructions that tell the hardware what to do. One such set of instructions for a task is called a program.[4]
A program carries out one or more algorithms. An algorithm is a set of steps that gives the answer to a question, or solves a problem, in a limited number of steps.[5] Long division is an everyday example.[5]
Inside a computer
The main hardware parts
The hardware of a computer is usually divided into three groups.[3]
- The central processing unit (CPU) carries out the instructions. It contains an arithmetic logic unit (ALU) that does arithmetic and logic, and control circuits that decide which operation comes next.[3]
- Main memory, or random-access memory (RAM), holds the programs and data in use.[3]
- Peripherals are the input and output devices, such as keyboards, displays, printers, disk drives, and network connections.[3]
The CPU and RAM are integrated circuits: small chips of silicon holding many transistors that act as electrical switches.[3]
How a processor runs a program
In a stored-program computer, programs and data sit in the same memory as patterns of bits.[3] Each spot in memory has a memory address, which gives its location. The CPU keeps a program counter that holds the address of the next instruction.[3]
The CPU also has registers, small storage areas inside it that hold results for a short time.[3] It then repeats the fetch-decode-execute cycle:[3]
- Fetch the instruction from the address in the program counter.
- Decode it to find the operation and the data it works on.
- Fetch the data (operands), if any.
- Carry out the operation.
- Store the result in a register or in memory, if there is one.
- Update the program counter to point to the next instruction, or to a new address if the instruction was a branch.
Branch instructions, which set the new address used in step 6, let a program make choices, such as "if the last result was negative, jump to another part of the program."[3] The cycle repeats until a halt instruction stops it.[3]
A clock times every step of the cycle. Modern clocks run at billions of cycles per second (gigahertz).[3]
Types of software
Software comes in two main types, plus a third.[4]
- System software runs the computer's inner workings, mainly through an operating system. It also controls devices such as monitors, printers, and storage.[4]
- Application software carries out tasks for the user. Examples include word processors, spreadsheets, databases, and payroll programs.[4]
- Network software handles communication between computers linked in a network.[4]
The computing disciplines
Computing is too broad for one person to master, so university programs focus on parts of it.[1] Joint reports by the Association for Computing Machinery, the IEEE Computer Society, and the Association for Information Systems set out these disciplines. These include the Computing Curricula reports of 2005 and 2020.[1][2]
The five classic disciplines
The 2005 report named five disciplines that each had, or would soon have, curriculum guidelines.[1]
| Discipline | Main focus |
|---|---|
| Computer engineering | Designing and building computers and computer-based devices, drawing on electrical engineering and mathematics. Embedded systems, such as those in phones and medical devices, are a major area.[1] |
| Computer science | A wide range, from the theory of algorithms to robotics, computer vision, intelligent systems, and Bioinformatics.[1] |
| Information systems | Joining technology with business processes to meet an organization's information needs. Most programs sit in business schools.[1] |
| Information technology | The technology itself: choosing, installing, running, and securing an organization's hardware and software, and supporting its users.[1] |
| Software engineering | Building and maintaining software that works reliably and efficiently, is affordable, and meets its users' requirements.[1] |
Newer disciplines
The 2020 report added two areas that emerged in the 2010s.[2]
- Cybersecurity gained a curriculum recommendation and rules for approving degree programs in 2017.[2]
- Data science is closely related to data analytics and data engineering. Its curriculum report was still being written in 2020.[2]
The 2020 report left out artificial intelligence as a separate discipline because no joint curriculum guideline for it existed yet.[2]
Theory: what can be computed
The theory of computing asks which problems a machine can solve at all. Its main tool is the Turing machine, a simple imaginary machine first described by Alan Turing in a paper of 1936 to 1937.[6] Turing's paper used it to study the limits of what can be computed.[6]
The Turing machine
A Turing machine has a tape divided into squares, each holding one symbol or a blank.[6] A head scans one square at a time. The machine is always in one of a fixed, limited set of states, and its current state together with the scanned symbol decides what it does next.[6]
Each rule says what to do for a given state and scanned symbol:[6]
- write a new symbol in the square,
- move one square left, one square right, or stay put,
- switch to the next state.
Turing called these "automatic machines." Alonzo Church first called them Turing machines in a 1937 review.[6]
Universal machines and the Church-Turing thesis
Turing also described a universal machine. It reads the program of any other Turing machine from its tape and copies that machine's behavior.[6]
Emil Post and Alonzo Church gave different but equivalent definitions of computation at about the same time.[6] Most computer scientists accept that these definitions capture every problem that can be computed. This idea is called the Church-Turing thesis.[6]
Limits of computation
Some problems have no algorithm at all. Turing used his machines to prove that the Entscheidungsproblem has no solution. This problem asks for a general method to decide whether a given statement of first-order logic can be proved.[6]
The best-known example is the halting problem: deciding, for every machine and input, whether the machine will eventually stop.[6] A standard proof assumes there is a decider, a machine that always answers this yes-or-no question, and then builds a machine that contradicts it. Turing's own problem was a close version of this one.[6]
History
Computing grew from mechanical designs in the 1800s to electronic machines in the 1940s and single-chip processors by the 1970s.
Early designs
- In 1834, Charles Babbage came up with the Analytical Engine, a general-purpose programmable computing machine.[7] It was to be programmed with punched cards, a method taken from the Jacquard loom.[8] Only parts of it were ever built.[9]
- In 1843, Ada Lovelace published an account of the Analytical Engine.[8] Her notes showed how it could follow a program to calculate Bernoulli numbers.[9]
- In 1936, Turing described his abstract machine.[6]
Electronic computers
- ENIAC was started in 1943 by John Mauchly and J. Presper Eckert and shown publicly in 1946.[10] It used about 18,000 vacuum tubes, weighed 30 tons, and was programmed by rewiring panels and setting switches.[10]
- On 16 December 1947, John Bardeen and Walter Brattain at Bell Labs made the first working point-contact transistor.[11]
- On 21 June 1948, the Manchester Baby ran a 17-instruction program written by Tom Kilburn. It was the first program to run on a digital, electronic, stored-program computer.[12]
Chips and microprocessors
- On 12 September 1958, Jack Kilby of Texas Instruments built a working circuit whose parts were all made from semiconductor material.[13]
- In July 1959, Robert Noyce of Fairchild filed a patent for a single-chip (monolithic) integrated circuit that could be made in volume. Kilby and Noyce are now credited as co-inventors of the integrated circuit.[14]
- In 1971, Intel advertised the Intel 4004, built for a Japanese calculator maker. It had 2,250 transistors and could do up to 90,000 operations per second.[10] Britannica calls it the first microprocessor.[3]
Growth of the academic field
The computing disciplines formed in stages.
- Undergraduate computing programs began to appear in the 1960s. In North America there were at first only three kinds: computer science, electrical engineering, and information systems.[1] Information systems then focused on business needs such as accounting, payroll, and inventory.[1]
- From the mid-1970s, after the microprocessor appeared, computer engineering began to emerge from within electrical engineering as a discipline of its own.[1]
- In the early 2000s, software engineering gained its own curriculum recommendation, and information technology programs arose to run computing infrastructure and support users.[2]
- In the 2010s, cybersecurity and data science emerged as new disciplines.[2]
Related areas
Several fields apply computing to particular goals.
- Computational science uses mathematics and computing to advance science and engineering, for example in weather and climate prediction and drug design.[15]
- Virtualization is the simulation of the software or hardware that other software runs on. The simulated environment is called a virtual machine.[16]
- Physical computing is about sensing and controlling the physical world with computers.[17]
References
- Computing Curricula 2005: The Overview Report, ACM, AIS, and IEEE Computer Society, 2005.
- Computing Curricula 2020: Paradigms for Global Computing Education, ACM and IEEE Computer Society, 2020.
- Computer, Encyclopaedia Britannica.
- Software, Encyclopaedia Britannica.
- Algorithm, Encyclopaedia Britannica.
- Turing Machines, Stanford Encyclopedia of Philosophy.
- A Brief History: The Analytical Engine, Computer History Museum.
- Charles Babbage's Difference Engines and the Science Museum, Science Museum.
- Analytical Engine, Encyclopaedia Britannica.
- Timeline of Computer History: Computers, Computer History Museum.
- 1947: Invention of the Point-Contact Transistor, Computer History Museum.
- 1948: First Computer Program to Run on a Computer, Computer History Museum.
- 1958: All Semiconductor "Solid Circuit" is Demonstrated, Computer History Museum.
- 1959: Practical Monolithic Integrated Circuit Concept Patented, Computer History Museum.
- SIAM Report on the Future of Computational Science, Society for Industrial and Applied Mathematics, 2024.
- Virtualization (glossary), NIST Computer Security Resource Center.
- Physical Computing: Sensing and Controlling the Physical World with Computers, D. O'Sullivan and T. Igoe, 2004.
