Presentation is loading. Please wait.

Presentation is loading. Please wait.

CMSC 2021 Software Development. CMSC 2022 Software Development Life Cycle Five phases: –Analysis –Design –Implementation –Testing –Maintenance.

Similar presentations


Presentation on theme: "CMSC 2021 Software Development. CMSC 2022 Software Development Life Cycle Five phases: –Analysis –Design –Implementation –Testing –Maintenance."— Presentation transcript:

1 CMSC 2021 Software Development

2 CMSC 2022 Software Development Life Cycle Five phases: –Analysis –Design –Implementation –Testing –Maintenance

3 CMSC 2023 Software Development Life Cycle (con’t) Analysis Phase – Formally specify (document) what the problem is – Make sure that you and the “client” agree – Develop system test cases

4 CMSC 2024 Software Development Life Cycle (con’t) Design Phase – Formally specify (document) how the problem is to be solved – Make sure that the design conforms to the requirements (i.e., will produce what was specified in the analysis phase)

5 CMSC 2025 Software Development Life Cycle (con’t) Implementation Phase – Convert the design to code – Compile and remove all syntax errors

6 CMSC 2026 Software Development Life Cycle (con’t) Testing Phase – Unit Testing: Test each unit (e.g., function, object) for logic errors and make corrections – System Testing: Test the entire program to make sure that it conforms to the requirements

7 CMSC 2027 Software Development Life Cycle (con’t) Maintenance Phase – Fix bugs found by the customer – Make modifications ($$!) – Add new features ($$!)

8 CMSC 2028 So How Does the S/W Life Cycle Apply to My Projects? Follow the first four phases, but anticipate the last (Maintenance) Complete the Analysis Complete the Design Do a combination of Implementation and Testing

9 CMSC 2029 Procedural Method for CMSC 202 Project Development Analysis Phase – Write, in paragraph form, a general statement of the problem – Draw a detailed picture of the user interface – Define in detail each of the program inputs and outputs (possibly use a formal notation such as BNF) – Ask questions!

10 CMSC 20210 Project Development (con’t) Design Phase (Procedural) – Using top-down stepwise refinement, draw a hierarchy diagram of the solution – Define the inputs and outputs for each module in the diagram – For each module in the diagram, write the pseudocode – Make sure that the pseudocode actually implements the requirements! (Do hand- traces of the pseudocode.)

11 CMSC 20211 Project Development (con’t) Implementation & Testing Phases: A Combination Approach – Write the “skeleton” C++ code for the main (top) module: any #include’s all function prototypes the main function code “dummies”/”stubs” for all functions

12 CMSC 20212 Project Development (con’t) –Make sure that the code follows the pseudocode exactly! – Compile the code and remove any syntax errors – Run the “skeleton” – Code a single function, compile, and remove any syntax errors – Run the program and remove any logic errors

13 CMSC 20213 Project Development (con’t) – Code each function, one at a time, compiling, removing syntax errors, running the entire program, and removing logic errors –Typically, it is best to add functions in the following order: output function(s) input function(s) follow the calling order

14 CMSC 20214 Project Development (con’t) –Make sure that the final program meets all project requirements! Go back and review the project assignment for compliance Test all possibilities for input values, legal, illegal, and boundary values (choose representative data if the set of possibilities is too large)


Download ppt "CMSC 2021 Software Development. CMSC 2022 Software Development Life Cycle Five phases: –Analysis –Design –Implementation –Testing –Maintenance."

Similar presentations


Ads by Google