Module 10 Sequential and Conditional Execution Learning Outcomes
-
State syntax for accepting and using input from the user in a Matlab program.
-
State syntax for conditional statements.
-
Explain differences between a program script and a user-defined function.
-
Explain the order of execution of lines of a program script.
-
Explain difference between syntax and semantic errors.
-
Explain purpose and use of conditional operators and statements.
-
Trace sequential and conditional execution to determine output.
-
Write sequential and conditional code to solve engineering problems.
-
Use conditional statements to control which code executes.
-
Use Input from the User to make programs more user-friendly.
-
Analyze (find) and fix common programming errors. (Debugging)