Classical Software Engineering

Computing

Quiz 14 :

Design

Quiz 14 :

Design

Question Type
search
arrow
(Case Study) Redesign the MSG Foundation product using data flow analysis.
Free
Essay
Answer:

Answer:

Data flow diagram is a kind of design technique which is used for gaining modules with high cohesion. This technique can be used with any other analysis techniques. A complete DFD gives precise and complete information about the input and output of the product.
• MSG foundation provides home loans to young couple by providing low cost loans.
• Couple whose income is very low to buy a house can apply for loan at MSG foundation.
• The couple has to first complete the application form filling process. In the mortgage application form the couple has to fill all the relevant information required by MSG foundation.
• Certain conditions are to be satisfied by the couple according to which the MSG foundation determines whether the loan application of the couple qualify for a MSG mortgage or not.
• If the application is accepted then weekly payment is calculated and funds available are estimated.
The data flow diagram of MSG foundation product is as follows:
• The initial input is loan_application.
• When this becomes validated_application it is still a loan application and still is an input data.
• In the compute_weekly_payment module the input is validated_application and its output is estimate_weekly_funds.
• The output of this module is totally different from the input. So, it is the point of highest abstraction of input.
• In the same way the output from compute_weekly_payment again has to go from next module calculated_weekly_payment. So, that will be the point of highest abstraction of output.
img

Tags
Choose question tag
close menu
arrow
(Case Study) The detailed design of Figures 14.16 and 14.17 is represented in PDL form. Represent the design using a tabular format. Which representation is superior? Give reasons for your answer. Reference figure 14.16 The detailed design of method compute- Estimated- Funds of class Estimate- FundsFor- Week of the MSG Foundation case study. img Reference figure 14.7 The detailed design of method totalWeekly- NetPayments of class Mortgage of the MSG Foundation case study. img
Free
Essay
Answer:

Answer:

In detailed design each module is designed in detail. This design is also known as modular design, physical design or low level design. Detailed design can be made in two ways:
• Tabular- In this appropriate algorithm are selected and specific data structure are chosen. Her, detailed design for each and every module is developed and then implemented by the programmer. The detailed design of the modules contains module name, type, return type, Input/output arguments, Error messages, files accessed or changed, module called etc. The interconnection between different modules is also designed in detail using algorithms and data structure. This technique specifies the design in a step by step manner which is easy to understand.
• Program description language (PDL) or Pseudocode- it can be used as the technique to represent the detailed design using a language decided by the management. PDL consists of control statements, comments, syntax of any specific language selected, which is used to represent the detailed design. It is simple and clear and only comments are translated into the selected programming language.
The tabular format for the PDL of Figure 14.16 and 14.17 of MSG foundation case study is as follows:
img img img

Tags
Choose question tag
close menu
arrow
Repeat Problem 14.5 using transaction analysis. Which of the two techniques did you find to be more appropriate?
Free
Essay
Answer:

Answer:

A complete DFD gives precise and complete information about the input and output of the product and Transaction analysis is used for such kind of products in which there are a number of related operations which are similar in outline but are different in details. So, transaction analysis will be best suitable technique for library circulation system which has different operations to be performed such as add book, remove book, return book, search book, check book.
• In transaction analysis a series of related operations are performed modules having logical cohesion and any one operation should be selected by calling module.
• In transaction analysis software reuse is done and no waste of effort is done of having similar modules again and again.
• One basic module is instantiated any number of time which will result in high cohesion and low coupling.
• Library circulation system works with books, librarian and borrowers. All the books in the library have a unique book number in bar code format. The borrower of the book will also have unique borrower number.
• The borrower should have a card with the borrower number on it, in bar code format. Borrower card should be scanned while issuing a book. Borrower need to enter A=author name, T=book tile, S=Subject area into the terminal before borrowing a book.
• Librarian checks/scans the bar code of the borrower and the book. For this librarian enters C to a terminal. If the book is available then it is issued to the borrower.
• Librarian enters R to a terminal when borrower returns a book. Librarian enters + (plus) to add new book to the collection with book details and enters - (minus) to remove book from the collection. Librarian can enter H with book number to hold any book.
Transaction analysis for library circulation system is as follows:
img

Tags
Choose question tag
close menu
arrow
Two different techniques for depicting a detailed design are presented in Section 14.3.1 (Figures 14.6 and 14.7). Compare and contrast the two techniques.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Complete the detailed class diagram for the elevator problem case study (Figure 14.11) by listing the methods of the form Send message to C Class... that need to be included in the Sensor Class.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Complete the detailed class diagram for the elevator problem case study (Figure 14.11) by listing the methods of the form Send message to C Class... that need to be included in the Elevator Sub controller Class.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
(Term Project) Starting with your specifications of Problem 12.20 or 13.22, design the Chocoholics Anonymous product (Appendix A). Use the design technique specified by your instructor.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
(Analysis and Design Project) Starting with your object-oriented analysis for the ATM software (Problem 13.21), design the ATM software using object-oriented design.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Now take your design for Problem 14.2 and add modules to perform error handling. Carefully examine the resulting design and determine the cohesion and coupling of the modules. Be on the lookout for situations such as that depicted in Figure 14.10.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Complete the detailed class diagram for the elevator problem case study (Figure 14.11) by listing the methods of the form Send message to C Class... that need to be included in the Scheduler Class.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Starting with your data flow diagram for the automated library circulation system (Problem 12.11), design the circulation system using data flow analysis.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
(Case Study) Redesign the MSG Foundation product using transaction analysis.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Complete the detailed class diagram for the elevator problem case study (Figure 14.11) by listing the methods of the form Send message to C Class... that need to be included in the Floor Button Class.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Complete the detailed class diagram for the elevator problem case study (Figure 14.11) by listing the methods of the form Send message to C Class... that need to be included in the Floor Sub controller Class.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Starting with your DFD for Problem 12.9, use data flow analysis to design a product for determining whether a bank statement is correct.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
(Analysis and Design Project) Starting with your object-oriented analysis for the product for determining whether a bank statement is correct (Problem 13.20), design the software using object-oriented design.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
(Analysis and Design Project) Starting with your object-oriented analysis for the automated library circulation system (Problem 13.19), design the library system using object-oriented design.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Use transaction analysis to design the software to control an ATM (Problem 8.9). At this stage omit error-handling capabilities.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Complete the detailed class diagram for the elevator problem case study (Figure 14.11) by listing the methods of the form Send message to C Class... that need to be included in the Elevator Button Class.
Essay
Answer:
Tags
Choose question tag
close menu