Beginner Programming with Pascal
Chapter 1.
INTRODUCTION
About this tutorial
This tutorial will teach beginners how to write their own programs.
To take advantage of this tutorial, you must have several skills. First,
you must have a basic knowledge of algebra. Second, you must know how to
use your computer, and be able to use a text editor or word processor. If
you have both these skills you will be able to complete this tutorial without
any problems.
What Is a program?
Although they may not seem like it, computers are relatively dumb machines.
They require a set of very detailed instructions to perform even the simplest
tasks. A program is a set of instructions that tells the computer exactly
what to do. Programs are also called "Software." An example
of a program is the web browser that you're using to view this page.
Programming Languages
Programs are written in programming languages. A programming language
is somewhat like a spoken language. It has a set of words that can be put
together to form statements. These statements tell the computer what to
do. We will be using a language called Pascal. The difference between a
spoken language and a programming language is that a programming language
has fewer words in it and is much easier to learn.
History of Pascal
Pascal was invented in the 1960's by a computer science professor for
the purpose of teaching programming. Pascal was named after the French mathematician
Blaise Pascal. Over the years, Pascal has gained popularity with both students
and professional programmers alike. Compilers: In order to run a program
written in Pascal, the program must be COMPILED. A program called a COMPILER
translates the Pascal SOURCE CODE into an EXECUTABLE. The executable is
written in MACHINE LANGUAGE. There are several different Pascal compilers.
Each compiler translates Pascal source code differently. This tutorial will
focus on the most popular version of Pascal called Turbo Pascal. The Turbo
Pascal compiler is made by Borland International. Click
here to go to Borland's site
NEXT |