Foundations of Computing and Communication Lecture 5. The Universal Machine

Similar documents
The Universal Machine

Computing History. Natalie Larremore 2 nd period

Lecture 8: Cracking the Codes based on Tony Sale s Codes & Ciphers Web Page. History of Computing. Today s Topics. History of Computing Cipher Systems

Exploring the Enigma [The MATH Connection]

CS408 Cryptography & Internet Security

Breaking the Enigma. Dmitri Gabbasov. June 2, 2015

Most people familiar with codes and cryptography have at least heard of the German

Relies on hiding a message by jumbling up individual letters of the message. Sending a whole message with the letters jumbled up using a cipher

Eric Roberts and Jerry Cain Handout #36 CS 106J May 15, The Enigma Machine

The Evolution of the Cryptologic Bombe. Chris Christensen Department of Mathematics Northern Kentucky University

Colossus and the Origins of Programmability. Draft for discussion at the 2016 SIGCIS Workshop. Do not quote or cite without permission of the authors.

Enigma. Developed and patented (in 1918) by Arthur Scherbius Many variations on basic design Eventually adopted by Germany

1 Introduction 2. 3 Zygalski Sheets Using Zygalski Sheets Programmatic Replication Weaknesses/Problems 7

Digital Electronics, or how Computers really work

Honors and Awards: honorary professorship in computing, Erlangen University, 1967; Konrad Zuse Prize, 1987.

Actualization of the IoT APS-FIAP April 2017 Monterey, CA. The Internet of Things Present at Its Creation SAGE 1954

UNIVERSITY OF NEWCASTLE UPON TYNE, COMPUTING LABORATORY

chosen as the minimum that would provide a usable single-address order, in this case five binary digits for instruction and 11 binary

The Swiss cipher machine NeMa

Baudot code channels

UNIT V 8051 Microcontroller based Systems Design

Edward Simpson: Bayes at Bletchley Park

Sherlock Holmes and the adventures of the dancing men

Digital Integrated Circuits EECS 312

Appendix B: Project Literature Review

General description. The Pilot ACE is a serial machine using mercury delay line storage

VLSI Test Technology and Reliability (ET4076)

Digital Integrated Circuits EECS 312. Review. Remember the ENIAC? IC ENIAC. Trend for one company. First microprocessor

VLSI System Testing. BIST Motivation

The Life, Death and Miracles of Alan Mathison Turing

The perforator machine below shows in the front, the three keys. The left is for dots, the centre is for space and the right is for dashes.

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Facts and Myths of Enigma: Breaking Stereotypes

ANALOGUE AND DIGITAL ELECTRONICS STUDENT S WORKBOOK U1: INTRODUCTION

cryptography, plaintext; ciphertext. key,

Play and great inventions 1. Early flutes were made from animal bones. 2. The invention of the computer is solely the result of military technology. 3

APPROVED FOR PUBLIC RELEASE. CASE MEMORANDUM

Differential Analyzer Method of

The Computer Comes of Age: The People, the Hardware, and the Software, R. Moreau, 1984

EEE130 Digital Electronics I Lecture #1_2. Dr. Shahrel A. Suandi

(Refer Slide Time: 1:45)

Digital Integrated Circuits EECS 312. People. Exams. Purpose of Course and Course Objectives I. Grading philosophy. Grading and written feedback

tape at the rate of ten characters per second.

Cambridge Introductions to Philosophy new textbooks from cambridge

Chapter 3. Boolean Algebra and Digital Logic

The Paper Enigma Machine

Digital 1 Final Project Sequential Digital System - Slot Machine

Bremont Watch Company

NON-BREAKABLE DATA ENCRYPTION WITH CLASSICAL INFORMATION

>> I was born 100 years ago, Another. important thing happened that year, three companies took a

Adding Analog and Mixed Signal Concerns to a Digital VLSI Course

Cabinet War Rooms SIGSALY. The A-3 scrambler

Post Office MATS (Mechanical Accounting & Trunk Sorting) Units - and the need for mechanised accounting by Don Adams

Curriculum Connections

Introduction to Digital Logic Missouri S&T University CPE 2210 Introduction and Application Areas

Logical Foundations of Mathematics and Computational Complexity a gentle introduction

Chapter 3: Sequential Logic Systems

Math and Music Developed by Megan Martinez and Alex Barnett in conjunction with Ilene Kanoff

Enhancing Performance in Multiple Execution Unit Architecture using Tomasulo Algorithm

(Refer Slide Time: 00:55)

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

SCIENTIFIC KNOWLEDGE AND RELIGIOUS RELATION TO REALITY

Derek Cheung ITIF

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

An automatic synchronous to asynchronous circuit convertor

An Interview with ROBERT E. MUMMA OH 73. Conducted by William Aspray. 19 April Dayton, OH

Admiral Grace Murray Hopper

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC

Sequential Logic Notes

Introduction to Digital Electronics

Five 1951 BBC Broadcasts on Automatic Calculating Machines

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

Integration of Virtual Instrumentation into a Compressed Electricity and Electronic Curriculum

Laboratory 8. Digital Circuits - Counter and LED Display

COMP12111: Fundamentals of Computer Engineering

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED Experiment 2 - Arithmetic Elements

From Pythagoras to the Digital Computer: The Intellectual Roots of Symbolic Artificial Intelligence

DSP in Communications and Signal Processing

PART FOUR. Polyalphabetic Substitution Systems PERIODIC POLYALPHABETIC SUBSTITUTION SYSTEMS

For an alphabet, we can make do with just { s, 0, 1 }, in which for typographic simplicity, s stands for the blank space.

CPSC 121: Models of Computation. Module 1: Propositional Logic

How to Teach the Sequential Part of Digital Electronics Basis with Project Pedagogy? Thanks to a Self-Working Card Trick Named Cyclic Number!

LTinterchange, among Interested TABLE OF CONTENTS. GENERAL PURPOSE COMPUTERS I. The Circle Computer Z. Naval Proving Ground Calculators

Scientific Philosophy

Basic Electronics Prof. Mahesh Patil Department of Electrical Engineering Indian Institute of Technology, Bombay

IJMIE Volume 2, Issue 3 ISSN:

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Oral History of Bill Gunning

International Research Journal of Engineering and Technology (IRJET) e-issn: Volume: 03 Issue: 07 July p-issn:

Encryption. Secure Chat. Encryption Machine

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015

The Code Book: The Science Of Secrecy From Ancient Egypt To Quantum Cryptography Download Free (EPUB, PDF)

Alan Turing s Work on Voice Encryption. Craig Bauer

Slide Set 9. for ENCM 501 in Winter Steve Norman, PhD, PEng

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

CprE 281: Digital Logic

THE INSTITUTION OF ELECTRICAL ENGINEERS FOUNDED INCORPORATED BY ROYAL CHARTER 1921

Jawaharlal Nehru Engineering College

Everybody has seen Telechron clocks and even. US Navy Warren Telechron Clock System. by Robert Simon (CA)

The Tentatve List of Enigma and Other Machine Usages, formatted by Tony Sale. (c) July March l945 page 1

Transcription:

Foundations of Computing and Communication Lecture 5 The Universal Machine Based on The Foundations of Computing and the Information Technology Age, Chapter 4 Lecture overheads c John Thornton 2010

Lecture Objective To gain an overview of the historical development of the electronic stored program computer in the first half of the 20th century. Overview of Topics The Revolutions in 20th Science and Mathematics Early Punched Card Machines Electro-Mechanical Computing: Zuse, Stibitz and Aiken The First Electronic Machines: ABC and ENIAC Colossus and the War-Time Codebreakers The Post-War Stored Program Machines 1

The End of Certainty Electrical innovation: Samuel Morse s telegraph (1837), Alexander Bell s telephone (1876), Marconi s first radio broadcast (1896) Thomas Edison, first recording of human voice (1877), first power station in NY (1882), first motion picture machine (1892). Clouds on the horizon: Working classes not sharing in prosperity. Attitudes of ruling classes have not caught up with the times. Technology delivers high explosives, machine guns and mass transportation. 2

The Seeds of Materialism Faith challenged: Science: Darwin s Origin of the species (1859), geology, archaeology, History: Reformation, Counter Reformation, inquisitions, religious wars. New ideas: Marx s Communist Manifesto (1848), Freud s Interpretation of Dreams (1900), Socialism and Nationalism. The old world ends: millions die on the battlefields of Europe, industrial scale war and mechanised slaughter, European culture in ruins. 3

The Science of Uncertainty Relativity: Einstein s Theory of Relativity (1905), dethrones Newton s law of gravity, mathematical physics begins, fourdimensional space-time continuum moves beyond sense perception. Quantum Mechanics: Paradox of matter as both particle and wave. Matter controlled by laws of probability, Heisenberg s Uncertainty Principle (1927), superpositions of states collapse into particles, classical and quantum levels, matter just a mathematical abstraction? 4

The Mathematics of Uncertainty Logical foundations: Set theory, Georg Cantor, Gottlob Frege gives definition of number as the set of all sets containing n elements; David Hilbert lays out program to unify mathematics in a logical system that is complete and consistent. Paradox and uncertainty: Russell s paradox with sets as members of themselves (1902), fixed in Principia Mathematica, destroyed by Kurt Gödel s incompleteness theorems, no interesting logical system can be both complete and consistent. 5

The Mechanisation of Abstraction The Turing Machine: Alan Turing formalises ideas of an effective method and computability with the Turing Machine, proves Halting Problem is undecidable using Gödel s approach (1936), defines Universal Turing Machine - proposed first universal computing machine as by-product of mathematical work. Mathematics comes of age: From tally stick to Turing Machine, mathematics becomes a universal language of abstraction, Universal Turing Machine can speak that language, challenge is to build one. 6

Punched Card Machines Hollerith and IBM: Turn of the 20th century, most sophisticated calculators were punched card machines, Hollerith Electric Tabulating System used in 1890 US census, cards read electronically, totals added mechanically, machines can sort and print cards. IBM becomes leading manufacturer in 1920s. Scientific calculators: L. J. Comrie has tabulating machine modified, connects mechanical accumulators, simulates Difference Engine using electric plugboard, produces 1000 lines of table per hour. IBM produce multiplying machine in 1935 using telephone relay technology, one multiplication per second. 7

The Zuse Machines Binary Numbers: Konrad Zuse saw advantages of binary system: easy to construct, easy calculation, easy representation of numbers, operators and instructions. Used mechanical pins in slots to encode 0/1 and moving plates to act as logic gates. The Z1 Mechanical binary computer, controlled by holes punched in movie film, mechanical arithmetic unit, conditional branching, pioneers use of floating point arithmetic and conversion of binary to decimal. The Z2 Based on Z1 but uses telephone relay technology for arithmetic unit - makes construction much simpler - still mechanical in operation but controlled electrically - hence relays connected by wires, physical location not important. 8

The Zuse Machines Schreyer: Zuse s assistant Schreyer works on vacuum tube technology, comes up with basic circuit designs that get rid of mechanical operation of relays. Work abandoned due to lack of funding and worries about reliability. Z3 and Z4: Z3 uses relay technology for memory, Z4 supposed to be full-scale machine for German military but war ends before it is finished - Zuse completes Z4 in Switzerland in 1950. Zuse recognised as first to build fully automated binary computer. 9

The Bell Relay Machines The Complex Number Calculator: George Stibitz at Bell Labs builds a simple relay circuit for binary addition, in 1930s uses relays to perform addition, subtraction, multiplication and division of complex numbers. Anti-Aircraft Work: Stibitz builds Relay Interpolator and Ballistic Computer to solve wartime problems of shell trajectories, machines slow due to relays but reliable, used multiple paper tape inputs, worked with floating point arithmetic. 10

The Harvard Machines Aiken and IBM: Howard Aiken from Harvard University collaborated with IBM to produce electro-mechanical computer. Using ideas from Babbage, combined IBM mechanical accumulator registers with electrically controlled clutches - clutches engage decimal number wheels to motorised rotating shafts, used Babbage carry mechanism, IBM paper tape readers, Mark I machine had limited ability to perform conditional branching, completed 1944, many features are copied to ENIAC. Mark II to IV: Mark II used relay technology (1945), Mark III (1949) and IV (1952) combined vacuum tubes, relays and stored program technology - however first fully electronic machines are built earlier during the war... 11

The First Electronic Machines The ABC: Atanasoff-Berry Computer: vacuum tubes offer the promise of faster nonmechanical operation, in 1938 John Atanasoff and Clifford Berry start to develop ABC in USA, uses vacuum tubes for control and arithmetic unit, has regenerative memory built from capacitors mounted rotating drums, project abandoned in 1942 but ideas used in ENIAC (image courtesy of Iowa State University). 12

ENIAC Ballistics: U.S. Army needed accurate, up to date ballistics tables in Second World War. In 1934 already built a mechanical differential analyser in collaboration with Moore School, University of Pennsylvania. One trajectory takes human expert 20 hours, differential analyser 20 minutes (after set up). Still too slow. Sharing of Ideas: John Mauchy joins Moore School during war, meets Atanasoff and Berry in 1940-1941, produces paper in 1942 Use of High Speed Vacuum Tube Devices for Calculating, calculates time to calculate trajectories could be reduced to 100 seconds. 13

ENIAC Crisis: By 1943 production of ballistic tables fallen behind - new approach needed. Mauchy and J. Presper Eckert present their vacuum tube ideas to the Army Electronic Numerical Integrator stress general purpose nature of machine, add and Computer - ENIAC project is born. The Project: Clearly understood that this was most complex piece of electronic equipment ever conceived - required serious project management skills, Mauchy does conceptual design, Eckert does circuit design and Joseph Chedaker in charge of construction team. 14

ENIAC The Machine: 18,000 vacuum tubes, 1500 relays, 70,000 resistors, 10,000 capacitors, 8 ft high, 3 ft wide, 100 ft long, weighed 30 tons, consumed 140 kilowatts of power, cooled by two 12 hp blowers, cost $486,804, working by 1945. The Architecture: Paper tape input, decimal numbers, no general purpose memory, accumulators used for intermediate results, each program set up using a plugboard, very low level, no language in modern sense, paper tape too slow for control instructions, hence purpose built electronic control unit where branching and looping controlled by manually setting switches; basic calculation procedures based on Aiken s earlier ideas, links to Babbage, especially anticipating carriage mechanism. 15

ENIAC After the War: ENIAC modified to act as stored program computer with 99 basic instructions, core memory added (100 words, 10 digits each), used portable function tables with switches to program machine, previously would take several days to rewire machine to perform new calculations. Shut down in 1955 (image courtesy US Army). 16

Colossus Rule Britannia!: Of course the first electronic computer was built in Britain, but the whole project was so secret that the machines were not admitted to until recent times. This was all part of the British attempt to break the German Enigma machine cipher. The Enigma Machine: Developed by the German Arthur Scherbius, Enigma was an electro-mechanical cipher machine of great sophistication, adopted by German military in 1926 also available commercially. When machine arrived, British cryptanalysts were baffled. After open access to German communications during and after World War One, supply of intelligence dried up. 17

Colossus Enigma s Operation: Fairly simple scheme of rotors each with 26 letters, type in one letter first rotor scrambles letter, electrical signal routes this letter through next rotor where it is transformed again, then through third rotor for final transformation - then after input rotor moves round one position - means same letter entered again will produce a different output, next input clicks rotor round again, in total 26 26 26 = 17, 576 settings. Rotors can also be placed in different orders + plugboard is added which allows swapping of six pairs of letters, makes for 10,000 million million possible settings. Beauty of system - all you need is another Enigma machine set up with same rotor and plugboard settings and message is deciphered. 18

An Enigma Machine (image courtesy of the Science Museum, London) 19

Colossus Poland to the Rescue: The young Polish mathematician Marian Rejewski was able to break the early Enigma machines before the outbreak of war. The Germans used code books to set up their machines for each day, plus for each message they would transmit a new order for the rotors - this rotor order was repeated twice to avoid error. The Poles obtained a military enigma machine and used knowledge of the repetition to catalog a much smaller set of 105,476 possible settings for the rotors, after solving this the separate problem of the plugboard setting was relatively easy. To speed up searching the possible combinations the Poles built relay machines called bombas. 20

Colossus War begins: In 1939 the Germans increased Enigma s security, adding two extra rotors and extra plugboard capability to swap ten instead of six letters. Poland does not have resources to build enough bombas to crack the code. Just before the invasion of Poland, the bombas and all knowledge of Enigma are given to the allies. Bletchley Park: All British code-breaking work was based in a country house outside London. Many of great linguists and mathematicians were working here, including Alan Turing. Using the Polish start, more bombs were constructed and the German Airforce code was broken, but the navy and army codes remained secure. 21

Colossus Electronic machines: To search the enormous number of permutations of the Enigma code needed much faster machines - in 1943 the telephone division of the General Post Office are asked to start building a machine combining the use of relays and vacuum tubes - results in the Heath Robinson machines - 2,000 characters per second but unreliable - encouraged further work. Tommy Flowers: Tommy Flowers called in to fix up the Heath Robinsons, sees major problems in the design - suggests entirely new machine using 1500 valves - Bletchley Park do not approve, so Tommy goes ahead anyway with help of staff at Dollis Hill - Colossus is built and running by December 1943 - world s first electronic computer. 22

Colossus The Machine: Colossus was purpose built for code breaking so had no arithmetic component but could have been wired to do arithmetic. Used photoelectric readers, 5,000 characters per second, decimal registers and internal clock with teleprinter output. Victory!: Colossus works! For most of the rest of the war German military communications are an open book to the allies. Considered to have shortened the war by more than a year. 23

Colossus Work on ENIAC and Colossus forms basis of modern computer industry. John von Neumann involved in summarising work on ENIAC and suggesting the architecture for a stored program machine (image courtesy of the Science Museum, London). This becomes the model for all future machines - the Universal Turing Machine becomes reality. 24

First Stored Program Machines Manchester Baby: Manchester University machine working by June 1948, used expertise gained from Colossus, but really only a prototype, unable to perform significant calculations. EDSAC: Cambridge University had first fully operational stored program machine working by May 1948, capable of solving realistic problems. CSIRAC: Trevor Pearcey in Australia works on world s fifth stored program machine, operational by November 1949. EDVAC: Most famous American stored program machine not working until 1952 with involvement from von Neumann. 25

Lecture Exercise Consider the following machines: Zuse s Z1 The ABC ENIAC Colossus Manchester Baby EDSAC Each is considered to have been pioneering in some way - describe why. 26