TY - BOOK AU - Rajaraman, V. TI - Computer programming in fortran 77: an introduction to Fortran 90 SN - 9788120311725 U1 - 005.133 PY - 2009/// CY - New Delhi PB - PHI Learning KW - Programming language KW - Computer programming KW - Computer science N1 - 1.1 An illusti'ative computer oriented procedure 1.2 Digital computer organization FLOW CHARTS 2.1 Flow chart symbols 2.2 A simplitled model of a computer 2.3 More flow charting examples Exercises FORTRAN PROGRAMMING PRELIMINARIES 3.1 Higher level languages for computers 3.2 The FORTRAN language 3.3 On tlie description of a programming language 3.4 Characters used in FORTRAN FORTRAN CONSTANTS AND VARIABLES 4.1 FORTRAN constants 4.2 FORTRAN variable names 4.3 TYPE declaration for integers and resds Exercises ARITHMETIC EXPRESSIONS 5.1 Arithmetic operators and modes for expressions 5.2 Integer expressions 5.3 Real expressions 5.4 Hierarchy of operations in expressions 5.5 Examples of arithmetic expressions 5.6 Arithmetic statements 5.7 Defining variables 5.8 Some problems due to rounding of real numbers 5.9 Mixed mode expressions 5.10 Special functions 5.11 Examples of u.se of functions 5.12 Program preparation preliminaries Exercises INPUT-OUTPUT STATEMENTS 6.1 List directed input statements 6.2 List directed output statements SIMPLE COMPUTER PROGRAMS 7.1 A simple FORTRAN program 7.2 Some FORTRAN programming examples Exercises Chapter 8 CONTROL STATEMENTS 8.1 Relational operators 8.2 Logical IF statement 8.3 Statement labels 8.4 GO TO statement 8.5 Examples of use of logical IF statement 8.6 Nested logical IF statements 8.7 The arithmetic IF statement 8.8 The computed GO TO statement 8.9 A list of points to be checked Exercises THE DO STATEMENT 9.1 The DO statement 9.2 Illustrative examples 9.3 Rules to be followed in utilising DO loops 9.4 The REPEAT WHILE structure 9.5 Sununary Exercises SUBSCRIPTED VARIABLES 10.1 Use of multiple subscripts 10.2 Subscript expressions 10.3 DIMENSION statement 10.4 DO type notadon for input/output statements 10.5 Examples of DO loops with subscripts 10.6 Summary of subscript rules 10.7 Relaxation of subscript rules in full Fortran Exercises ELEMENTARY FORMAT SPECIFICATIONS 11.1 FORMAT description for numerical data; READ statement 11.2 FORMAT description for PRINT statement 11.3 Multi record FORMATS 11.4 Hollerith field declaration 11.5 Specifications in A-Format 11.6 Generalised Input/Output statements 11.7 Some comments on Formats Exercises LOGICAL EXPRESSIONS AND DECISION TABLES 12.1 Introduction 12.2 Logical constants, variables and expressions 12.3 Boolean algebra 12.4 Theorems of Boolean algebra 12.5 Non-algebraic simpliflcation procedures 12.6 Application of Karnaugh map to reduce decision tables Exercises FORTRAN PROGRAM EXAMPLES 13.1 A single address computer description 13.2 The instruction codes of SMAC 13.3 A simulation program for SMAC 13.4 A statistical data processing program 13.5 Processing survey data with computers Exercises FUNCTIONS AND SUBROUTINES 14.1 Introduction 14.2 Statement functions 14.3 Function subprograms 14.4 Syntax rules for function subprograms 14.5 Subroutines 14.6 The COMMON declaration 14.7 Labelled COMMON 14.8 Placement of array elements in COMMON 14.9 Execution time DIMENSION for arrays 14.10 Use of procedure names as arguments Exercises PROCESSING FILES IN FORTRAN 15.1 Creating a sequential file 15.2 Searching a sequential file 15.3 Updating a sequential file 15.4 Merging two sequential files 15.5 Direct access files Exercises CHARACTER MANIPULATION IN FORTRAN 16.1 Character constants and variables 16.2 Substrings 16.3 String expressions 16.4 String processing examples Exercises COMPUTER PROGRAMMING IN FORTRAN 77 Chapter 17 MISCELLANEOUS FORTRAN 77 FEATURES 17.1 Double precision facility ... 165 17^2 Use of complex quantities ... 167 17.3 The DATA statement ... 167 17.4 IMPLICIT declaration ... 168 17.5 Execution time FORMAT declaration ... 169 17.6 The EQUIVALENCE declaration ... 170 Exercises ... 171 Chapter 18 INTRODUCTION TO FORTRAN 90 18.1 Format of FORTRAN 90 programs ... 173 18.2 FORTRAN constants and variables ... 173 18.3 Control constructs in FORTRAN 90 ... 175 18.4 Loops in FORTRAN 90 ... 176 18.5 Arrays in FORTRAN 90 ... 176 18.6 Data structures in FORTRAN 90 ... 178 18.7 Generalization of procedures in FORTRAN 90 ... 180 18.8 Modules in FORTRAN 90 ... 184 Appendices Appendix 1 Built-in functions in FORTRAN ... 187 Appendix II Summary of FORTRAN 77 features ... 190 Appendix 111 Obsolete features of FORTRAN 77 ... 194 Appendix IV References ... 195 Index 165-172 173-185 187-195 197-198 ER -