A practical introduction to Pascal - with BS 6192

by I. R. Wilson

Other authorsA. M. Addyman (Author)
Paper Book, 1982

Status

Available

Call number

001.6

Library's review

Indeholder "Preface", "1. Introduction", "2. The Form of a Program and Basic Calculations", " 2.1 The Style of Writing in Pascal", " 2.2 The General Form of a Program", " 2.3 The Assignment Statement and Simple Arithmetic", " 2.4 A Complete Program with Simple Input/Output", " 2.5 Readable
Show More
Programs", "3. Basic Control Constructs", " 3.1 Repetition", " 3.2 Choice - The if Statement", " 3.3 Selection - The case Statement", " 3.4 Advice on Problem-solving", "4. Variables, Constants and Expressions", " 4.1 The Different Types of Variable and Constant", " 4.2 The Precedence of Operators", " 4.3 Real", " 4.4 Integer", " 4.5 Character", " 4.6 The Basis of Decisions - Boolean", " 4.7 More Complex Conditions", "5. An Introduction to Input and Output", " 5.1 read and readln", " 5.2 write and writeln", " 5.3 The Different Styles of Output", "6. An Introduction to Procedures and Functions", " 6.1 Calling and Defining a Procedure", " 6.2 Varying the Action - Value Parameters", " 6.3 Obtaining Results - Variable Parameters", " 6.4 Calculation One Value - Functions", " 6.5 The Scope of identifiers", "7. Data Types", " 7.1 The Concept of Type", " 7.2 Type Definition", " 7.3 Simple Types", " 7.4 Structured Data Types", " 7.5 Data Representation", " 7.6 Type Compatibility", " 7.7 Using Ordinal Types", " 7.8 Printing on a Fixed Width Printer", "8. Structuring Methods 1 - The Sequential File", " 8.1 The Concept of a Sequence", " 8.2 The Sequential File", " 8.3 Internal and External Files", " 8.4 Textfiles", " 8.5 A Simple Text Editor", "9. Structuring Methods 2 - The Set", " 9.1 An Introduction to Set Theory", " 9.2 Sets in Pascal", " 9.3 A Bingo-playing Program", "10. Structuring Methods 3 - The Array", " 10.1 An Introduction to Arrays", " 10.2 Arrays of Arrays", " 10.3 Array of char", " 10.4 Packing and Unpacking", " 10.5 The Array in Use", " 10.6 Conformant Array Parameters", "11. Structuring Methods 4 - The Record", " 11.1 An Introduction to Records", " 11.2 Records in Pascal", " 11.3 The with Statement", " 11.4 A Simple Application of Records - A Card Game", "12. Structuring Methods 5 - The Variant", " 12.1 The Need for Type Union", " 12.2 Record Variants in Pascal", " 12.3 Using Record Variants", " 12.4 Calculating the Area of a Geometric Figure", "13. Advanced Uses of Procedures and Functions", " 13.1 The Use of Procedures for Top-down Design", " 13.2 A further Discussion of Scope", " 13.3 Procedural and Functional Parameters", " 13.4 Recursion", " 13.5 The Directive forward", " 13.6 The goto Statement", " 13.7 Restrictions on the use of gotos and Labels", "14. Dynamic Data Structures", " 14.1 Static and Dynamic Variables", " 14.2 The Creation of Dynamic Variables", " 14.3 Using Pointers", " 14.4 Re-using Dynamically Allocated Storage", " 14.5 The London Underground Problem", "Appendix I. Pascal Syntax Diagrams", "Appendix II. List of Pascal Reserved Words", "Appendix III. Answers to Exercises and Schema for Selected Problems", "Bibliography", "The Pascal Standard", "Index".

Udmærket lærebog i Pascal, men jeg kan ikke lide Pascal længere. Der er mange eksempler, men de er pinligt simple set med nutidens øjne.
Show Less

Publication

London : Macmillan, 1982.

Description

Since the first edition of this book was written in 1977, there has been a tremendous increase in the use of Pascal. This increased use has had two significant effects. (1) It has produced a bett er understanding of the facilities of Pascal and their use. (2) It has fostered the production of the ISO standard for Pascal. This second edition reflects both this better understanding and the clarifications and changes to Pascal which have resulted from the production of the BSljlSO Pascal standard. The standard (BS 6192, which supplies the technical content for ISO 7185) is the definitive document on Pascal. My work on the Pascal standard has convinced me that the description of a programming language may be tutorial, or it may be definitive, or it may be neither! The chapters of this book do not constitute a definitive description of Pascal. They are essentially tutorial. The book is based on an introductory lecture course given at Manchester. In addition to lectures, the course consists of two kinds of practical work. The first is based on the solution of short pencil-and-paper exercises. The second requires the student to write complete programs and run them using interactive computer terminals. Each chapter of the book concludes with exercises and problems suitable forthese purposes. Although solutions to all of these are not presented in the book, teaching staff may obtain them by application to the authors.… (more)

Language

Original language

English

Physical description

239 p.; 23.3 cm

ISBN

0333333403 / 9780333333402

Local notes

Omslag: Ikke angivet
Omslaget viser en del af et program skrevet i Pascal
Indskannet omslag - N650U - 150 dpi
Fået af Ulla Pedersen, 10 januar 2022
Second Edition

Pages

239

Library's rating

Rating

(1 rating; 3)

DDC/MDS

001.6
Page: 0.519 seconds