Programming in Modula 2

Author: Niklaus Wirth
Publisher: Springer Science & Business Media
ISBN: 3642968783
Format: PDF, Kindle
Download Now
This text is an introduction to programming in general, and a manual for programmjng 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. As a manual for programming in Modula-2, the text covers practically all facilities of that language. Part 1 covers the basic notions of the variable, expression, assignment, conditional and repetitive statement, and array data structure. Together with Part 2 which introduces the important concept of the procedure or subroutine, it contains essentially the material commonly discussed in introductory programming courses. Part 3 concerns data types and structures and constitutes the essence of an advanced course on programming. Part 4 introduces the notion of the module, a concept that is fundamental to the design of larger programmed systems and to programming as team work. The most commonly used utility programs for input and output are presented as examples of modules. And finally, Part 5 covers facilities for system programming, device handling, and multiprogramming.


Author: Rudi Klatte
Publisher: Springer Science & Business Media
ISBN: 3642772773
Format: PDF, Docs
Download Now
This manual describes a PASCAL extension for scientific computation with the short title PASCAL-XSC (PASCAL eXtension for Scientific Computation). The language is the result of a long term effort of members of the Institute for Applied Mathematics of Karlsruhe University and several associated scientists. PASCAL XSC is intended to make the computer more powerful arithmetically than usual. It makes the computer look like a vector processor to the programmer by providing the vector/matrix operations in a natural form with array data types and the usual operator symbols. Programming of algorithms is thus brought considerably closer to the usual mathematical notation. As an additional feature in PASCAL-XSC, all predefined operators for real and complex numbers and intervals, vectors, matrices, and so on, deliver an answer that differs from the exact result by at most one rounding. Numerical mathematics has devised algorithms that deliver highly accurate and automatically verified results by applying mathematical fixed point theorems. That is, these computations carry their own accuracy control. However, their imple mentation requires arithmetic and programming tools that have not been available previously. The development of PASCAL-XSC has been aimed at providing these tools within the PASCAL setting. Work on the subject began during the 1960's with the development of a general theory of computer arithmetic. At first, new algorithms for the realization of the arithmetic operations had to be developed and implemented.

Pascal SC

Author: Gerd Bohlender
Publisher: Academic Press
ISBN: 1483268853
Format: PDF, ePub
Download Now
Perspectives in Computing, Vol. 17: Pascal-SC: A Computer Language for Scientific Computation focuses on the application of Pascal-SC, a programming language developed as an extension of standard Pascal, in scientific computation. The publication first elaborates on the introduction to Pascal-SC, a review of standard Pascal, and real floating-point arithmetic. Discussions focus on optimal scalar product, standard functions, real expressions, program structure, simple extensions, real floating-point arithmetic, vector and matrix arithmetic, and dynamic arrays. The text then examines functions and operators with arbitrary result types and solving problems with Pascal-SC. The book ponders on strings and text processing, dynamic arrays, and modules. Topics include declaration and use of modules, compatibility of static and dynamic arrays, dynamic result types of functions and operators, strings in procedures, functions, and operators, and declaration of string variables. The publication is a dependable reference for computer science experts and researchers interested in the application of Pascal-SC in scientific computation.

History of Programming Languages II

Author: Thomas J. Bergin
Publisher: Addison-Wesley Professional
ISBN: 9780201895025
Format: PDF, Kindle
Download Now
This overview of programming languages, their history, current applications and future direction, is based on the proceedings of the second conference on the History of Programming Languages. The book looks at successful languages, as well as those which aren't so well known.