Safekipedia

Computer

Discoverer · ages 10+Adapted from Wikipedia
The Summit supercomputer, one of the most powerful computers in the world, housed at Oak Ridge National Laboratory.

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

A human computer, with microscope and calculator, 1952

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

The Ishango bone, a bone tool dating back to prehistoric Africa
The Chinese suanpan (算盘). The number represented on this abacus is 6,302,715,408.

Main articles: History of computing and History of computing hardware

For a chronological guide, see Timeline of computing.

The Antikythera mechanism, dating back to ancient Greece circa 200–80 BCE, is an early analog computing device.

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.

A slide rule

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

Diagram showing how a particular MIPS architecture instruction would be decoded by the control system
Magnetic-core memory (using magnetic cores) was the computer memory of choice in the 1960s, until it was replaced by semiconductor memory (using MOS memory cells).

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.

Software

Main article: Software

Replica of the Manchester Baby, the world's first electronic stored-program computer, at the Museum of Science and Industry in Manchester, England

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 1970s punched card containing one line from a Fortran program. The card reads: "Z(1) = Y + W(1)" and is labeled "PROJ039" for identification purposes.

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.

The actual first computer bug, a moth found trapped on a relay of the Harvard Mark II computer

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

Operating system / system softwareUnix and BSDUNIX System V, IBM AIX, HP-UX, Solaris (SunOS), IRIX, List of BSD operating systems
LinuxList of Linux distributions, Comparison of Linux distributions
WindowsWindows 95, Windows 98, Windows NT, Windows 2000, Windows ME, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
MS-DOS compatibleMS-DOS, IBM PC DOS, DR-DOS, FreeDOS
MacClassic Mac OS, macOS (previously OS X and Mac OS X)
Embedded and real-timeList of embedded operating systems
ExperimentalAmoeba, Oberon–AOS, Bluebottle, A2, Plan 9 from Bell Labs
LibraryMultimediaDirectX, OpenGL, OpenAL, Vulkan (API)
Programming libraryC standard library, Standard Template Library
DataProtocolTCP/IP, Kermit, FTP, HTTP, SMTP
File formatHTML, XML, JPEG, MPEG, PNG
User interfaceGraphical user interface (WIMP)Windows, GNOME, KDE, QNX Photon, CDE, GEM, Aqua
Text-based user interfaceCommand-line interface, Text user interface
Application softwareOffice suiteWord processing, Desktop publishing, Presentation program, Database management system, Scheduling & Time management, Spreadsheet, Accounting software
Internet AccessBrowser, Email client, Web server, Mail transfer agent, Instant messaging
Design and manufacturingComputer-aided design, Computer-aided manufacturing, Plant management, Robotic manufacturing, Supply chain management
GraphicsRaster graphics editor, Vector graphics editor, 3D modeler, Animation editor, 3D computer graphics, Video editing, Image processing
AudioDigital audio editor, Audio playback, Mixing, Audio synthesis, Computer music
Software engineeringCompiler, Assembler, Interpreter, Debugger, Text editor, Integrated development environment, Software performance analysis, Revision control, Software configuration management
EducationalEdutainment, Educational game, Serious game, Flight simulator
GamesStrategy, Arcade, Puzzle, Simulation, First-person shooter, Platform, Massively multiplayer, Interactive fiction
MiscArtificial intelligence, Antivirus software, Malware scanner, Installer/Package management systems, File manager

Networking and the Internet

Visualization of a portion of the routes on 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.

Quiz time!

5 questions about Computer

Question 1 of 5

What was found inside the Harvard Mark II computer that gave computer errors their nickname of "bugs"?

Pictures

A technician replaces a vacuum tube in ENIAC, one of the first general-purpose electronic computers. Finding a bad tube among its thousands of parts could take careful searching.
An IBM System/360 mainframe computer on display at the Computer History Museum, showing how early business computers looked.
A ThinkCentre S50 desktop computer sits alongside its monitor, a typical personal computer setup from the 2000s.
Charles Babbage, the English mathematician and inventor who designed early mechanical computers, photographed around 1860.
A Difference Engine No. 2 on display at Intellectual Ventures in Seattle, a mechanical calculator inspired by Charles Babbage's designs.
A design sketch by William Thomson (later Lord Kelvin) for the third tide-predicting machine, drawn around 1879 to 1881. Machines like this used gears and wheels to predict ocean tides.
The LYF Water 2, a silver Android smartphone, photographed from the front.
An 1853 illustration of part of Charles Babbage's Difference Engine No. 1, an early mechanical calculator designed to compute mathematical tables.
An electro-mechanical calculator built in 1920 by Leonardo Torres Quevedo, an early machine that helped people do math automatically.

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.