Computer
|
A
|
Conventionally, a computer
consists of at least one processing element, typically a central processing
unit (CPU) and some form of memory. The processing element carries out
arithmetic and logic operations, and sequencing and control unit that can
change the order of operations based on stored information. Peripheral devices
allow information to be retrieved from an external source, and the result of
operations saved and retrieved.
The Z3 by German inventor Konrad Zuse from 1941 was the
first working programmable, fully automatic computing machine. Thus, Zuse is
often regarded as the inventor of the
computer.
The first electronic
digital computers were developed between 1940 and 1945 in the United Kingdom
and United States. Originally they were the size of a large room, consuming as
much power as several hundred modern personal computers (PCs). In this era
mechanical analog computers were used for military applications.
Modern computers based on integrated
circuits are millions to billions of times more capable than the early
machines, and occupy a fraction of the space. Simple computers are small enough
to fit into mobile devices, and mobile computers can be powered by small
batteries. Personal computers in their various forms are icons of the
Information Age and are what most people think of as “computers”. However, the
embedded computers found in many devices from MP3 players to fighter aircraft
and from toys to industrial robots are the most numerous.
Programming language
Programming language provide various
ways of specifying programs for computers to run. Unlike natural language,
programming language are designed to permit no ambiguity and to be concise.
They are purely written language and are often difficult to read aloud. They
are generally either translated into machine code by a compiler or an assembler
before being run, or translated directly at run time by an interpreter.
Sometimes programs are executed by a hybrid method of the two techniques.
Low-level languages
Machine languages and the assembly languages
that represent them (collectively termed low-level
programming language) tend to be unique to a particular type of computer.
For instance, an ARM architecture computer (such as may be found in a PDA or hand-held
videogame) cannot understand the machine language of an Intel Pentium or the
AMD Athlon 64 computer that might be in a PC.
Higher-level languages
Through considerably easier than in machine
language, writing long programs in assembly language is often difficult and is
also error prone. Therefore, most practical programs are written in more
abstract high-level programming languages that are able to express the needs of
the programmer more conveniently (and thereby help reduce programmer error).
No comments:
Post a Comment