Question

In: Computer Science

Question 3 [20 Marks] Extreme programming (XP) is a software development methodology which is intended to...

Question 3 [20 Marks]

Extreme programming (XP) is a software development methodology which is intended to improve software quality and responsiveness to changing customer requirements. Briefly explain refactoring and pair programming in Extreme Programming.

Solutions

Expert Solution

Extreme programming (XP)- It is an agile software development framework that aims to produce higher quality software and higher quality of life for the development team.Extreme Programming is about getting feedback earlier in the process.

Refactoring in Extreme Programming:

Refactoring is the technique of improving the code without changing any functionality.Refactoring is an on going process of simplification that applies to code,design,testing and XP itself.

The main goal of refactoring is to make the initial code simple.Usually, the code becomes more and more complex during the process of software development.The fact is that developers need to integrate each new task with the previous code.By doing this the developer realizes that the initial code is not perfect and so the best way to avoid this problem is by using the technique of Refactoring in Extreme Programming(XP).

Steps to be followed during Refactoring:

  1. We need to find the proper working test for part of the code we need to refactor.
  2. Conducting the refactoring procedure.
  3. We need to test the unit which is refactored.
  4. Repeat the above mentioned procedure for other units which need to be refactored.

Pair programming in Extreme Programming:

In this style of programming two programmers work side-by-side, sharing one computer, sharing one screen, keyboard, mouse and continuously collaborating on the same design, algorithm, code and test.

  1. It is a social skill that takes time to learn.
  2. It increases the software quality without impacting the time to deliver the code.
  3. This is one of the ways to address the code quality.
  4. By working with an active participant we get continuous code review.

Hence these both mechanisms help in modifying the software quality and meeting the requirements of customers.


Related Solutions

One of the intended outcomes of the Millennium Development Goals was to “eradicate extreme poverty and...
One of the intended outcomes of the Millennium Development Goals was to “eradicate extreme poverty and hunger” in the world. How successful has the achievement of this outcome been to its mission to “meet the needs of the world’s poorest”
Question 2 [20 Marks] Software engineering has been more focused on original development. However, it is...
Question 2 [20 Marks] Software engineering has been more focused on original development. However, it is now recognised that to achieve better software, more quickly and at lower cost, we need to adopt a design process that is based on systematic software reuse. Discuss the concept of software reuse and include in your discussion the benefits and problems that arise.
QUESTION 3 (20 MARKS) QUESTION 3 (20 MARKS) An analysis of the Business School graduates found...
QUESTION 3 QUESTION 3 An analysis of the Business School graduates found that 210 out of 318 randomly selected graduates used An analysis of the Business School graduates found that 210 out of 318 randomly selected graduates used  a statistical inference technique during their first year of employment.a statistical inference technique during their first year of employment. (a) Calculate a 90% confidence interval for the proportion of graduates who used a statistical inference (a) Calculate a 90% confidence interval for the...
The SDLC (software/system development life cycle) framework is a common development methodology used by organizations to...
The SDLC (software/system development life cycle) framework is a common development methodology used by organizations to build systems and software. Security is often an afterthought or only addressed late in the development process. How can threat modeling be includes during the entire development effort? At what points of the lifecycle would you include threat identification, testing and analysis? Why have you chosen those points in the development cycle?
QUESTION 3 Regression Analysis Guide to marks: 20 marks – 5 for a, 10 for b,...
QUESTION 3 Regression Analysis Guide to marks: 20 marks – 5 for a, 10 for b, 3 for c, 2 for d Belinda, the accountant at Murray Manufacturing Company wants to identify cost drivers for support overhead costs. She has the impression that the staff spend a large part of their time ensuring that the equipment is correctly set up and checking the first units of production in each batch. Deborah has collected the following data for the past 12...
Question 5: Relevant information for decisions (20 marks in total) The development of a new pesticide...
Question 5: Relevant information for decisions (20 marks in total) The development of a new pesticide for the horticultural industry has been successful. David is now discussing with you, options to expand operations to include this new line of pesticide, Microcide. A key issue is whether to make one of the components of the pesticide, Factor X, or to buy it in. Demand for the next 12 months is expected to be 200,000 litres. Costs if FOL makes all the...
Question 5: Relevant information for decisions (20 marks in total) The development of a new pesticide...
Question 5: Relevant information for decisions (20 marks in total) The development of a new pesticide for the horticultural industry has been successful. David is now discussing with you options to expand operations to include this new line of pesticide, Microcide. A key issue is whether to make one of the components of the pesticide, Factor X, or to buy it in. Demand for the next 12 months is expected to be 200,000 litres. Costs if FOL makes all the...
Question 8 (10 marks) The following information is extracted from the financial statements of XP Sports...
Question 8 The following information is extracted from the financial statements of XP Sports Limited: Cash $677,423 Accounts Payable $1,721,669 Accounts Receivable $1,845,113 Notes Payable $2,113,345 Inventories $1,312,478 Total Current Assets $3,835,014 Total Current Liabilities $3,835,014 Net Sales $9,912,332 Cost $5,947,399 Briefly explain what you understand by the term ‘operating cycle’.                Click or tap here to enter text. What is the operating cycle for XP Sports Limited?                                           Click or tap here to enter text. What can you say...
Question 3 (20 Marks) Part A (6 marks) XYZ Windows Ltd is involved in a research...
Question 3 Part A XYZ Windows Ltd is involved in a research and development project to create a filtering window that removes the need for curtains. For the current year ended 30 June 2020 expenditure on the project is as follows: Research $235,000 Development $500,000 The window is expected to return profits of $70,000 per year for the 10 years commencing 1 July 2020. Assuming the company uses a straight-line method amortisation. This company uses a discount rate of 8...
QUESTION 3 (14 marks) (Total 20 marks) A. Undeniably, profitability is the ultimate goal of companies...
QUESTION 3 (Total 20 marks) A. Undeniably, profitability is the ultimate goal of companies and readers of a company’s financial statements are very much interested in the reported profit figure. The profit figure is achieved by the preparation of the statement of profit or loss and the statement of financial position. If the foregoing is the 3 case, why then bother about the statement of cash flows? B. Globally, accounting standards are developed based on different methods. It is generally...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT