Amazon cover image
Image from Amazon.com

Pascal programming structures : an introduction to systematic programming / George W. Cherry.

By: Publication details: Reston, Va. : Reston Pub. Co., c1980.Description: xiii, 314 p. : 24 cm. IllISBN:
  • 0835954633
Subject(s): DDC classification:
  • 005.1 22 CHE
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)

Content

1. Introduction to programming,
A computer program is like a recipe...
Need for care and precision in writing computer programs,
Names ( Identifiers ) in Pascal,
Exercises

2.The general structure of Pascal programs,
Some sample Pascal programs,
The skeleton of a Pascal program,
The layout and Typestyle of Pascal programs,
Exercises

3. Declaring and operating on simple (Unstructured ) variables,
Variables in computing
Declaring variables
Boolean: The true/false data type
Char: The Printable characters data type,
User-Defined scalar data type,
Integer: The whole numbers data type,
Subrange data type
Real: The decimal numbers data type,
Exercises

4 Introduction to input and output,
Inputting numerical data: The read procedure
Inputting numerical data: The reading procedure
Inputting character data: Read and reading
Inputting mixed numerical and character data,
Outputting data: Write and write in,
Exercises

5 Structuring program actions,
begin.. end: Concatenating program actions,
for do: Repetition for a known number of times,
while.. do; Repetition while a condition remains true
etc.

6 Structured data type 1: The array
Introduction to indexed variables
Syntax of the arrays
Searching arrays
Sorting arrays
etc.

7 Subprograms: functions and procedures
The necessity of hierarchical organizations
Functions:Subprograms that compute a single value
Recursive functions
Extending Pascal with new subprograms
etc.

8 Structured data type 2:The record
The with statement
Variant records
A program to create a line Index
Exercises

9 Dynamically allocated data structures
The need for Dynamic variables
Pointer variables and referenced variables
Implementing stacks with dynamic variables
Implementing queues with dynamic variables
etc.

10 Structured data type 3: The file
Why have a sequential file data type ?
Creating ( writing ) a file,
Inspecting ( Reading ) a file
Copying and modifying files
etc.

11 Structured data type 4: The set
Constructing sets
Testing for set equality,set inclusion, and set membership
An example of Lexical analysis
Performing arithmetic on sets
Subprograms for processing sets
Limitations of Pascal sets
Exercises


Includes index: p. 311-314

There are no comments on this title.

to post a comment.