|
|
||
| 2. Software Engineering (2) |
|
|
|
||
|
|
||
| 3. Software Engineering (3) |
|
|
|
||
|
|
||
| 4. Software Engineering (4) |
|
|
|
||
|
|
||
| 5. Software Engineering (5) |
|
|
|
||
|
|
||
| 6. Software Engineering (6) |
|
|
|
||
|
|
||
| 7. Software Engineering (7) |
|
|
|
||
|
|
||
| 8. Software Engineering (8) |
|
|
|
||
|
|
||
| 9. Software Engineering (9) |
|
|
|
||
|
|
||
| 10. Software Engineering (10) |
|
|
|
||
|
|
||
| 11. Software Engineering (11) |
|
|
|
||
|
|
||
| 12. Software Engineering (12) |
|
|
|
||
|
|
||
| 13. Software Engineering (13) |
|
|
|
||
|
|
||
| 14. Software Engineering (14) |
|
|
|
||
|
|
|||||||||||||||||
| 15. Software Engineering (15) |
|
||||||||||||||||
|
|||||||||||||||||
|
|
|||||||||||||||||
| 16. Software Engineering (16) |
|
||||||||||||||||
|
|||||||||||||||||
|
|
|||||||||||||||||
| 17. Software Engineering (17) |
|
||||||||||||||||
|
|||||||||||||||||
|
|
||
| 18. Design Techniques |
|
|
|
||
|
|
||
| 19. Design Techniques 1. Tolerance |
|
|
|
||
|
|
||
| 20. Design Techniques 1. Tolerance (2) |
|
|
|
||
|
|
||
| 21. Design Techniques 1. Tolerance (3) |
|
|
|
||
|
|
||
| 22. Design Techniques 2. Metrics |
|
|
|
||
|
|
||
| 23. Design Techniques 2. Metrics (2) |
|
|
|
||
|
|
||
| 24. Design Techniques 2. Metrics (3) |
|
|
|
||
|
|
||
| 25. Software Crisis |
|
|
|
||
|
|
||
| 26. Software Crisis (2) |
|
|
|
||
|
|
||
| 27. Software Crisis (3) |
|
|
|
||
|
|
||
| 28. Software Crisis (4) |
|
|
|
||
|
|
||
| 29. The Software Life Cycle (Waterfall Model) by Royce in 1970 |
|
|
|
||
|
|
||
| 30. The Software Life Cycle (Waterfall Model) by Royce in 1970 (2) |
|
|
|
||
|
|
||
| 31. The Software Life Cycle (Waterfall Model) by Royce in 1970 (3) |
|
|
|
||
|
|
||
| 32. Other Models (Schach) |
|
|
|
||
|
|
||
| 33. Problem Specification |
|
|
|
||
|
|
||
| 34. Reasoning |
|
|
|
||
|
|
|||||||||||||||||
| 35. Example |
|
||||||||||||||||
|
|||||||||||||||||
|
|
||||||||||
| 36. Example (2) |
|
|||||||||
|
||||||||||
|
|
||
| 37. Example (3) |
|
|
|
||
|
|
||
| 38. Example (4) |
|
|
|
||
|
|
||
| 39. The Specification Document |
|
|
|
||
|
|
||
| 40. The Specification Document (2) |
|
|
|
||
|
|
||
| 41. The Specification Document (3) |
|
|
|
||
|
|
||
| 42. The Specification Document (4) |
|
|
|
||
|
|
||
| 43. The Specification Document (5) |
|
|
|
||
|
|
||
| 44. The Specification Document (6) |
|
|
|
||
|
|
||
| 45. The Specification Document (7) |
|
|
|
||
|
|
||
| 46. The Specification Document (8) |
|
|
|
||
|
|
||
| 47. Exercise Problem #1 |
|
|
|
||
|
|
||
| 48. Exercise Problem #1 (2) |
|
|
|
||
|
|
||
| 49. Exercise Problem #1 (3) |
|
|
|
||
|
|
||
| 50. Exercise Problem #2 |
|
|
|
||
|
|
||
| 51. Phase II: Program Design |
|
|
|
||
|
|
||
| 52. Phase II: Program Design |
|
|
|
||
|
|
||
| 53. Structural Analysis and Design |
|
|
|
||
|
|
||
| 54. Problems with Structural Design |
|
|
|
||
|
|
||
| 55. Problems with Structural Design (2) |
|
|
|
||
|
|
||
| 56. Top-Down Design |
|
|
|
||
|
|
||
| 57. The program development tree |
|
|
|
||
| Category | Typical Number of Programmers | Typical Duration | Product Size | Examples |
|---|---|---|---|---|
| Trivial | 1 | 1-2 weeks | < 500 lines | Student homework assignments |
| Small | 1-3 | a few weeks or months | 500-2,000 lines | Student team projects, advanced course assignments |
| Category | Typical Number of Programmers | Typical Duration | Product Size | Examples |
|---|---|---|---|---|
| Medium | 2-5 | a few months to one year | 2,000-10,000 | Research projects, simple production software such as assemblers, editors, loaders, recreational and educational software |
| Large | 5-25 | 1-3 years | 10,000-100,000 | Most current applications - word processors, speadsheets, operating systems for small computers, compilers |
| Category | Typical Number of Programmers | Typical Duration | Product Size | Examples |
|---|---|---|---|---|
| Very Large | 25-100 | 3-5 years | 100,000-1M | Large scale real-time operating systems, airline reservations systems |
| Extremely Large | >100 | >5 years | >1M | Advances military work, international tele- communications networks |
-b + sqrt(b2 - 4ac)
roots = -----------------------
2a
| Case | Condition | Meaning |
|---|---|---|
| 1 | (b2 - 4ac)> 0 | two real roots present |
| 2 | (b2 - 4ac) < 0 | two imaginary roots present |
| 3 | a = 0 , b not = 0 | linear eqn. with single real root |
| 4 | a = 0, b = 0 | not a valid eqn. & no roots |
| Case | Condition |
|---|---|
| 5 | inputs larger than maximum representable size on the machine - will cause arithmetic overflow |
| 6 | not enough number of input values were given |
| 7 | input provided in the wrong format - e.g. 7.t |
_________________
| |
Input ---->| program | ----> Output
(Input |________________| (output
specification) specification)