Learning Outcomes
Upon completion of this course the student will:
- know basic concepts and principles of computing.
- be able to design algorithms for simple scientific computations
- acquire knowledge and experience in basic principles of programming
- be able to write structured code in Fortran making use of modules, functions and subroutines.
- be able to analyze, correct or expand existing codes written in Fortran.
Course Content (Syllabus)
INTRODUCTION: Basic structure of computer (HARDWARE & SOFTWARE). Data representation in a computer. Program design (introduction to top-down design techniques). Algorithms, pseudocode and flow charts. MODERN FORTRAN 95/2003/2008 LANGUAGE: Basic elements and program structure. Constant and variables. Assignment statements and arithmetic calculations. Intrinsic functions. Branching structure and flow control. Loop structures. Character manipulation. Basic I/O concepts. File handling. Introduction to arrays (elements, sectors, constructors). Allocatable arrays. Introduction to procedures (functions and subroutines). Using arrays in procedures (automatic arrays, assumed-shape arrays). Modules. Derived data types. Interfaces. Elements of object oriented programming. Applications and typical examples.
Keywords
Informatics, Programming, Informatics for Chemical Engineers, Fortran
Course Bibliography (Eudoxus)
1. Εισαγωγή στον Επιστημονικό Προγραμματισμό, Δ. Ματαράς, εκδ. Α. ΤΖΙΟΛΑ & ΥΙΟΙ Α.Ε., 2020
2. Εισαγωγή στην Fortran 90/95/2003, Ν. Καραμπετάκης, εκδ. ΖΗΤΗ, 2011
Additional bibliography for study
1. Fortran for Scientists and Engineers, S. J. Chapman, McGraw Hill, 2017
2. Modern Fortran in Practice, A. Markus, Cambridge University Press, 2012
3. Introduction to Programming with Fortran, I. Chivers & J. Sleightholme, Springer, 2012
4. Modern Fortran Explained, M. Metcalf, J. Reid & M. Cohen, Oxford University Press, 2011
5. Modern Fortran - Style and Usage, N. S. Clerman & W. Spector, Cambridge University Press, 2012