From db4ccdbf5305dae374882e5416db88be91ec132b Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Wed, 3 Dec 2025 17:35:33 -0700 Subject: Added Verification and validation tutorial file --- README.md | 2 +- tutorials/module_2/verification_and_validation.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tutorials/module_2/verification_and_validation.md diff --git a/README.md b/README.md index 6aeabe0..fcba973 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ See the tutorials under the /tutorials/ directory or use the links below. - [Code Documentation](tutorials/module_2/documentation) - - Code libraries & resources - [AI assisted programming](tutorials/module_2/assisted_programming) - Productivity through AI -- Verification and Validation - Writing Robust Code +- [Verification and Validation](tutorials/module_2/verification_and_validation.md) - Writing Robust Code - [Error](tutorials/module_2/error.md) - Dealing with computer error #### Module 3: Applications of Computational Mathematics in ME - [Linear Equations](tutorials/module_3/1_0_linear_equations.md) diff --git a/tutorials/module_2/verification_and_validation.md b/tutorials/module_2/verification_and_validation.md new file mode 100644 index 0000000..84064d3 --- /dev/null +++ b/tutorials/module_2/verification_and_validation.md @@ -0,0 +1,17 @@ +# Writing Robust Code + +This section includes tips and good practices you should exercise when writing code. It is acome up by Software Engineers at NASA. + +1. Simple Control Flow +2. Limit all loops +3. Limit function size -> function should only perform 1 action -> max 60 lines or fit on a printer paper +4. Practice data hiding -> hide internal object details -> restrict the data access to class members. It maintains data integrity. +5. Check return values from your functions + + +# Verification and Validation +Verification and validation is a process + +**Verification:** + +**Validation:** \ No newline at end of file -- cgit v1.2.3