Seventh Edition - Chương 11
Số trang: 124
Loại file: ppt
Dung lượng: 3.43 MB
Lượt xem: 13
Lượt tải: 0
Xem trước 10 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Tham khảo tài liệu seventh edition - chương 11, công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
Nội dung trích xuất từ tài liệu:
Seventh Edition - Chương 11 Slide 11.1Object-Oriented and Classical Software EngineeringSeventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach srs@vuse.vanderbilt.edu © The McGraw-Hill Companies, 2007 CHAPTER 11 Slide 11.2CLASSICAL ANALYSIS © The McGraw-Hill Companies, 2007 Overview Slide 11.3 The specification document Informal specifications Structured systems analysis Structured systems analysis: The MSG Foundation case study Other semiformal techniques Entity-relationship modeling Finite state machines Petri nets Z (Formal method of specification) © The McGraw-Hill Companies, 2007 Overview (contd) Slide 11.4 Other formal techniques Comparison of classical analysis techniques Testing during classical analysis CASE tools for classical analysis Metrics for classical analysis Software project management plan: The MSG Foundation case study Challenges of classical analysis © The McGraw-Hill Companies, 2007 The Specification Document Must Be Slide 11.5 Informal enough for the client The client is generally not a computer specialist Formal enough for the developers It is the sole source of information for drawing up the design These two requirements are mutually contradictory © The McGraw-Hill Companies, 2007 11.1 The Specification Document Slide 11.6 The specification document is a contract between the client and the developers Typical constraints Deadline Parallel running Portability Reliability Rapid response time For real-time software Hard real-time constraints must be satisfied © The McGraw-Hill Companies, 2007 Specification Document (contd) Slide 11.7 Acceptance criteria It is vital to spell out a series of tests If the product passes the tests, it is deemed have satisfied its specifications Some acceptance criteria are restatements of constraints © The McGraw-Hill Companies, 2007 Solution Strategy Slide 11.8 A general approach to building the product Find strategies without worrying about constraints Then modify the strategies in the light of the constraints, if necessary Keep a written record of all discarded strategies, and why they were discarded To protect the analysis team To prevent unwise new “solutions” during postdelivery maintenance © The McGraw-Hill Companies, 2007 11.2 Informal Specifications Slide 11.9 Informal specifications are written in a natural language Examples: English, Mandarin, Kiswahili, Hindi Example “If the sales for the current month are below the target sales, then a report is to be printed, unless the difference between target sales and actual sales is less than half of the difference between target sales and actual sales in the previous month, or if the difference between target sales and actual sales for the current month is under 5%” © The McGraw-Hill Companies, 2007 The Meaning of This Specification Slide 11.10 The sales target for January was $100,000, but actual sales were only $64,000 (36% below target) Print the report The sales target for February was $120,000, the actual sales were only $100,000 (16.7% below target) The percentage difference for February (16.7%) is less than half of the previous month’s percentage difference (36%), so do not print the report © The McGraw-Hill Companies, 2007The Meaning of This Specification (contd) Slide 11.11 The sales target for March was $100,000, the actual sales were $98,000 (2% below target) The percentage difference is under 5%, so do not print the report © The McGraw-Hill Companies, 2007 But the Specifications Do Not Say This Slide 11.12 “[D]ifference between target sales and actual sales” There is no mention of percentage difference in the specifications The difference in January was $36,000, the difference in February was $20,000 Not less than half of $36,000, so the report is printed “[D]ifference … [of] 5%” Again, no mention of percentage © The McGraw-Hill Companies, 2007But the Specifications Do Not Say This (contd) Slide 11.13 Ambiguity—should the last clause read “percentage difference … [of] 5%” or “difference … [of] $5,000” or something else entirely? The style is poor The specifications should state when the report should be printed … … Rather than when it should not be printed © The McGraw-Hill Companies, 2007 Informal Specifications (contd) Slide 11.14 Claim This cannot arise with professional specifications writers Refutation Text processing case study © The McGraw-Hill Companies, 2007 11.2.1 Correctness Proof Case Study Slide 11.15 Naur text-processing problem Given a text consisting of words separated by blank or by newline characters, convert it to line-by-line form in accordance with the following rules ...
Nội dung trích xuất từ tài liệu:
Seventh Edition - Chương 11 Slide 11.1Object-Oriented and Classical Software EngineeringSeventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach srs@vuse.vanderbilt.edu © The McGraw-Hill Companies, 2007 CHAPTER 11 Slide 11.2CLASSICAL ANALYSIS © The McGraw-Hill Companies, 2007 Overview Slide 11.3 The specification document Informal specifications Structured systems analysis Structured systems analysis: The MSG Foundation case study Other semiformal techniques Entity-relationship modeling Finite state machines Petri nets Z (Formal method of specification) © The McGraw-Hill Companies, 2007 Overview (contd) Slide 11.4 Other formal techniques Comparison of classical analysis techniques Testing during classical analysis CASE tools for classical analysis Metrics for classical analysis Software project management plan: The MSG Foundation case study Challenges of classical analysis © The McGraw-Hill Companies, 2007 The Specification Document Must Be Slide 11.5 Informal enough for the client The client is generally not a computer specialist Formal enough for the developers It is the sole source of information for drawing up the design These two requirements are mutually contradictory © The McGraw-Hill Companies, 2007 11.1 The Specification Document Slide 11.6 The specification document is a contract between the client and the developers Typical constraints Deadline Parallel running Portability Reliability Rapid response time For real-time software Hard real-time constraints must be satisfied © The McGraw-Hill Companies, 2007 Specification Document (contd) Slide 11.7 Acceptance criteria It is vital to spell out a series of tests If the product passes the tests, it is deemed have satisfied its specifications Some acceptance criteria are restatements of constraints © The McGraw-Hill Companies, 2007 Solution Strategy Slide 11.8 A general approach to building the product Find strategies without worrying about constraints Then modify the strategies in the light of the constraints, if necessary Keep a written record of all discarded strategies, and why they were discarded To protect the analysis team To prevent unwise new “solutions” during postdelivery maintenance © The McGraw-Hill Companies, 2007 11.2 Informal Specifications Slide 11.9 Informal specifications are written in a natural language Examples: English, Mandarin, Kiswahili, Hindi Example “If the sales for the current month are below the target sales, then a report is to be printed, unless the difference between target sales and actual sales is less than half of the difference between target sales and actual sales in the previous month, or if the difference between target sales and actual sales for the current month is under 5%” © The McGraw-Hill Companies, 2007 The Meaning of This Specification Slide 11.10 The sales target for January was $100,000, but actual sales were only $64,000 (36% below target) Print the report The sales target for February was $120,000, the actual sales were only $100,000 (16.7% below target) The percentage difference for February (16.7%) is less than half of the previous month’s percentage difference (36%), so do not print the report © The McGraw-Hill Companies, 2007The Meaning of This Specification (contd) Slide 11.11 The sales target for March was $100,000, the actual sales were $98,000 (2% below target) The percentage difference is under 5%, so do not print the report © The McGraw-Hill Companies, 2007 But the Specifications Do Not Say This Slide 11.12 “[D]ifference between target sales and actual sales” There is no mention of percentage difference in the specifications The difference in January was $36,000, the difference in February was $20,000 Not less than half of $36,000, so the report is printed “[D]ifference … [of] 5%” Again, no mention of percentage © The McGraw-Hill Companies, 2007But the Specifications Do Not Say This (contd) Slide 11.13 Ambiguity—should the last clause read “percentage difference … [of] 5%” or “difference … [of] $5,000” or something else entirely? The style is poor The specifications should state when the report should be printed … … Rather than when it should not be printed © The McGraw-Hill Companies, 2007 Informal Specifications (contd) Slide 11.14 Claim This cannot arise with professional specifications writers Refutation Text processing case study © The McGraw-Hill Companies, 2007 11.2.1 Correctness Proof Case Study Slide 11.15 Naur text-processing problem Given a text consisting of words separated by blank or by newline characters, convert it to line-by-line form in accordance with the following rules ...
Tìm kiếm theo từ khóa liên quan:
phần mềm công nghệ phần mềm tài liệu phần mềm thiết kế phần mềm lý thuyết phần mềmGợi ý tài liệu liên quan:
-
62 trang 390 3 0
-
Giáo trình Công nghệ phần mềm nâng cao: Phần 2
202 trang 214 0 0 -
Giáo trình Công nghệ phần mềm nâng cao: Phần 1
151 trang 189 0 0 -
Báo cáo chuyên đề Công nghệ phần mềm: Pattern searching
68 trang 184 0 0 -
Lecture Introduction to software engineering - Week 3: Project management
68 trang 161 0 0 -
Xây dựng mô hình và công cụ hỗ trợ sinh tác tử giao diện
13 trang 160 0 0 -
6 trang 153 0 0
-
Giáo trình tóm tắt Công nghệ phần mềm
149 trang 152 0 0 -
Bài giảng Phân tích thiết kế phần mềm: Chương 1 - Trường ĐH Ngoại ngữ - Tin học TP.HCM
64 trang 148 0 0 -
Cuộc chiến Phân kỳ - Tích hợp nhiều tranh cãi bậc nhất trong giới marketing
3 trang 148 0 0