Computer
A computer is a machine that can be programmed to automatically carry out a series of arithmetic or logical operations (computation). Modern digital electronic computers can run general sets of instructions called programs, so they can do many different jobs. A computer system can mean a whole computer with the hardware, operating system, software, and peripheral equipment it needs. It can also mean a group of computers that work together, such as a computer network or computer cluster. For the device most people use at home, see Personal computer. For other uses, see Computer (disambiguation).
The picture shows computers from different times. There is an early vacuum-tube computer (ENIAC), a mainframe computer (IBM System/360), a smartphone (LYF Water 2), a desktop computer (IBM ThinkCentre S50 with a monitor), and a supercomputer (IBM Summit). Only a few computers existed in the 1930s. Today, they are found in many factory and consumer products, where they act as control systems. Some computers are very simple, like the single-purpose devices in key fobs, microwave ovens, and remote controls. Others are very large, like supercomputers and factories that use industrial robots. Computers are also at the heart of general-purpose devices such as personal computers and mobile devices, including smartphones. Computers power the Internet, which connects billions of computers and users.
Early computers were only used for calculations. People have used simple tools like the abacus to help with counting since ancient times. Early in the Industrial Revolution, some machines were built to do long, boring jobs automatically, such as guiding patterns for looms. In the early 1900s, more advanced electrical machines did special analog calculations. Early digital electronic calculating machines were developed during World War II. Their technology changed over time, moving from electromechanicals (1930s) and thermionic valves (1930s) to transistors (1940s), MOSFET transistors (1950s), and finally monolithic integrated circuits (1950s onward). Each step led to smaller, more efficient circuits. This led to the microprocessor and the microcomputer revolution in the 1970s.
Since then, computers have become much faster, more powerful, and more versatile. The number of transistor counts on a chip has grown quickly. Moore's law noted that these counts doubled about every two years. This growth helped start the Digital Revolution in the late 1900s and early 2000s. A modern computer usually has at least one processing element, typically a central processing unit (CPU) in the form of a microprocessor. It also has some kind of computer memory, usually semiconductor memory chips. The processing element carries out arithmetic and logical operations. A control unit can change the order of these operations based on stored information. Peripheral devices include input devices such as keyboards, mice, and joysticks. They also include output devices such as monitors and printers. Some devices do both, such as touchscreens (input/output devices).
Etymology
The word did not get its modern meaning until the mid-1900s. According to the Oxford English Dictionary, the first known use of computer was in 1613, in a book called The Yong Mans Gleanings by the English writer Richard Brathwait. He wrote, "I have sic read the truest computer of Times." At that time, a computer was a human computer, a person who did computations. The word kept this meaning until the middle of the 1900s. Later in that time, many women were hired as computers because they were often paid less than men. By 1943, most human computers were women.
The Online Etymology Dictionary gives the first known use of computer in the 1640s, meaning "one who calculates." From 1897, the word was used for any kind of "calculating machine." The modern meaning, a programmable digital electronic computer, dates from 1945 under this name. The idea was linked to the Turing machine in 1937. The name has stayed the same, even though modern computers can do many more advanced jobs.
History
Main articles: History of computing and History of computing hardware
For a timeline of important events, see Timeline of computing.
People have used tools to help them count for thousands of years. At first, people often matched one object to one finger. The earliest counting tool was most likely a tally stick. The Roman abacus was based on tools used in Babylonia as early as 2400 BCE. The Antikythera mechanism is believed to be the oldest known mechanical analog computer. English engineer Charles Babbage came up with the idea of a computer that could be programmed. He is often called the "father of the computer." His machine was far ahead of its time, and it was never finished.
In the 1930s and 1940s, electronic parts began to take the place of mechanical ones. In 1941, German engineer Konrad Zuse built the Z3, which is considered the first working machine that was programmable, fully automatic, and used digital numbers. The Colossus was the first electronic digital computer that could be programmed. The Manchester Baby ran its first program in 1948 and was the first stored-program computer. From 1955 on, transistors replaced vacuum tubes in computer designs. Later, the integrated circuit and the microprocessor made computers much smaller and more powerful. The Intel 4004 is widely agreed to be the first single-chip microprocessor. Today, smartphones and tablets are the most common computing devices.
Types
See also: Classes of computers
Computers can be sorted in many ways. Some are Analog computer, digital computers, Hybrid computer, Harvard architecture, Von Neumann architecture, Complex instruction set computer, and Reduced instruction set computer designs. By size and purpose, there are Supercomputer, Mainframe computer, and Midrange computer systems. There are also servers, such as Rackmount server, Blade server, and Tower server. Personal computers include Workstation, Desktop computer, Laptop computer, Tablet computer, Smartphone, Smartwatch, and Smartglasses. Small computers that are built into other devices include Single-board computer, Programmable logic controller, and Microcontroller. To learn more about sizes, see List of computer size categories.
A computer does not have to be electronic. It also does not need a processor, RAM, or a hard disk. People often use the word "computer" to mean a personal electronic computer. A modern definition says a computer is a device that computes. This usually means a machine that can be programmed and is mostly electronic. It does fast math or logical operations, or it collects, stores, or processes information. Under this definition, any device that processes information counts as a computer.
Main article: Human computer. See also: Harvard Computers.
Hardware
Hardware is all the physical parts of a computer that you can touch. These include circuits, computer chips, graphics cards, sound cards, memory (RAM), motherboards, displays, power supplies, cables, keyboards, printers and computer mice. A general-purpose computer has four main parts: the arithmetic logic unit (ALU), the control unit, memory, and input and output devices. These parts are connected by buses. Inside them, tiny circuits are switched on or off. A circuit that is on stands for a "1," and a circuit that is off stands for a "0." Each of these digits is a bit. The circuits are arranged in logic gates, so one circuit can control others.
Input devices, such as the mouse and keyboard, let people control a computer and give it information. Output devices, such as the computer monitor and printer, show the results of the computer's work. The control unit manages the computer's parts and reads the program instructions. A program counter keeps track of which instruction comes next. The ALU does math and logic operations. Together, the control unit, ALU and registers form the central processing unit (CPU). Since the 1970s, CPUs have usually been built on a single chip called a microprocessor. Memory holds numbers. A computer's main memory includes random-access memory or RAM and read-only memory or ROM.
| Peripheral device (input/output) | Input | Mouse, keyboard, joystick, image scanner, webcam, graphics tablet, microphone |
| Output | Monitor, printer, loudspeaker | |
| Both | Floppy disk drive, hard disk drive, optical disc drive, teleprinter | |
| Computer buses | Short range | RS-232, SCSI, PCI, USB |
| Long range (computer networking) | Ethernet, ATM, FDDI |
Software
Main article: Software
Software is encoded information that tells a computer how to work. It includes data and instructions for handling that data. Unlike the hardware that a computer is built from, software is not physical. Software includes computer programs, libraries, and other files that are not programs, such as online documentation or digital media. Software is often split into system software and application software. A modern computer needs both software and hardware. Firmware is a special type of software that controls physical hardware. One example is the BIOS ROM in an IBM PC compatible computer.
A computer can be programmed. This is what makes computers different from most other machines. A set of instructions, called the program, is given to the computer, and the computer follows them. Many modern computers, based on the von Neumann architecture, use machine code written in an imperative programming language. A program can be just a few instructions or millions of them, like the programs for word processors and web browsers. A modern computer can carry out billions of instructions every second (gigaflops). It also rarely makes a mistake, even over many years. Large programs can take teams of programmers years to write, and they almost always contain some errors.
Most common computers based on the RAM machine read simple instructions from memory and carry them out (executed) one after another. Special "jump" instructions (branches) let the computer skip ahead or go back. Sometimes a jump happens only conditionally, depending on earlier results. Subroutines let the computer remember where it came from. This is called the flow of control, and it lets a computer repeat tasks without help from a person. A calculator can add two numbers with a few button presses. A computer can add all the numbers from 1 to 1,000 using a few instructions written in MIPS assembly language. Each instruction is stored as machine code with its own number, called an opcode. Because programs are lists of numbers, they can be stored in memory next to the data they use. This is the idea behind the von Neumann, or stored program, architecture. Some computers keep their program separate from their data. This is called the Harvard architecture, and modern computers still use some of its features, such as CPU caches. Writing long lists of numbers (machine language) is slow and easy to get wrong. So each instruction is given a short, easy name, called a mnemonic, such as ADD or JUMP. Together these names form assembly language, which an assembler changes into machine language. A programming language is a notation system for writing source code. Unlike natural languages, it is designed to be exact and short. Before a program runs, a compiler or assembler changes it into machine code. Or an interpreter reads it directly. Mistakes in programs are called "bugs." Some bugs are harmless. Others can make a program or system "hang," stop responding to mouse clicks or keystrokes, fail, or crash. Bugs are usually caused by mistakes made by programmers, not by the computer, which only follows its instructions. Admiral Grace Hopper, an American computer scientist who helped develop the first compiler, is credited with first using the word "bugs" in 1947. A dead moth was found blocking a relay in the Harvard Mark II computer.
Main article: Programming language
Main article: Software bug
Networking and the Internet
Since the 1950s, computers have been used to share information between different places. The U.S. military's SAGE system was the first big example of this. It led to other special systems for businesses, such as Sabre. In the 1970s, computer engineers at research centers across the United States started connecting their computers using telecommunications technology. ARPA (now DARPA) paid for this work. The computer network it created was called the ARPANET.
In the 20th century, most artificial intelligence systems were symbolic. This means developers wrote the exact code that the computer followed. Machine learning models work differently. They have settings that change during training, so they can learn a task from the data they are given. Machine learning, especially with neural networks, has improved quickly. Better hardware for parallel computing has helped, mainly graphics processing units (GPUs). Some large language models can control computers or robots. AI progress may one day lead to artificial general intelligence (AGI). This is a type of AI that could do almost any thinking task about as well as people can.
Professions and organizations
As computers have spread through society, more and more jobs involve working with computers.
Computers need to work well together and share information. Because of this, many groups have formed. These include standards groups, clubs, and societies, some formal and some informal.
| Hardware-related | Electrical engineering, Electronic engineering, Computer engineering, Telecommunications engineering, Optical engineering, Nanoengineering |
| Software-related | Computer science, Computer engineering, Desktop publishing, Human–computer interaction, Information technology, Information systems, Computational science, Software engineering, Video game industry, Web design |
| Standards groups | ANSI, IEC, IEEE, IETF, ISO, W3C |
| Professional societies | ACM, AIS, IET, IFIP, BCS |
| Free/open source software groups | Free Software Foundation, Mozilla Foundation, Apache Software Foundation |

Quiz time!
4 questions about Computer
What is hardware?
Pictures
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Computer, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.