The software design method set out below is the method of solving problems through engineering techniques.
1. Problem Definition
At this stage, also known as Requirements Specification sets the problem, clarifying it as possible. It is the most critical part of the solution. Deserves careful study. It should identify the theories, fundamentals and / or mathematical principles, physical or any kind successfully to substantiate the problem.2. Analysis
- It should eliminate unimportant issues include the problem
- If the problem is not completely defined it must submit to additional information
At this stage you should identify the problem inputs, desired outcomes or outputs and any additional requirements or restrictions inthe solution3. Design
- Identify what information is provided (data of the problem)
- Identify what results should be calculated and / or deployed
- Determine how and in what units should display the results
- Refine the theories, fundamentals and / or principles required by the assumptions and simplifications needed
- Identify the types and data structures needed for the problem data and the results
- Identify the functions or operations necessary to meet the requirements of the problem
The design is basically to develop a list of steps called algorithms or prescription of the solution, vericicando the problem is solved as desired.4. Implementation
- It's the hardest part of the problem solving process
- Should be verified that the algorithm is correct before proceeding
- Is aided design techniques as pseudocode and flowcharts.
This stage is to implement or write the algorithm as a computer program in a programming language, making every step of the algorithm in instructions in the programming language.5. Verification and Test
- It requires knowledge of a particular programming language in terms of its grammar, syntax and semantics, it is recommended to read the programmer's manual or its equivalent and used as queries whenever necessary.
One way to start the programming language knowledge is playing programs such as running, observe the results and analyze the inputs, outputs and processes of calculation and / or information flow instructions output by the end.
- It requires a minimum of the following tools:
- A text editor to write the source code as a plain text file type (for example notepad to save your files as html)
- An interpreter that processes source code and run it (eg running the browser in JavaScript scripts to load the web page)
- A debugger to help us to debug and correct the source code to make an executable without errors (for example the same browser that sends messages to find errors when running our program)
- They must use data types and structures most appropriate to allow the programming language, taking care in the use of real data types and rounding errors introduced and can alter the results.
This stage is to test the complete program and verify that it works as expected
- It must prove each of the functions first separately and then jointly
- You should test the complete program with different sets of test data
- In case of errors repeat step 4 and 5 to the satisfaction of the requirements
0 comments:
Post a Comment