1. Computing & Technology

How a Computer Reads a Program

From , former About.com Guide

8 of 8

Summary
In summary, you should keep the following points in mind when you write your programs:
  • A computer does only what you tell it to do.
  • A computer program consists of data and code.
  • There are three kinds of statements: assignment, control, and operation.
  • The computer is the subject of every command in a program.
  • It reads your program looking for coherent statements made up of reserved words and arguments.
  • It then does what you tell it to do with the data.

©2012 About.com. All rights reserved.

A part of The New York Times Company.