Docsity

Homework 2 Solutions - Applied Software Design | ECE 3574, Assignments of Software Engineering

Toggle sidebar
bg1
ECE 3574: Applied Software Engineering Fall 2007 Problem Set 2
Virginia Tech
Bradley Department of Electrical and Computer Engineering
ECE 3574: Applied Software Engineering Fall 2007
Homework Problem Set 2 Solutions
Submission Details
The solutions for this problem set must be submitted as an electronic submission. Your submission
will be a Word or PDF file containing the answers to the questions. The following information must
be included at the top of the first page of your document: your full name, your student ID number,
your email address, class (ECE 3574), title of the assignment (Homework Problem Set 2), and date of
submission. You must submit the solutions using the “Digital Drop box” at the class web site1. The
file must be given a name of the following form: LAST_FIRST_hw2.doc or LAST_FIRST_hw2.pdf.
Paper and email submissions will not be accepted. All work must be submitted by the announced
due date/time.
Questions
Use the Homework 2 forum in the Discussion Board area of the class web site to ask questions about
this assignment. Do not post questions that contain specific information about the solution.
Honor Code
As stated in the syllabus, in working on problem sets, discussion and cooperative learning are
allowed. However, copying or otherwise using another person’s detailed solutions to assigned
problems is an honor code violation. See syllabus for details.
1 The class web site is accessed at http://www.learn.vt.edu/.
pf3
pf4
pf5

Partial preview of the text

Download Homework 2 Solutions - Applied Software Design | ECE 3574 and more Assignments Software Engineering in PDF only on Docsity!

Virginia Tech Bradley Department of Electrical and Computer Engineering ECE 3574: Applied Software Engineering ‹ Fall 2007

Homework Problem Set 2 Solutions

Submission Details The solutions for this problem set must be submitted as an electronic submission. Your submission will be a Word or PDF file containing the answers to the questions. The following information must be included at the top of the first page of your document: your full name, your student ID number, your email address, class (ECE 3574), title of the assignment (Homework Problem Set 2), and date of submission. You must submit the solutions using the “Digital Drop box” at the class web site 1. The file must be given a name of the following form: LAST _ FIRST _hw2.doc or LAST _ FIRST _hw2.pdf. Paper and email submissions will not be accepted. All work must be submitted by the announced due date/time.

Questions Use the Homework 2 forum in the Discussion Board area of the class web site to ask questions about this assignment. Do not post questions that contain specific information about the solution.

Honor Code As stated in the syllabus, in working on problem sets, discussion and cooperative learning are allowed. However, copying or otherwise using another person’s detailed solutions to assigned problems is an honor code violation. See syllabus for details.

(^1) The class web site is accessed at http://www.learn.vt.edu/.

Exercise 1 [34 points]

  1. Represent the Winburg case study using the waterfall model. Is this more or less effective than the evolution tree model? Explain.

Figure 2.1. Waterfall model representation of the Winburg mini case study.

Figure 2.1 shows the waterfall model representation of the Winburg case study. (This figure is identical to Figure 2.3 in the lecture slides.) The problem is that the figure does not show the sequence of events, that is, which artifact follows which. It is therefore far less effective than the evolution-tree model.

  1. Assume that the programmer in the Winburg case study had used single- precision numbers from the beginning. Draw the resulting evolution tree.
  1. Consider a corporation that manufactures and sells boots. The organization wants to build a software product that will monitor the company‘s stock, starting with the purchasing of the leather and keeping track of the boots as they are manufactured, distributed to the individual stores, and sold to customers. What are some of the risks involved in developing this product, and how would you attempt to mitigate them? - The product may not be what the client really needs, so construct a rapid prototype. - The design may not permit future development as the corporation grows or changes the way it does business, so ensure that the design is as open-ended as is reasonable. - The users may not be comfortable with the product, so a rapid prototype of the user interface is needed. - A critical member of the development team may leave, so keep management of the development organization abreast of major decisions being made, thereby making it easier to integrate a replacement into the team. - The development team may not be properly managed, so ensure that managers are competent and well-trained.
  2. Describe the sort of product that would be an ideal application for open-source software development.

Infrastructure software that is likely to be extremely widely used by a broad variety of users. For example, an operating system or web browser.

  1. Describe the type of situation where open-source software development is inappropriate.

Software to be used in only one organization. For example, a software product to control a machine of a unique type.

  1. Describe the sort of product that would be an ideal application for an agile process.

A small product, particularly one in which the requirements are vague.

  1. Describe the sort of product where an agile process is inappropriate.

A medium- or large-scale product.

  1. Describe the sort of product that would be an ideal application for the spiral model.

A large-scale, in-house project. For example, a flight-control system that is developed inhouse.

  1. Describe the sort of product where the spiral model is inappropriate.

A small product, or any form of contract software. For example, a database conversion program developed under contract.

  1. Your development of the stock control product for the bootwear chain (in Problem 5) is so successful that your organization decides that it must be re- written as a package to be sold to a variety of different organizations that manufacture and sell products via their own retailers. The new product must therefore be portable and easily adapted to new hardware and/or operating systems. What are the criteria that you would use in selecting a life-cycle model for this project? What life-cycle model would you choose?

The key requirements here are achieve portability, maintainability, and generality. Excellent documentation is essential for this, so the waterfall model appears to be a strong candidate. However, the waterfall model is a theoretical model, so the iterative-and incremental life-cycle model is probably the life-cycle model of choice here.

  1. Consider the requirements workflow and the analysis workflow. Would it make more sense to combine these two activities into one workflow than to treat them separately?

The objectives and activities of the two phases are so different that it doesn’t make sense. The requirements phase is a somewhat informal process of determining the client’s needs, whereas the activities of the analysis phase consist of drawing up a precise statement of exactly what the software product is to do, followed by the drawing up of a detailed plan for doing it.

  1. Because of a fire at Elmer’s Software, all documentation for a product is destroyed just before it is delivered. What is the impact of the resulting lack of documentation?

Maintenance becomes difficult, because the only way to understand the product as a whole (now) is to read the source code of the entire product. Also, the sole documentation on an individual module is the source code of that module. Furthermore, lack of documentation means that the chance of a regression fault increases.

  1. You have just purchased Antedeluvian Software Developers, an organization on the verge of bankruptcy because the company is at maturity level 1. What is the first step you will take to restore the organization to profitability?

Provide software engineering education for all employees, including managers. This is a necessary prerequisite for advancement to maturity level 2.

  1. It makes little sense to introduce CASE environments within organizations at