Illustrating the initial code and another class diagram

Assignment Help Software Engineering
Reference no: EM131061094

Assignment-

Overview

You are required to document, test and refactor an existing application. You will be given a copy of an existing C# application which is responsible for taking bookings for a cruise ship, this application is badly in need of refactoring and even a casual viewing of the source code reveals many examples of the "code smells" discussed by Fowler.

Learning Outcomes Assessed

Knowledge:

-Explain the significance of detailed project planning and control, good communication and documentation and the use of appropriate tools in order to provide a quality product;

-Discriminate between software engineering and programming, and thus the distinction between a software configuration and a program;

Skills:

-Analyse source code and develop comprehensive unit test suites

-Operate CASE software to document the design of a piece of software

-Apply refactoring to identify poor programming practice in existing source code and improve its structure and readability

Assessment Details

Notes about the assignment

There are eight types of cabin which may be booked. Standard costs are as follows:

• Balcony Suite ($5000 per cabin)
• Suite ($4000 per cabin)
• Deck 3 - Outside Twin ($3500 per cabin)
• Deck 2 - Outside Twin ($3400 per cabin)
• Deck 1 - Outside Twin ($3300 per cabin)
• Deck 3 - Inside Twin ($3400 per cabin)
• Deck 2 - Inside Twin ($3300 per cabin)
• Deck 1 - Inside Twin ($3200 per cabin)

Requirements

• Report detailing any "code smells" present in the code and how you intend to refactor them out of the code

• A refactored version of the system eliminating all identified code smells

• A class diagram illustrating the initial code and another class diagram illustrating the final refactored code (including all relevant dependencies)

• A sequence diagram illustrating how the final refactored system processes a new booking

• Extensive NUnit tests for methods SetupShip and BookPassage in the FedUniCruises class

• Add a loyalty rewards system. People who are bronze members of the loyalty rewards program receive a 5% discount on all bookings, people who are silver members receive 7.5% discount, while gold members receive 10% off the cost of their bookings.

• Add a platinum membership to the loyalty rewards program which entitles the holder to 50% off the cost of booking on decks 1, 2 and 3 and 25% off the cost of bookings for all suites.

Attachment:- Assignment.zip

Reference no: EM131061094

Questions Cloud

The account right after she makes the last deposit : For the last 19 years, Mary has been depositing $500 in her savings account , which has earned 5% per year, compounded annually and is expected to continue paying that amount. Mary will make one more $500 deposit one year from today. If Mary closes t..
Areas of concern as seen from an hr perspective : 1. Discuss possibilities and address the areas of concern as seen from an HR perspective. 2. Answer the following questions:
What is after-tax cash flow from the sale of asset : Consider an asset that costs $176,000 and is in a seven-year MACRS class. The asset is to be used in a 7-year project; at the end of the project, the asset can be sold for $22,000. The relevant tax rate is 30 percent. What is the after-tax cash flow ..
Determine which the packages will move : The packages are placed on the belt so that they are in contact with each other and at rest. Determine which, if any, of the packages will move and the friction force acting on each package
Illustrating the initial code and another class diagram : A class diagram illustrating the initial code and another class diagram illustrating the final refactored code (including all relevant dependencies)
Employment contract : Gulf IT Services LLC needs to hire two IT engineers for the position of IT technician. They hire the services of Al Mansour Recruitment Agency to find them suitable candidates. What do they have to do before Mr. Tolani starts working for them?
Determine perfect approach to managing an organization : If you were asked to select the perfect approach to managing an organization, which theorist model or approach would you select? Why this specific approach? What are the advantages the organization would gain from the structure? What potential dra..
Hr director at the organization : For this assignment, imagine that you are the HR director at the organization where you currently work OR at an organization with which you are familiar. Your primary purpose is to educate the President and convince him or her of the impact (wheth..
What is the one-year standard deviation : A conservative investor has a well-diversified portfolio but is still concerned about two things. First, he is concerned about the downside risk and secondly, he is concerned whether he is earning a sufficient rate of return to compensate for the ..

Reviews

Write a Review

Software Engineering Questions & Answers

  How many phases do the ones you found on the web contain

Prepare a document (minimum of one page) answering the following questions: Do all these life cycles follow the same general path? How many phases do the ones you found on the Web contain

  Track and monitor the reuse history of a component

As a software engineer, what are the means of tracking you would use to track and monitor the reuse history of a component? Provide a rationale for the elements you list

  Business and management scenario assignment

Design and document appropriate ETL processes that populate your dimensional model database.

  Diffie hellman key agreement

Assume that users Alice and Bob carry out the Diffie-Hellman key agreement protocol with p = 50147 and g = 5. Assume that Alice chooses x = 1367 and Bob chooses y = 3789.

  Business communication course write a report in which you

business communication course write a report in which you put forward the results of your research and your

  Find multicanonical monte carlo methods and rare growth

MATH7601: Project Descriptions. Multicanonical Monte Carlo Methods and Rare Growth Factors. One of the big unsolved research problem in Gaussian elimination is the question of backward stability. Even with partial pivoting examples are known.

  List the tasks on the critical path

Furthermore, initial indications from suppliers was that there would be an additional two week delay on shipping Production hardware as it would have to be specially ordered from Singapore.

  Answer the following questions using apa style and citing

answer the following questions using apa style and citing at least one credible source per answer with in-text and

  Draw erd of enrollment system using two different notions

Choose any real world scenario like enrollment system; draw ERD of selected case using two different notions (UML notion is mandatory).

  New material for system development section

New Material for System Development Section, The organization has asked for a new Web-based customer tracking system to be developed. Take this opportunity to describe the differences between a waterfall model and a prototype.

  Analyse the decision-making process of a common

How do you decide to buy a new house or a new piece of electronics or to go on a vacation? Though often invisible, there is a strategy in this everyday decision-making. You might ask for recommendations from friends, read reviews online or rely on..

  Create a uml class diagram for a survey class

Create a UML Class Diagram for a Survey class - The Survey class will have a static class variable that stores the current respondent's ID. As respondents complete the survey, this value will be incremented by one.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd