SELF TEST
1: Comments are opened with { and closed with }
2: The end. statement signifies the end of a Pascal program.
3: The write statement sets the cursor at the end of the current text
4: Using the writeln statement, the cursor is positioned at the
beginning of the next line
5: When printing text using write or writeln, the text is enclosed
using single quotes
6: To print a single quote using write or writeln, use two single
quotes one after the after, ''
7: Each program statement is terminated with a semi-colon
8: If the program is required to input data from the keyboard, the
first line of the program reads
program name (input);
9: If the program is required to input data from the keyboard, and
also output data to the console screen, the first line of the
program reads
program name (input, output);
Copyright B Brown/P Henry/CIT, 1988-1997. All rights reserved.