Home|Back
FUNDAMENTALS OF
PROGRAMMING
WITH
FORTRAN 77

by
Dr. N. D. Jotwani

This is an introductory book on FORTRAN 77. It explains clearly the fundamental concepts of various parts of the language.

All the concepts presented in the book are clearly discussed in detail, and are treated with a good number of example programs. The fundamental ideas of good programming style are made clear, and the importance of correct flow of control in the design of a good program is lucidly described.

Salient features of the book are:

* emphasis on basic principles
* simple, lucid and easy language
* step-by-step treatment
* carefully selected example programs
* good number of exercises at the end of each chapter.
The book should prove to be extremely useful to undergraduate Science and Engineering students studying Computer Programming in FORTRAN 77 as a part of their Degree or Diploma requirements. The book should also be useful to students studying in short term courses.
Price : Rs. 80-00    
Edition : First Edition
Book Size : 170 mm × 240 mm
Binding : Paperback with Single Colour Jacket Cover
Pages : 216 + 12
Next>>

CONTENTS

Chapter 1   : INTRODUCTION

Chapter 2   : TYPES OF DATA

Chapter 3   : BASIC OPERATIONS ON DATA

Chapter 4   : FLOW OF CONTROL IN A PROGRAM

Chapter 5   : CONDITIONAL EXECUTION OF STATEMENTS

Chapter 6   : ITERATIVE EXECUTION OF STATEMENTS

Chapter 7   : FORMATTED INPUT AND OUlPUT

Chapter 8   : ARRAYS

Chapter 9   : SUBPROGRAMS

Chapter 10 : DATA STATEMENT AND SPECIFICATION STATEMENTS

Chapter 11 : FILE OPERATIONS

Chapter 12 : MISCELLANEOUS STATEMENTS

APPENDICIES
Next>>

DETAILED CONTENTS

Chapter 1 : INTRODUCTION

1-1
1-2
1-3
1-4
1-5
1-6
Computers and computer programs
FORTRAN
A simple FORTRAN program
Statements and lines
Running a FORTRAN program on a computer
Exercises

Chapter 2 : TYPES OF DATA

2-1
2-2
2-3
2-4
2-5
2-6
2-7
2-8

Data type INTEGER
Data type REAL
Data type CHARACTER
Data type LOGICAL
Data types DOUBLE PRECISION and COMPLEX
Variable names and declarations
Implicit data types
Exercises

Chapter 3 : BASIC OPERATIONS ON DATA

3-1
3-2
3-3
3-4
3-5
3-6
3-7
3-8

Arithmetic operations
Results of arithmetic expressions
Relational operations
Character operations
Logical operations
Assignment operation
Intrinsic functions
Exercises

Chapter 4 : FLOW OF CONTROL IN A PROGRAM

4-1
4-2
4-3
4-4
4-5
4-6

Flow of control
Flow charts
Control structures
Statement labels and explicit transfers of control
Control structures versus the GO TO statement
Exercises

Chapter 5 : CONDITIONAL EXECUTION OF STATEMENTS

5-1
5-2
5-3
5-4

The simple IF statement
The block IF statement
Proper use of the IF statement in a program
Exercises

Chapter 6 : ITERATIVE EXECUTION OF STATEMENTS

6-1
6-2
6-3
6-4
6-5

DO statement
Nesting of DO loops
Rules for writing DO loops
The while loop
Exercises

Chapter 7 : FORMATTED INPUT AND OUTPUT

7-1
7-2
7-3
7-4
7-5
7-6
7-7
7-8

Input of data using list-directed formatting
Output of data using list-directed formatting
Output format specifications
Carriage control
Repeat count and reuse of the format specification
Input format specifications
Alternate forms of format specifications
Exercises

Chapter 8 : ARRAYS

8-1
8-2
8-3
8-4
8-5
8-6

Introduction
General form of arrays
DIMENSION statement
Order of storage of array elements
Array input/output
Exercises

Chapter 9 : SUBPROGRAMS

9-1
9-2
9-3
9-4
9-5
9-6
9-7
9-8

Introduction
Function subprograms
Subroutine subprograms
COMMON statement
Passing arrays as arguments
Function names as arguments
Statement functions
Exercises

Chapter 10 : DATA STATEMENT AND SPECIFICATION STATEMENTS

10-1
10-2
10-3
10-4
10-5
10-6
10-7
10-8
10-9

DATA statement
Specification statements
IMPLICIT statement
PARAMETER statement
Named COMMON statement
Type and DIMENSION statements
EQUIVALENCE statement
EXTERNAL and INTRINSIC statements
SAVE statement

Chapter 11 : FILE OPERATIONS

11-1
11-2
11-3
11-4
11-5
11-6
11-7
11-8

Unit numbers and OPEN statement
CLOSE statement
Sequential files
Direct access files
Optional parameters with READ, WRITE, OPEN and CLOSE
File positioning statements
INQUIRE statement and internal files
Exercises

Chapter 12 : MISCELLANEOUS STATEMENTS

12-1
12-2
12-3
12-4
12-5
12-6
12-7
12-8

BLOCK DATA subprogram
ENTRY statement
Alternate RETURN from subprograms
Arithmetic IF statement
Computed GO TO statement
Assigned GO TO and ASSIGN statements
PAUSE statement
PROGRAM statement

APPENDICIES

APPENDIX A
APPENDIX B
APPENDIX C
APPENDIX D
APPENDIX E
APPENDIX F

:
:
:
:
:
:
Binary representation of data
Intrinsic functions
Format descriptors
List of FORTRAN statements
Subset FORTRAN
Further programming exercises