Computer
A computer is a machine that can be programmed to automatically carry out sequences of arithmetic or logical operations (computation). Modern digital electronic computers can perform general sets of operations called programs, which let them do many different tasks. A computer system can mean a complete computer with the hardware, operating system, software, and peripheral equipment it needs, or 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 eras, including an early vacuum-tube computer (ENIAC), a mainframe computer (IBM System/360), a smartphone (LYF Water 2), a desktop computer (IBM ThinkCentre S50 with monitor), and a supercomputer (IBM Summit). Only a few computers existed in the 1930s, but today they are found in many industrial and consumer products that use them as control systems. Computers can be very simple, like the single-purpose devices in key fobs, microwave ovens, and remote controls, or very large, like supercomputers and factories that use industrial robots. They are also at the heart of general-purpose devices such as personal computers and mobile devices, including smartphones. Computers power the Internet, which links billions of computers and users.
Early computers were meant to be used only for calculations. People have used simple tools like the abacus to help with calculating since ancient times. Early in the Industrial Revolution, some mechanical devices were built to automate long, tedious tasks, such as guiding patterns for looms. In the early 20th century, more advanced electrical machines did specialized analog calculations. Early digital electronic calculating machines were developed during World War II. Their technology moved from electromechanicals (1930s) and thermionic valves (1930s) to semiconductor transistors (1940s), MOSFET (MOS transistors, 1950s), and finally monolithic integrated circuits (1950s+). Each advance led to smaller, more efficient circuit designs, which led to the microprocessor and the microcomputer revolution in the 1970s.
Since then, the speed, power, and versatility of computers have grown dramatically, as transistor counts have increased at a rapid pace. Moore's law noted that counts doubled every two years. This growth led to the Digital Revolution during the late 20th and early 21st centuries. A modern computer usually has at least one processing element, typically a central processing unit (CPU) in the form of a microprocessor, along with some type of computer memory, typically semiconductor memory chips. The processing element carries out arithmetic and logical operations, and a control unit can change the order of operations based on stored information. Peripheral devices include input devices such as keyboards, mice, and joysticks; output devices such as monitors and printers; and input/output devices that do both, such as touchscreens.
Etymology
The word did not take on 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. During the later part of that time, women were often hired as computers because they could be 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." The word was used for a "calculating machine" of any type from 1897. The modern meaning, a programmable digital electronic computer, dates from 1945 under this name. In theory, the idea came from 1937, when it was linked to the Turing machine. 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 chronological guide, see Timeline of computing.
People have used devices to help with counting for thousands of years, mostly by matching one object to one finger. The earliest counting device was most likely a form of tally stick. The Roman abacus was developed from devices used in Babylonia as early as 2400 BCE. The Antikythera mechanism is believed to be the earliest known mechanical analog computer. English engineer Charles Babbage originated the idea of a programmable computer and is considered the "father of the computer." His machine was about a century ahead of its time, and it was never finished.
In the 1930s and 1940s, electronic parts began to replace mechanical ones. In 1941, German engineer Konrad Zuse built the Z3, the world's first working electromechanical programmable, fully automatic digital computer. The Colossus was the world's first electronic digital programmable computer. The Manchester Baby ran its first program in 1948 and was the world's first stored-program computer. From 1955 onward, 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 largely agreed to be the first single-chip microprocessor. Today, smartphones and tablets have become the dominant computing devices on the market.
Types
See also: Classes of computers
Computers can be sorted in many ways. By design, they include 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, the groups include Supercomputer, Mainframe computer, and Midrange computer systems, as well as 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 built into other devices include Single-board computer, Programmable logic controller, and Microcontroller. For more about sizes, see List of computer size categories.
A computer does not have to be electronic, and it does not need a processor, RAM, or a hard disk. People often use the word "computer" to mean a personal electronic computer, but a modern definition describes a computer as a device that computes. This usually means a programmable, mostly electronic machine that does fast math or logical operations, or that 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 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 one 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, are how people control a computer and give it data. 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 performs arithmetic 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, and 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 the encoded information that determines how a computer works, such as data or instructions on how to process the data. Unlike the physical hardware that a computer is built from, software is not physical. Software includes computer programs, libraries, and related non-executable data, such as online documentation or digital media. It is often divided into system software and application software. Both software and hardware are key parts of a modern computer. Firmware is a type of software that controls physical hardware, such as BIOS ROM in an IBM PC compatible computer.
A computer can be programmed, which sets modern computers apart from all other machines. Some type of instructions (the program) is given to the computer, and it processes them. Modern computers based on the von Neumann architecture often use machine code written in an imperative programming language. A program may be just a few instructions or many millions, like the programs for word processors and web browsers. A typical modern computer can carry out billions of instructions each second (gigaflops) and rarely makes a mistake over many years. Large programs can take teams of programmers years to write, and they almost certainly contain errors.
Most common RAM machine–based computers read simple instructions from memory and carry them out (executed) in order. Special "jump" instructions (branches) let them skip ahead or go back, sometimes conditionally depending on earlier results, and subroutines let them remember where they came from. This is called the flow of control, and it allows a computer to repeat tasks without human help. A calculator can add two numbers with a few button presses, but a computer can add all the numbers from 1 to 1,000 with 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 alongside the data they use, which is the idea behind the von Neumann, or stored program, architecture. Some computers keep their program separate from their data, which is called the Harvard architecture, and modern computers show some of its features, such as CPU caches. Writing long lists of numbers (machine language) is tedious and easy to get wrong, so each instruction is given a short, easy name, a mnemonic such as ADD or JUMP. Together these form assembly language, which an assembler turns into machine language. A programming language is a notation system for writing source code. Unlike natural languages, it is designed to be exact and concise. Programs are changed into machine code by a compiler or assembler before running, or read directly by an interpreter. Errors in programs are called "bugs." Some bugs are harmless, but 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 and developer of the first compiler, is credited with first using the term "bugs" in 1947, after a dead moth was found shorting a relay in the Harvard Mark II computer.
Main article: Programming language
Main article: Software bug
Networking and the Internet
Computers have been used to share information between several places since the 1950s. The U.S. military's SAGE system was the first large example of this, and it led to other special systems for businesses, such as Sabre. In the 1970s, computer engineers at research centers across the United States began connecting their computers using telecommunications technology. ARPA (now DARPA) paid for this work, and the computer network it created was called the ARPANET.
In the 20th century, most artificial intelligence systems were symbolic, which means developers wrote the exact code the computer followed. Machine learning models work differently. They have settings that are adjusted during training, so they learn a task from the data they are given. Machine learning, especially with neural networks, has improved quickly with better hardware for parallel computing, mainly graphics processing units (GPUs). Some large language models can control computers or robots. AI progress may lead to artificial general intelligence (AGI), a type of AI that could do almost any thinking task at least as well as people.
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, including standards organizations, clubs, and societies, both formal and 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!
5 questions about Computer
What was found inside the Harvard Mark II computer that gave computer errors their nickname of "bugs"?
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.