Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-zzh7m Total loading time: 0 Render date: 2024-04-27T06:55:07.693Z Has data issue: false hasContentIssue false

2 - Programming and statistical concepts

Published online by Cambridge University Press:  05 June 2012

George F. Estabrook
Affiliation:
University of Michigan, Ann Arbor
Get access

Summary

History

In the late nineteenth and early twentieth century, computing devices became more powerful when they were provided with memory in which to store the data used in the computation. This memory could also store the intermediate results of computation for later use. In the middle of the twentieth century, a major breakthrough in the design of computers occurred when scientists realized that the memory of a computing device could also store the computational instructions themselves. This enabled programmers to compose computational instructions that could be executed automatically, without human intervention.

The instructions that a computer can execute directly need to be very detailed; they are tedious and time consuming to compose, difficult to read even for experienced programmers, prone to errors, and hard to correct. In the late 1950s, some people in the IBM Corporation realized that they could write a computer program that could read statements in a language in which a computer programmer could express his or her intent more efficiently, and then translate those statements into the detailed instructions that a computer can execute directly. We call such a translating program a compiler. Before a compiler can be written, the programming language that it translates, i.e., vocabulary, syntax, and grammar, must be explicitly specified. The program that a compiler translates is called the source statements or source code. When a compiler executes to translate source statements it is said to compile the source statements. The result of a compilation is the object code. Object code is another computer program written with the instructions that the computer can execute directly. When a programmer writes a program in a source language, first source statements are composed using an editor, next those source statements are compiled into object code, and finally that object code is executed to carry out the intent of the programmer. We often use the simpler term, run, to mean execute.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×