Professional Documents
Culture Documents
Chapter A01 Eng
Chapter A01 Eng
Chapter A01 Eng
Ch A1
1. What is Pascal?
a. Pascal is a general purpose programming language designed to teach structured
programming.
b. A comment is anything that a programmer would like the reader to know about, but
the comment will not be compiled and executed. A comment begin with { and end
with } or enclosed by (* and *).
d. A Pascal program consists of the program heading, declaration part and statement
part. The statement part is the main body of the program, which starts with the
reserved word begin and ends with the reserved word end and followed by a period
(.).
e. Any violation of rules in writing program is a syntax error, which must be corrected
before the program can be run. An attempt to eliminate the error is called
debugging.
Page 16 of 16