Section 1

How to Design Programs: An Introduction to Programming and Computing

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
How to Design Programs: An Introduction to Computing and Programming [Go to first , previous , next page; contents ; index ] Section 1 Students, Teachers, and Computers [../icons/plt.gif] Getting Started We learn to compute at a young age. At first we just add and subtract numbers. One plus one equals two. Five minus two is three. As we grow older we learn about additional mathematical operations, like exponentiation and sine, but we also learn to describe rules of computation. Given a circle of radius r , its circumference is r times two times pi . A minimum-wage laborer who works for N hours earns N times 5.35 dollars. The truth is, our teachers turn us into computers and program us to execute simple computer programs. So, the secret is out. Computer programs are just very fast students. They can perform millions of additions while we might still be struggling with the first one. But computer programs can do more than just manipulate numbers. They can guide an airplane. They can play games. They can look up a person's phone number. They can print the payroll checks for huge corporations. In short, computers process all kinds of information. People state information and instructions in English.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 2

Section 1 - How to Design Programs An Introduction to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online