Lecturer: Wamusi Robert Phone: 0787432609: UCU Arua Campus FS 1102 Basic Computing
Lecturer: Wamusi Robert Phone: 0787432609: UCU Arua Campus FS 1102 Basic Computing
Interesting thought:
Do any species, other than homo sapiens,
count?
Mechanical Computers – The Abacus
(4000 BC)
The abacus is still a mainstay of basic computation
in some societies.
It works by sliding the beads up and down on the
rods to add and subtract.
In Asia, the Chinese were becoming very involved
in commerce with the Japanese, Indians, and
Koreans. Businessmen needed a way to tally
accounts and bills. Somehow, out of this need, the
abacus was born.
The abacus is the first true precursor to the adding
machines and computers which would follow
The Abacus
Napier’s Bones and
Logarithms (1617)
John Napier, a Scotsman, invented
logarithms which use lookup tables to
find the solution to otherwise tedious and
error-prone mathematical calculations.
Napier's bones is a manually-operated
calculating device created by John Napier
of Merchiston for calculation of products
and quotients of numbers.
Napier's bones and Logarithms
.
Oughtred’s (1621) and
Schickard‘s (1623] slide rule
After John Napier invented logarithms, and
Edmund Gunter created the logarithmic scales
(lines, or rules) upon which slide rules are
based, it was Oughtred who first used two such
scales sliding by one another to perform direct
multiplication and division; and he is credited
as the inventor of the slide rule in 1622.
Oughtred also introduced the "×" symbol for
multiplication as well as the abbreviations "sin"
and "cos" for the sine and cosine functions.
The Slide Rule (cont.)
The slide rule is used primarily for
multiplication and division, and also for
functions such as exponents, roots,
logarithms and trigonometry, but is not
normally used for addition or subtraction.
Though similar in name and appearance
to a standard ruler, the slide rule is not
ordinarily used for measuring length or
drawing straight lines.
The Slide Rule
Blaise Pascal’s Pascaline (1645)
This famous French philosopher and
mathematician invented the first digital
calculator to help his father with his work
collecting taxes.
He worked on it for three years between 1642
and 1645.
The device, called the Pascaline, resembled a
mechanical calculator of the 1940's. It could
add and subtract by the simple rotation of
dials on the machine’s face.
Blaise Pascal’s Pascaline (cont)
.
Gottfried Wilhelm von Leibnitz’s
Stepped Reckoner (1674)
Leibnitz’s Stepped Reckoner could not
only add and subtract, but multiply and
divide as well. Interesting thing about the
Stepped Reckoner is that Leibnitz’s
design was way ahead of his time.
A working model of the machine didn’t
appear till 1791, long after the inventor
was dead and gone.
Gottfried Wilhelm von Leibnitz’s
Stepped Reckoner
.
Charles Babbage (1791-1871) The Father
of Computers
Charles Babbage is recognized today as the
Father of Computers because his impressive
designs for the Difference Engine and
Analytical Engine foreshadowed the invention
of the modern electronic digital computer.
He also invented the cowcatcher,
dynamometer, standard railroad gauge,
uniform postal rates, occulting lights for
lighthouses, Greenwich time signals,
heliograph opthalmoscope.
The Difference engine & Analytical
engine
The Difference Engine was never fully built.
Babbage drew up the blueprints for it while still an
undergrad at Cambridge University in England.
But while it was in process of being manufactured,
he got a better idea and left this work unfinished in
favor of the Analytical Engine illustrated on the
next slide.
The Analytical Engine was eventually built
completely in the latter half of the 19th century, by
Georg and Edvard Schuetz as per Babbage’s
blueprints.
Charles Babbage’s Difference Engine
.
Charles Babbage’s Analytical Engine
.
Ada Lovelace
Babbage owes a great debt to Lady Augusta Ada,
Countess of Lovelace. Daughter of the famous
romantic poet, Lord Byron, she was a brilliant
mathematician who helped Babbage in his work.
Above all, she documented his work, which
Babbage never could bother to do.
As a result we know about Babbage at all. Lady
Augusta Ada also wrote programs to be run on
Babbage’s machines.
For this, she is recognized as the first computer
programmer.
Ada Lovelace
.
Electro-mechanical computers
Electricity was discovered long before it
was actually named as such. A one Sir
Thomas Browne is supposed to have
come up with the term “electricity”.
It was a while before electricity was used
to power computing machines. This
section tells that story.
Herman Hollerith and his
Census Tabulating Machine (1884)
Herman Hollerith worked as a statistician for the
U.S. Census Bureau in the 1880s and 1890s.
The U.S. Constitution requires a census count
every ten years so that the membership of the
House of Representatives will be proportional to
the population of each state.
This is always a moving target, hence the ten
year review of the current state of demographic
affairs. The 1880 census took seven years to
process.
Herman Hollerith (cont.)
Hollerith designed and built the Census
Counting Machine illustrated here and in the
next slide. Punched cards were used to
collect the census data and the cards were fed
into a sorting machine before being read by
the census counting machine which recorded
and tabulated the results.
Hollerith went on to found the company IBM
(International Business Machines) which is
present and successful to the present day.
The Census Tabulating Machine
The Harvard Mark I (1944) aka IBM’s
Automatic Sequence Controlled Calculator
(ASCC)
While a professor of Physics at Harvard, Howard
Aiken, illustrated above, was supported by IBM
to build the ASCC computer (Automatic
Sequence Controlled Calculator). The computer
had mechanical relays (switches) which flip-
flopped back and forth to represent mathematical
data.
It was huge (of course), weighting some 35 tons
with 500 miles of wiring. The guts of the
machine was comprised of IBM counting
machines.
Electronic digital computers
John Vincent Atanasoff’s contribution to
the history of computers is little known,
thanks to the preoccupations of his
university and the shenanigans of two
rival inventors of electronic digital
machines
Alan Turing 1912-1954
The story of modern electronic digital
computing should start with Alan Turing
who published a paper in 1936 On
Computable Numbers, with an application to
the Entscheidungsproblem.
The paper proved that a machine capable of
processing a stream of 1s and 0s according
to programmed instructions would be
capable of solving any problem that would
count as a 'definite method.'
Alan Turing (cont.)
As it happens, the set of problems
included in this definition is the universe
of mechanically solvable problems.
Hence, the Turing Machine is also known
as the Universal Machine, the theoretical
precursor to the electronic digital
computer which Atanasoff was soon to
invent.
John Vincent Atanasoff (1903-1995)
Prof Atanasoff was convinced there had to be a way
of doing math mechanically and thus save his PhD
students at Iowa State College from wasting time on
math when they could be doing more interesting
work in Physics.
The result was the design of his electronic digital
computer.
Back at the lab, in the Spring of 1939, he hired
Clifford Berry, an bright electrical engineering
student, and together they invented the Atanasoff-
Berry Computer, the ABC. Within a year, the basic
machine was completed and a paper written
documenting its design.
1939 The Atanasoff-Berry Computer
(ABC)
.
The Enigma
Machine
The Colossus
1946 The ENIAC
J. Presper Eckert and John Mauchly were
professors in the Moore School of Engineering
at the University of Pennsylvania. Mauchly
invited himself to Atanasoff’s home for a long
weekend in order to check out the ABC.
Atanasoff made him welcome, showed him his
machine, and gave him a copy of the paper
describing the workings of the machine that
already had been filed with the Iowa State
College’s patent lawyer
Eckert & Mauchly – The ENIAC
Mauchly returned to Pennsylvania and,
together with Eckert, designed and built the
ENIAC (Electronic Numerical Integrator
and Computer) which was commissioned by
the U.S. Department of Defense and
delivered in 1946.
Eckert and Mauchly successfully filed for
the patent as inventors of the electronic
digital computer, ignoring Atanasoff’s work.
1946 The ENIAC
Some thirty years later, in 1972, this injustice
was rectified when Honeywell (for Atanasoff)
successfully challenged Sperry Rand (the
company that acquired Eckert and Mauchly’s
patent), and Atanasoff and Berry were duly
credited as being the inventors of the electronic
digital computer.
Mauchly died in 1980. Eckert died in 1995,
one week before the nonogenarian Atanasoff.
You might say that Atanasoff had the last laugh.
The ENIAC: Electronic Numerical
Integrator and Computer
Programming the ENIAC
The ENIAC was programmed by rewiring
the machine, instruction by instruction,
tedious work carried out mostly by women
working for the U.S. Ordnance Office. The
machine was intended for use in the
calculation of ballistics trajectories for the
big guns of World War II. It was ready a bit
late for that, but nonetheless was an
immensely significant achievement on
Eckert and Mauchly’s part
Programming the ENIAC – Cont.
Overcoming the ENIACs Programming
Challenges
. Neumann
John Von