Starting from:

$25

QUANTUM-Exercise 3 Checkpoints and Documentation Solved

Exercise 1: Checkpoints

Write a subroutine to be used as a checkpoint for debugging.

(a)    Include a control on a logical variable (Debug=.true. or .false.)

(b)    Include an additional (optional) string to be printed

(c)     Include additional (optional) variables to be printed

Exercise 2: Documentation Rewrite Exercise 3 of Week 1 including:

(a)    Documentation.

(b)    Comments.

(c)     Pre- and post- conditions.

(d)    Error handling

(e)    Checkpoints

More products