School / Prep
ENSEIRB-MATMECA
Internal code
EM5PG102
Description
1) Introduction to LINUX What is LINUX? Path and tree structure. Basic commands (mkdir, rmdir, cp, mv, cd, tar, rm, ls, pwd, chmod). Text editors (less, more, Emacs). 2) Computer calculation in Fortran 90. The aim is to introduce the essential concepts of programming and compilation using Fortran 90 (and useful extensions to Fortran 95, 2003 and 2008), the essential language for scientific computing. The general programming concepts used in Fortran 90, compilation and execution of programs on the machine will be put into practice in practical exercises. In particular, the programming of algorithms seen at the start of the module and numerical methods seen in the numerical analysis course will be studied. Throughout the practical exercises, particular attention will be paid to putting the problems posed into algorithms before programming them. The basic elements of Linux will be recalled at each practical session.
Practical work is divided into two groups:
- the first 4 sessions are devoted to the basics of the language and the approximation of numbers in a machine.
- the last 4 (5 sessions) are devoted to programming methods seen in the other modules of the semester (differential equations, numerical analysis). They therefore enable students to practice and develop their Fortran 90 skills, while illustrating numerical methods.
Evaluation:
Continuous assessment: 1 mid-semester mid-term exam (2h), 1 graded practical, unjustified absences penalized
Final exam: 2h
Outline:
◦ Fortran 90 language, programming, compilation, ◦ Variables, types, expressions, assignment, control structures, arrays ◦ Input-output, files ◦ Subprograms, functions, arguments, interfaces ◦ Modules, generic procedures, overdefinition ◦ Floating-point representation and rounding errors and their influence on algorithm behavior (calculating a partial sum of a series, unstable algorithm).
Teaching hours
- CMLectures15h
- TIIndividual work20h
- PRACTICAL WORKPractical work40h
Syllabus
- Fortran 90 language, programming, compilation,
- Variables, types, expressions, assignment, control structures, arrays
- Input/output, files
- Subroutines, functions, arguments, interfaces
- Modules, generic procedures, overdefinition
- Floating-point representation and rounding errors and their influence on
algorithm behavior (calculation of a partial sum of a series, unstable algorithm)
Assessment of knowledge
Initial assessment / Main session - Tests
Type of assessment | Type of test | Duration (in minutes) | Number of tests | Test coefficient | Eliminatory mark in the test | Remarks |
---|---|---|---|---|---|---|
Continuous control | Continuous control | 0.5 | ||||
Final inspection | Written | 120 | 0.5 | documents allowed without calculator |
Second chance / Catch-up session - Tests
Type of assessment | Type of test | Duration (in minutes) | Number of tests | Test coefficient | Eliminatory mark in the test | Remarks |
---|---|---|---|---|---|---|
Final test | Written | 120 | 1 | documents allowed without calculator |