Buy Modula-2 Book by Daniel Thalmann from book shop
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Compilers and interpreters > Modula-2: An Introduction
37%
Modula-2: An Introduction

Modula-2: An Introduction


     0     
5
4
3
2
1



Available


X
About the Book

MODULA-2 is a new programming language which was created by Niklaus Wirth of the Swiss Federal Institute of Technology (ETH) in Zurich. The lan- guage is derived from PASCAL: it includes all aspects of PASCAL and some- times improves on them. Moreover, MODULA-2 includes the important "mod- ule" concept, as well as multiprogramming capabilities and a way of implemen- ting low-level software in an elegant manner. In summary, MODULA-2 may be used equally well as a general-purpose programming language and as a system implementation language. MODULA-2 provides the programmer with a good way of writing high quality software. In particular, modules are powerful tools for achieving modularity, reliability, readability, extensibility, reusability and ma- chine-independence. This book presents the complete MODULA-21anguage from the beginning. Each topic is presented by means of numerous examples and each concept is justified. The syntax of the language is explained using syntactic diagrams. This book is not a reference manual for MODULA-2, but a textbook from which the student can learn the language progressively. The most important con- cepts (i.e. procedures, modules and data structures) are explained in great detail and methodological aspects are also emphasized. Beginning in the first chapter, the student may execute his/her own pro- grams. Program examples in this book have been executed on several machines (APPLE II, IBM PC and VAX 11/780) and they may be taken as a basis for stu- dents.

Table of Contents:
1 Introduction.- 1.1 The Role and Origins of Programming.- 1.2 The Evolution of Programming Languages.- 1.3 The “Module”l Concept.- 1.4 Lexical, Syntactic and Semantic Analysis.- 1.5 The MODULA-2 Vocabulary.- 1.6 Syntactic Diagrams.- 1.7 Structure of a MODULA-2 Program.- 1.8 A First Program: How to Write a String.- 1.9 Some Basic Considerations for Writing Programs.- Summary.- 2 Numbers.- 2.1 Integer and Real Numbers.- 2.2 Operators.- 2.3 The MathLibO Module.- 2.4 Arithmetic Expressions.- 2.5 How to Write Numbers.- 2.6 Program Examples.- Summary.- 3 Constants, Variables and Data Typesb.- 3.1 Constants.- 3.2 Variables and Data Types.- 3.3 INTEGER, CARDINAL and REAL Types.- 3.4 The Assignment Statement.- 3.5 Type Conversion.- 3.6 An Example: Exchange of Two Values.- Summary.- 4 The Boolean and CHAR Types.- 4.1 Boolean Constants and Operations.- 4.2 Boolean Expressions.- 4.3 Relational Operators.- 4.4 Two Program Examples.- 4.5 The Type CHAR.- Summary.- 5 Basic Control Statements.- 5.1 The IF Statement.- 5.2 The WHILE Statementb.- 5.3 The REPEAT Statement.- 5.4 Program Examples.- Summary.- 6 The Input/Output Modules.- 6.1 The Role of the Read Operation.- 6.2 Text Input.- 6.3 The InOut and ReallnOut Modules.- 6.4 Program Examples.- Summary.- 7 Enumeration and Subrange Types.- 7.1 Enumeration Types.- 7.2 Order in Enumeration Types.- 7.3 Subrange Types.- 7.4 A Program Example.- Summary.- 8 Other Control Statements.- 8.1 The LOOP Statement.- 8.2 The FOR Statement.- 8.3 The CASE Statement.- 8.4 Program Examples.- Summary.- 9 Array Types.- 9.1 One-Dimensional Arrays.- 9.2 Program Examples.- 9.3 String Types.- 9.4 Program Examples: Palindromes.- 9.5 Multi-Dimensional Arrays.- 9.6 Program Examples.- Summary.- 10 Procedures and Locality.- 10.1 The Procedure Concept.- 10.2Locality.- 10.3 Parameters.- 10.4 A Program Example.- Summary.- 11 Transmission of Parameters and Scope.- 11.1 Variable and Value Parameters.- 11.2 Open Array Parameters.- 11.3 Rules of Scope.- Summary.- 12 Function Procedures and Procedure Types.- 12.1 The Function Procedure Concept.- 12.2 A Complete Example.- 12.3 Procedure Types.- 12.4 A Complete Example.- Summary.- 13 Recursion.- 13.1 The Concept of Recursion.- 13.2 The Towers of Hanoi.- 13.3 Quicksort and Permutations.- 13.4 Indirect Recursion and Recursive Descent.- Summary.- 14 Modules.- 14.1 The Module Concept.- 14.2 Definition Modules.- 14.3 Implementation Modules.- 14.4 Separate Compilation.- 14.5 A Complete Example: The Stack.- Summary.- 15 Local Modules.- 15.1 The Concept of Local Modules.- 15.2 Import/Export Lists.- 15.3 Rules of Scope.- 15.4 Local Modules Defined Side by Side.- 15.5 Modules Defined Local to a Procedure.- 15.6 A Complete Example.- Summary.- 16 Records.- 16.1 RECORDTypes.- 16.2 Manipulation of Records and Fields.- 16.3 The WITH Statement.- 16.4 An Example of Data Abstraction: The Use of Multiple Stacks.- 16.5 Records with Variant Parts.- Summary.- 17 Sets.- 17.1 SET Types and the BITSET Type.- 17.2 Set Constants and Variables.- 17.3 Set Operators.- 17.4 The Standard Procedures INCL and EXCL.- 17.5 An Example of a Module for Processing Bitsets.- Summary.- 18 Streams.- 18.1 The Stream Concept.- 18.2 Access to a Stream Component.- 18.3 Text Streams.- 18.4 A Program Example: Bold Text.- Summary.- 19 Dynamic Data Structures.- 19.1 Pointers.- 19.2 Dynamic Allocation.- 19.3 Lists.- 19.4 A Complete Example of List Processing with a Local Module.- 19.5 Stacks and fifo Queues: Two List Processing Modules.- 19.6 Binary Trees.- Summary.- 20 Processes.- 20.1 Concurrency.- 20.2 Processes.- 20.3 Monitors.- 20.4 Signals.- 20.5 A Classical Example: A Shared Buffer.- Summary.- 21 Low-Level Features.- 21.1 Why Low-Level Programming?.- 21.2 The Type WORD.- 21.3 The Type ADDRESS.- 21.4 Type Transfer Functions.- 21.5 Coroutines.- 21.6 An Application of Coroutines.- 21.7 Dynamic Storage.- 21.8 Device Handling, Interrupts and Fixed Addresses.- 21.9 Low-Level File Operations.- 21.10 Generic Modules.- Summary.- References.- Appendix 1: The Syntax of MODULA-2.- Appendix 2: Keywords and Standard Identifiers.


Best Sellers


Product Details
  • ISBN-13: 9783540132974
  • Publisher: Springer-Verlag Berlin and Heidelberg GmbH & Co. KG
  • Publisher Imprint: Springer-Verlag Berlin and Heidelberg GmbH & Co. K
  • Height: 235 mm
  • No of Pages: 292
  • Returnable: N
  • Width: 155 mm
  • ISBN-10: 354013297X
  • Publisher Date: 01 Oct 1985
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Sub Title: An Introduction


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Modula-2: An Introduction
Springer-Verlag Berlin and Heidelberg GmbH & Co. KG -
Modula-2: An Introduction
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Modula-2: An Introduction

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!