ArticleslgStudy

computer science

The Preparation of Programs for an Electronic Digital Computer

The Preparation of Programs for an Electronic Digital Computer is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand The Preparation of Programs for an Electronic Digital Computer rather than just read about it. In short: The Preparation of Programs for an Electronic Digital Computer (sometimes called WWG, after its authors' initials) was the first book on computer programming. Published in 1951, it was written by Maurice Wilkes, David Wheeler, and Stanley Gill of Cambridge University.

The Preparation of Programs for an Electronic Digital Computer — main illustration
The Preparation of Programs for an Electronic Digital Computer — illustration

Key takeaways

  • The Preparation of Programs for an Electronic Digital Computer belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect The Preparation of Programs for an Electronic Digital Computer to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of The Preparation of Programs for an Electronic Digital Computer from memory before moving on to harder problems.

Reference excerpt

The Preparation of Programs for an Electronic Digital Computer (sometimes called WWG, after its authors' initials) was the first book on computer programming. Published in 1951, it was written by Maurice Wilkes, David Wheeler, and Stanley Gill of Cambridge University. The book was based on the authors' experiences constructing and using EDSAC, one of the first practical computers in the world.

Contents

Overview It was the first book to describe a number of important concepts in programming, including:

the first account of a library of reusable code the first API the first explanation of using a memory dump for debugging a program, which the book called a "post-mortem routine" the first use of the term "assembly" in programming, though with a somewhat different meaning than the modern use of the term Much of the book is dedicated to explaining the library. This consisted of eighty-eight subroutines implementing mathematical operations like the calculation of trigonometric functions and arithmetic operations on complex numbers. The library was a physical collection stored in a filing cabinet containing punched paper tape encoding the subroutines. This included a "library catalog" describing how a programmer could use each subroutine; today this is called API documentation.

Part one

Chapter 6 - Debugging This chapter extensively investigates "proofreading" and location of the mistakes in the programs. It also advises against frequent refactoring as it introduces more mistakes as programmer tries to improve the program.

Chapter 7 - Examples of programs for EDSAC Includes examples of calculations of e-sinx formula and definite integral, integration of ordinary differential equations, and evaluation of the Fourier transform by using EDSAC programs.

Chapter 8 - Automatic programming discusses an assembling (compiling) and interpretation of a program, it also discusses motivation behind "floating addresses" which are, in modern terms, variable references (akin to C++ variable references) which are replaced by compiler by a real memory addresses on the fly every time the subroutine is invoked.

Part two This part contains mostly specification on the EDSAC's standard library's subroutines. Among included are subroutines for floating-point, complex numbers, debugging, exponential calculations, integration, differential arithmetic equations, logarithms, quadrature, and trigonometric subroutines.

Publication history The 1951 book was a mass-printed version of a report titled Report on the Preparation of Programmes for the EDSAC and the Use of the Library of Subroutines written in September 1950 for private circulation and distributed to no more than 100 people. Though written in England, the book was published by Addison-Wesley in the United States. At the time WWG was published there were very few digital computers in the world. EDSAC, on which the book was based, was the first computer in the world to provide a practical computing service for researchers. Demand for the book was so limited initially that it took six years to sell out the first edition. As computers became more common in the 1950s, the book became the standard textbook on programming for a time. The second edition was printed in 1957. By that time, technology had advanced to the point that WWG was somewhat outdated. Though WWG was the first published, book-length treatment of computer programming, it was not the first writing on the topic. The subject of programming had been pioneered by Ada Lovelace more than a century prior. It had also been written about more recently by John von Neumann, whose EDVAC Report of 1945 initially inspired Wilkes to create EDSAC.

References

External links The Preparation of Programs for an Electronic Digital Computer second edition (1957) text at The Internet Archive The EDSAC Paperwork Collection at The ICL Computer Museum.

Illustrations

The Preparation of Programs for an Electronic Digital Computer: A computer operator working next to a filing cabinet containing the subroutine library for the EDSAC computer.
A computer operator working next to a filing cabinet containing the subroutine library for the EDSAC computer.

Worked examples

Example 1 — a first encounter with The Preparation of Programs for an Electronic Digital Computer

Start with the simplest possible case. Write down what The Preparation of Programs for an Electronic Digital Computer claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to The Preparation of Programs for an Electronic Digital Computer before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about The Preparation of Programs for an Electronic Digital Computer ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of The Preparation of Programs for an Electronic Digital Computer

In research
The Preparation of Programs for an Electronic Digital Computer appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses The Preparation of Programs for an Electronic Digital Computer in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
The Preparation of Programs for an Electronic Digital Computer is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1951 non-fiction books, Addison-Wesley books, Computer programming books, so understanding it makes those chapters shorter.
In everyday life
Look for The Preparation of Programs for an Electronic Digital Computer outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “The Preparation of Programs for an Electronic Digital Computer” →

How to study The Preparation of Programs for an Electronic Digital Computer in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what The Preparation of Programs for an Electronic Digital Computer means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain The Preparation of Programs for an Electronic Digital Computer out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is The Preparation of Programs for an Electronic Digital Computer in simple terms?

The Preparation of Programs for an Electronic Digital Computer (sometimes called WWG, after its authors' initials) was the first book on computer programming. Published in 1951, it was written by Maurice Wilkes, David Wheeler, and Stanley Gill of Cambridge University.

Why does The Preparation of Programs for an Electronic Digital Computer matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study The Preparation of Programs for an Electronic Digital Computer?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on The Preparation of Programs for an Electronic Digital Computer.

Tags

  • 1951 non-fiction books
  • Addison-Wesley books
  • Computer programming books
  • Handbooks and manuals

Keep exploring