Oh! Pascal!: With DOS Program Disk / Edition 3

Oh! Pascal!: With DOS Program Disk / Edition 3

by Doug Cooper
     
 

ISBN-10: 0393963985

ISBN-13: 9780393963984

Pub. Date: 02/28/1993

Publisher: Norton, W. W. & Company, Inc.

Welcome to the third edition of Oh! Pascal! Like its predecessors, Oh! Pascal! is an introduction to problem solving and programming. It requires absolutely no background in computing and remains, I hope, interesting enough to be read before the lecture instead of just before the exam. I had a lot of fun putting Oh! Pascal! together, and I think that you'll like…  See more details below

Overview

Welcome to the third edition of Oh! Pascal! Like its predecessors, Oh! Pascal! is an introduction to problem solving and programming. It requires absolutely no background in computing and remains, I hope, interesting enough to be read before the lecture instead of just before the exam. I had a lot of fun putting Oh! Pascal! together, and I think that you'll like working with it over the next few months.

Product Details

ISBN-13:
9780393963984
Publisher:
Norton, W. W. & Company, Inc.
Publication date:
02/28/1993
Edition description:
Third Edition
Pages:
600
Product dimensions:
7.60(w) x 10.00(h) x 1.00(d)

Table of Contents

Preface
Read Me First: A Look at Hardware and Software
Read Me Second: Studying a Program
Ch. 1Input and Output, Storage and Change1
1-2Values and Variables3
1-2I/O Procedures and Arguments9
1-3Assignments and Expressions19
1-4Program Engineering Notes: Bugs and Beyond30
Ch. 2Subprograms: Reusable Solutions43
2-1Writing New Procedures44
2-2The Standard Functions66
2-3Declaring New Functions72
2-4Program Engineering Notes: Nailing Parameters79
Ch. 3Program Design93
3-1Planning and Design94
3-2Subprograms and Abstraction101
3-3Subprogram Nitty-Gritty106
3-4Program Engineering Notes: House of Style112
Ch. 4Looping and Control: the for Statement117
4-1Strictly Pascal120
4-2Standard Practices and Examples125
4-3Program Engineering Notes: Learning Doubt137
Ch. 5Making Choices: the if and case Statements147
5-1Strictly Pascal148
5-2Standard Practices and Examples159
5-3Program Engineering: Over-Engineering Software172
Ch. 6Conditional Loops: while and repeat189
6-1Strictly Pascal190
6-2Standard Practices: Loop Specification200
6-3Extended Examples: Mathematical Processing213
6-4Program Engineering Notes: Let's Get Robust220
Ch. 7Text Processing: a Detour231
7-1Strictly Pascal232
7-2Standard Practices: Streams and Filters240
7-3Program Engineering Notes: KISS251
Ch. 8Creating Values: Enumerations and Subranges259
8-1Creating New Values262
8-2Type Compatibility Rules271
8-3Program Engineering Notes: Saving States273
Ch. 9The array Type281
9-1Strictly Pascal282
9-2Standard Practices: Basic Array Loop Bounds300
9-3Extended Examples: Data Abstraction309
9-4Program Engineering Notes: Tools for Inspection326
Ch. 10Sorting and Searching: an Excursion into Algorithms343
10-1Searching344
10-2Sorting355
10-3Dijkstra's Dutch National Flag362
10-4Complexity and Performance368
Ch. 11The record Type377
11-1Strictly Pascal378
11-2Extended Examples: More Data Abstraction387
11-3Program Engineering Notes: Self-Describing Data402
Ch. 12Software Engineering413
12-1In the Small: Defensive Programming414
12-2In the Large: the Life Cycle418
12-3Program Correctness427
Ch. 13The file Type435
13-1Strictly Pascal436
13-2Standard Practices and Examples443
13-3Binary Files453
13-4Program Engineering Notes459
Ch. 14The set Type471
14-1Strictly Pascal472
14-2Standard Practices and Examples477
Ch. 15The Pointer Types491
15-1Strictly Pascal492
15-2Standard Practices: Basic Link Operations506
15-3Extended Examples: Stacks and Queues522
15-4Program Engineering Notes537
Ch. 16Recursive Programming547
16-1Recursive Procedures and Functions548
16-2Recursive Array Programming560
16-3Recursion and Pointers571
Appendix A: A Few DetailsA1
Appendix B: Useful ProceduresA14
Appendix C: Real ArithmeticA20
Appendix D: Pascal PagesA26
Index to ProgramsA45
Appendix E: About Software on the DisketteA49
IndexA55
Software Installation

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >