Lessons
Fortran · Easy
Fortran · Easy. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Kinds and precision
real64 from iso_fortran_env, kind suffixes on literals, and precision traps.

Lesson 2
Array intrinsics and where
sum, product, maxval, count, any, all, masks, and the where construct.

Lesson 3
Allocatable arrays
allocatable, allocate with stat, automatic reallocation, and deallocate.

Lesson 4
Multidimensional arrays
Column-major order, reshape, matmul, transpose, and loop order.

Lesson 5
Derived types
type ... end type, components, constructors, arrays of types, and printing.

Lesson 6
pure and elemental procedures
pure guarantees, elemental functions applied to whole arrays, and side effects.

Lesson 7
File input and output
open with newunit, write and read, iostat, and close.

Lesson 8
Optional and keyword arguments
optional arguments, present(), keyword calls, and default handling.

Lesson 9
Character processing
Character-by-character loops, achar/iachar, case conversion, and internal I/O.

Lesson 10
do concurrent
Declaring independent iterations, locality specifiers, and when it parallelizes.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.