• Software maintenance activities can be classified into three categories, namel
ID: 3580594 • Letter: #
Question
• Software maintenance activities can be classified into three categories, namely, corrective (fixing errors), perfective (improving software qualities), and adaptive (adding new changes). How would the proportion of time spent on each activity might change as the time spent by the software during operation increases?
• Explain the three types of modules/classes in a software application. In theory, what percentage of code in a software system should be reusable?
• In addition to classifying changes as corrective, perfective, and adaptive, they can also be classified from an architectural point of view. Identify and define these three types of changes. Order them from the point of view of ease and desirability
• Explain why individual as well as team productivity shows large variance.
• Identify three phases of the software engineering lifecycle and the associated tradeoffs.
• Explain how white-box testing falls short because of: 1. Omitted sections from the specification. 2. Unreachable or dead code.
Explanation / Answer
1.
Adaptive Maintenance:
Adaptive maintenance is that the implementation of changes in an exceedingly a part of the system, that has been suffering from a amendment that occurred in another a part of the system. adaptive maintenance consists of adapting code to changes within the setting like the hardware or the software system. The term setting during this context refers to the conditions and also the influences that act (from outside) on the system. as an example, business rules, work patterns, and government policies have a major impact on the software.
For instance, a government policy to use one 'European currency' can have a major impact on the software. associate degree acceptance of this variation would require banks in varied member countries to create vital changes in their code systems to accommodate this currency. adaptive maintenance accounts for twenty fifth of all the upkeep activities.
Perfective Maintenance:
Perfective maintenance principally deals with implementing new or modified user necessities. Perfective maintenance involves creating purposeful enhancements to the system additionally to the activities to extend the system's performance even once the changes haven't been recommended by faults. This includes enhancing each the operate and potency of the code and dynamical the functionalities of the system as per the users' dynamical wants.
Examples of perfective maintenance embrace modifying the payroll program to include a brand new union settlement and adding a brand new report within the sales analysis system. Perfective maintenance accounts for five hundredth, that is, the biggest of all the upkeep activities.
Preventive Maintenance:
Preventive maintenance involves playing activities to forestall the prevalence of errors. It tends to scale back the code quality thereby up program quality and increasing code maintainability. It includes documentation change, code optimisation, and code restructuring. Documentation change involves modifying the documents suffering from the changes so as to correspond to the current state of the system. Code optimisation involves modifying the programs for quicker execution or economical use of space for storing. Code restructuring involves remodeling the program structure for reducing the quality in ASCII text file and creating it easier to grasp.
Preventive maintenance is proscribed to the upkeep organization solely and no external requests area unit noninheritable for this sort of maintenance. Preventive maintenance accounts for less than five-hitter of all the upkeep activities.
2.
There area unit 3 types of modules/classes:
type: Form modules area unit the muse of most Visual Basic applications. this will contain procedures that handle events, general procedures, and form-level declarations of variables, constants, types, and external procedures.
normal: Standard modules area unit containers for procedures and declarations unremarkably accessed by different modules at intervals the applying.
Class: These modules area unit the muse of object-oriented programming in Visual Basic. the code are often written at school modules to make new objects.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.