Requirements engineering
Design and Implementation
Validation-Testing
Evolution and maintenance
In Chapter 4 of Software Engineering. Sommerville, Pearson, 2016 (10th edition), Sommerville discusses ethnography as a method for eliciting requirements.
1.
Discuss two advantages and two disadvantages of an ethnographic approach. (5 points)
2. Suggest two contexts where ethnography might be a challenging method of requirements engineering. For each context, how would you recommend that your team elicit requirements? (15 points)
Which of the following statements is (are) true? Explain.
1. StudentsDatabase is the model, StudentsManager is the controller, and WebApplication is the view.
2. StudentsDatabase is the model, StudentsManager is the view, and WebApplication is the controller.
3. StudentsManager is the model, StudentsDatabase is the view, and StudentsManager is the controller.
4. This is not MVC, because StudentsManager must use a listener to be notified when the database changes.
(Credit: EPFL)
Suppose you are asked to design a time management and notetaking system to support (1) scheduling meetings; and (2) tracking the documents associated with those meetings (e.g. agendas, presentations, meeting minutes).[footnoteRef:1] The system should accommodate [1: Such a feature seems like an inevitable development in any messaging platformâ¦]
Make reasonable assumptions as needed.
1. Create a use case for âSchedule meetingâ. You might follow the style in Sommerville Figure 7.3. (5 points)
2. Identify the objects in your system. Represent them using a structural diagram showing the associations between objects (âClass diagramâ â cf. Sommerville Figure 5.9). (5 points)
3. Draw a sequence diagram showing the interactions between objects when a group of people are arranging a meeting (cf. Sommerville Figure 5.15). (5 points)
1.
Consider the software package is-positive.[footnoteRef:2] Examine its source code (see index.js) and its test suite (see test.js), then complete these questions. [2: https://www.npmjs.com/package/is-positive]
1. Describe the API surface of this package. (2 points)
2. Describe how you would test this package. Describe how and why your approach would change if you maintained a similar package in a different programming language of your choice. (2 points)
3. According to npmjs.com, this package receives over 16,000 downloads each month.
a. Why might an engineer choose to use this package? (4 points)
b. Why might an engineer choose not to use this package? (You may find insights from the chapter about dependencies in SE@Google) (4 points)
4. Do you think npmjs should exclude such packages from its registry? Discuss.
(8 points)
What coverage does this test achieve on this method?
· 100% line coverage, 100% branch coverage
· 100% line coverage, 50% branch coverage
· 66% line coverage, 100% branch coverage
· 66% line coverage, 50% branch coverage
· 33% line coverage, 100% branch coverage
· 33% line coverage, 50% branch coverage
(For this question, 1/3=0.33 and 2/3=0.66)
(Credit: EPFL)
Review the (brief) section titled âThe Impact of Test Doubles on Software Developmentâ from the SE@Google textbook. The authors emphasize the importance of designing a codebase to be testable.
Consider the following code snippet, which (I think) is valid in a C++/Java-esque language:
You can imagine that the code base is full of switch statements like this.
1. What is the impact of this style on the test-ability of the code base? For example, how many distinct inputs are needed to achieve full line coverage of this method? Full branch coverage? (2 points)
2. Describe how you could use polymorphism to reduce the number of inputs needed to achieve full line coverage of this method. (4 points)
3. Would this change be an improvement? Why or why not? (2 points)
Some people argue that developers should not be involved in testing their own code, but that all testing should be the responsibility of a separate team.
1. Under what circumstances might it be appropriate for a developer to test their own software? (e.g. contexts or kinds of tests or phases of development orâ¦) (3 points)
2. Under what circumstances would it be inappropriate? (3 points)
3. Does your answer depend on whether a team follows a waterfall process or an incremental process (e.g. incorporating TDD)? Discuss. (3 points)
1. Discuss two reasons why software systems tend to degrade over time. For each reason, identify a strategy a team could take to fight entropy. (10 points)
2. If you were working as a software engineer, would you have a professional responsibility to develop code that can be easily maintained even if your employer does not explicitly request it? Discuss why or why not. (5 points)
3. Suppose you are tasked with optimizing the performance of a critical object in a large project. The bottleneck is due to calling an expensive function as part of a conditional check. You cannot understand the purpose of the conditional statement. Identify and then discuss the approaches suggested by Googleâs Beyonce Rule and Chestertonâs Gate. In what circumstances might you choose to remove the conditional? When might you decide to keep it? (5 points)
We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.
Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.
Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.
Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.
Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.
Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.
We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.
Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.
You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.
Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.
Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.
You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.
You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.
Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.
We create perfect papers according to the guidelines.
We seamlessly edit out errors from your papers.
We thoroughly read your final draft to identify errors.
Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!
Dedication. Quality. Commitment. Punctuality
Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.
We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.
We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.
We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.
We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.