This text is an introduction to programming in general, and a manual for programming with the language Modula-2 in particular. It is oriented primarily towards people who have already acquired some basic knowledge of programming and would like to deepen their understanding in a more structured wa
Programming in Modula-2
β Scribed by Niklaus Wirth
- Publisher
- Springer
- Year
- 1982
- Tongue
- English
- Leaves
- 177
- Edition
- 1st
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
This text is an introduction to programming in general, and a manual for programming with
the language Modula-2 in particular. It is oriented primarily towards people who have
already acquired some basic knowledge of programming and would like to deepen their
understanding in a more structured way. Nevertheless, an introductory chapter is included
for the benefit of the beginner, displaying in a concise form some of the fundamental
concepts of computers and their programming. The text is therefore also suitable as a
self-contained tutorial. The notation used is Modula-2, which lends itself well for a
structured approach and leads the student to a working style that has generally become
known under the title of structured programming.
β¦ Table of Contents
Front Matter....Pages i-1
Preface....Pages 3-4
Introduction....Pages 5-6
A first example....Pages 7-9
A notation to describe the syntax of Modula....Pages 10-11
Representation of Modula programs....Pages 12-14
Statements and expressions....Pages 15-17
Control Structures....Pages 18-23
Elementary data types....Pages 24-31
Constant and variable declarations....Pages 32-32
The data structure Array....Pages 33-43
Procedures....Pages 44-45
The concept of locality....Pages 46-47
Parameters....Pages 48-50
Function procedures....Pages 51-53
Recursion....Pages 54-60
Type Declarations....Pages 61-62
Enumeration types....Pages 63-63
Subrange types....Pages 64-64
Set types....Pages 65-66
Record Types....Pages 67-69
Records with variant parts....Pages 70-72
Dynamic data structures and pointers....Pages 73-77
Procedure types....Pages 78-79
Modules....Pages 80-81
Definition and implementation parts....Pages 82-85
Program decomposition into modules....Pages 86-92
Local modules....Pages 93-99
Sequential input and output....Pages 100-112
Screen-oriented input and output....Pages 113-124
Low-level facilities....Pages 125-127
Concurrent processes and coroutines....Pages 128-134
Device handling, concurrency, and interrupts....Pages 135-138
Back Matter....Pages 139-178
β¦ Subjects
Computer Science, general
π SIMILAR VOLUMES
This is the third corrected printing of a successful book which first appeared in 1982. It is an introduction to programming in general as well asa manual for programming with the language Modula-2 in particular.
<p>This text is an introduction to programming in general, and a manual for programming with the language Modula-2 in particular. It is oriented primarily towards people who have already acquired some basic knowledge of programming and would like to deepen their understanding in a more structured wa
This is the 4th edition of a successful book which first appeared in 1982. It is an introduction to programming in general as well as a manual for programming with the language Modula-2 in particular. It is oriented primarily towards people who have already acquired some basic knowledge of programmi
<p>The difficulty of programming lies in the need to bring our ideas into a form that can be processed by a machine. This book shows how to write and understand even complex programs by applying proper structures and good style. It uses the programming language Modula-3, which relies on and extends
<p>This book is intended for the novice as well as for the experienced programmer who wants to learn Modula-2. We do not limit ourselves to just a description of Modula-2. Instead, we seek to familiarize the reader with the concept of algorithms and to show him/her how to implement algorithms in Mod