With this text, Shaffer and Platt provide an alternate presentation and organization of material for an introduction to programming in Turbo Pascal. Emphasizing subprograms in the beginning and the object-oriented paradigm later, this new approach introduces functions and one repetitive control structure first, then slowly adds other structures. Students are motivated through the use of a chapter problem to demonstrate concepts, which is formalized towards the end of each chapter. This gives students substantial, yet understandable, examples of structures, presenting a more realistic picture of problem solving and program development. Abstraction, the underlying theme of the text, is demonstrated with control structures, data types, subprograms, and the object-oriented paradigm. Descriptions of nine subfields of computer science are integrated into the text. The text meets all criteria of the CS1 course, several from CS2, and related knowledge units.
Part 1: Getting Started
1. An Overview of Computers
Part 2: Control Abstraction
2. The Programming Process
3. Selection Control Structures
4. Procedures and Event-Controlled Loops
5. Procedures and Reference Parameters
6. Text Files and Scope Rules
Part 3: Data Abstraction
7. ADTs and One-Dimensional Arrays
8. Records and Other Composite Types
9. Abstraction and the Object-Oriented Paradigm
10. Inheritance and the Object-Oriented Paradigm
11. Sorting and Searching
12. Multi-Dimensional Arrays
13. String Processing
14. Sets and Enumerated Data Types
Part 4: Advanced Topics
15. Recursion
16. Dynamic Data Structures
17. Analysis
Exercises
Appendix A. ASCII Tables
Appendix B. Turbo Pascal Data Types
Appendix C. Standard Identifiers and Subprograms
Appendix D. Turbo Pascal Syntax Charts
Appendix E. Pascal Operators and Symbols
Appendix F. Turbo Pascal Error Messages
Appendix G. The Turbo Pascal Integrated Debugger
Appendix H. The Turbo Pascal Integrated Development Environment
Appendix I. Printing Output from Programs
Index
Index to Topics of Chapter and Parallel Problems and Selected Exercises
Dale ShafferLander University, David C. PlattMesa Community College