SE602 – Software Re—engineering: Midterm Important MCQs (126 Solved Questions)
Virtual University of Pakistan • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · SE602 Course Page · SE602 Subjective Pack (25 Q&As)
-
According to the Law of Continuing Change (Lehman and Belady), a program that is used in a real-world environment must:
Topic: Introduction & Definitions of Software Re-engineering
- Be frozen once it is delivered
- Change, or become progressively less useful in that environment ✓ Correct answer
- Be rewritten from scratch every year
- Be outsourced to a specialist organization
-
The Law of Increasing Complexity states that as a program evolves:
Topic: Introduction & Definitions of Software Re-engineering
- Its structure automatically becomes simpler
- Its maintenance cost becomes zero
- It becomes less complex with every release
- It becomes more complex, and extra resources are needed to preserve and simplify its structure ✓ Correct answer
-
The well-known laws of software evolution were proposed by:
Topic: Introduction & Definitions of Software Re-engineering
- Manny Lehman and Les Belady ✓ Correct answer
- Eric J. Byrne
- Chikofsky and Cross
- Jacobson and Lindström
-
In its simplest form, software re-engineering means:
Topic: Introduction & Definitions of Software Re-engineering
- Re-organising and modifying existing software systems to make them more maintainable ✓ Correct answer
- Testing software before it is delivered
- Developing a new system without studying the old one
- Translating user manuals into another language
-
"The examination of a subject system to re-constitute it in a new form and the subsequent implementation of the new form" is the definition of:
Topic: Introduction & Definitions of Software Re-engineering
- Forward engineering
- Program translation
- Software testing
- Software re-engineering ✓ Correct answer
-
According to Tilley and Smith, re-engineering is the systematic transformation of an existing system into a new form in order to realize quality improvements at a lower:
Topic: Introduction & Definitions of Software Re-engineering
- Documentation size
- Abstraction level
- Number of developers
- Cost, schedule, or risk to the customer ✓ Correct answer
-
Which of the following is a goal of software re-engineering?
Topic: Introduction & Definitions of Software Re-engineering
- To stop all future maintenance of the system
- To increase the complexity of the existing system
- To discard all artifacts of the existing system
- To understand the artifacts of the existing system, namely specification, design, implementation and documentation ✓ Correct answer
-
Which of the following is a risk involved in re-engineering?
Topic: Introduction & Definitions of Software Re-engineering
- The existing system becomes too well documented
- Maintenance staff become too experienced
- The target system may not have the same functionality as the existing system ✓ Correct answer
- The system becomes too easy to change
-
Software systems are re-engineered keeping general objectives in mind. Which of the following is NOT one of those objectives?
Topic: Introduction & Definitions of Software Re-engineering
- Migrating to a new technology
- Improving maintainability
- Preparing for functional enhancement
- Increasing the size of the development team ✓ Correct answer
-
Which situation most clearly indicates that a system needs re-engineering?
Topic: Introduction & Definitions of Software Re-engineering
- The system was delivered recently
- The users are fully satisfied with the system
- The code follows all coding standards
- The original developers have departed and the documentation is obsolete ✓ Correct answer
-
A major motivation for re-engineering is that, compared to re-development, re-engineering involves:
Topic: Introduction & Definitions of Software Re-engineering
- Complete replacement of the system at once
- More risk and more cost
- Less risk and less cost ✓ Correct answer
- No understanding of the existing system
-
Unlike hardware, software does not:
Topic: Introduction & Definitions of Software Re-engineering
- Become obsolete
- Change over time
- Need maintenance
- Wear out physically ✓ Correct answer
-
Software evolution means:
Topic: Software Evolution
- A continual change from a lesser, simpler, or worse state to a higher or better state ✓ Correct answer
- Keeping an installed system running with no change to its design
- Preventing software from failing by means of bug fixing
- Replacing worn-out parts of a system
-
In the evolution-versus-maintenance distinction, maintenance means:
Topic: Software Evolution
- Adding major new features to the system
- Changing the system to a higher or better state
- Preventing software from failing to deliver its intended functionalities by means of bug fixing ✓ Correct answer
- Replacing the whole system at once
-
Fixing an incorrectly implemented requirement in a delivered system is an example of:
Topic: Software Evolution
- Evolution
- Rehosting
- Forward engineering
- Maintenance ✓ Correct answer
-
Software change that introduces new requirements to the existing system is categorized as:
Topic: Software Evolution
- Evolution ✓ Correct answer
- Refactoring
- Maintenance
- Redocumentation
-
Which of the following is NOT a reason why change in software is inevitable?
Topic: Software Evolution
- The business environment changes
- Software physically wears out like hardware ✓ Correct answer
- New requirements emerge when the software is used
- Errors must be repaired
-
The driver for system evolution is:
Topic: Software Evolution
- The age of the programming language
- Proposals for change ✓ Correct answer
- The number of developers
- The size of the documentation
-
The software evolution process depends on:
Topic: Software Evolution
- The hardware vendor
- The type of software being maintained, the development processes used, and the skills and experience of the people involved ✓ Correct answer
- The marketing strategy of the organization
- Only the programming language used
-
The first stage of change implementation may involve:
Topic: Software Evolution
- Discarding the system
- Program understanding ✓ Correct answer
- Freezing the system
- Outsourcing the system
-
Maintenance of software systems comprises all activities associated with changing software for the purposes of:
Topic: Software Maintenance & Its Types
- Making major changes to the architecture of the system
- Marketing the software product
- Fixing bugs and improving the design so that future changes are less expensive ✓ Correct answer
- Developing a new system from scratch
-
Software maintenance does NOT involve:
Topic: Software Maintenance & Its Types
- Keeping an installed system running
- Routine checking for issues
- Making major changes to the architecture of the system ✓ Correct answer
- Fixing bugs discovered by users
-
In hardware (physical system) maintenance, a system or component is:
Topic: Software Maintenance & Its Types
- Returned to its original good state, often by replacing broken and worn-out parts ✓ Correct answer
- Wrapped in a new software layer
- Re-designed with a new architecture
- Migrated to a new platform
-
A study on estimating software maintenance found that the cost of maintenance is as high as ______ of the cost of the entire software process cycle.
Topic: Software Maintenance & Its Types
- 50%
- 33%
- 17%
- 67% ✓ Correct answer
-
Corrective maintenance includes modifications and updations done in order to:
Topic: Software Maintenance & Its Types
- Keep the software tuned to the changing technology
- Correct or fix problems discovered by users or concluded from user error reports ✓ Correct answer
- Add new features requested by users
- Prevent future problems of the software
-
Adaptive maintenance is performed to:
Topic: Software Maintenance & Its Types
- Add new user requirements
- Keep the software product up-to-date and tuned to the ever-changing world of technology and business environment ✓ Correct answer
- Fix problems reported in error reports
- Improve the internal structure to avoid future faults
-
Perfective maintenance includes modifications done to:
Topic: Software Maintenance & Its Types
- Prevent problems that are not significant at the moment
- Keep the software usable over a long period, including new features and new user requirements to improve reliability and performance ✓ Correct answer
- Adapt the software to a new operating system
- Correct problems discovered by users
-
Preventive maintenance aims to:
Topic: Software Maintenance & Its Types
- Port the software to a new platform
- Add new features to the software
- Attend to problems which are not significant at this moment but may cause serious issues in the future ✓ Correct answer
- Fix bugs discovered by users
-
A payroll system is updated because the organization has moved to a new operating system and database platform. This is an example of:
Topic: Software Maintenance & Its Types
- Perfective maintenance
- Corrective maintenance
- Preventive maintenance
- Adaptive maintenance ✓ Correct answer
-
Users request an additional summary report feature in an existing application, and it is added to improve the product. This is an example of:
Topic: Software Maintenance & Its Types
- Preventive maintenance
- Corrective maintenance
- Adaptive maintenance
- Perfective maintenance ✓ Correct answer
-
A team restructures aging code modules so that anticipated future faults do not occur, although no failure has been reported yet. This is an example of:
Topic: Software Maintenance & Its Types
- Preventive maintenance ✓ Correct answer
- Perfective maintenance
- Corrective maintenance
- Adaptive maintenance
-
A software product crashes whenever a particular valid input is entered, and a patch is released to fix it. This is an example of:
Topic: Software Maintenance & Its Types
- Corrective maintenance ✓ Correct answer
- Preventive maintenance
- Perfective maintenance
- Adaptive maintenance
-
Compared to development costs, maintenance costs are usually:
Topic: Maintenance Cost Factors & Maintenance Prediction
- Not measurable
- Exactly equal to development costs
- Always lower than development costs
- Greater than development costs, from 2 to 100 times depending on the application ✓ Correct answer
-
Maintenance costs are affected by:
Topic: Maintenance Cost Factors & Maintenance Prediction
- Both technical and non-technical factors ✓ Correct answer
- Only the age of the hardware
- Only technical factors
- Only non-technical factors
-
Regarding the team stability factor, maintenance costs are reduced if:
Topic: Maintenance Cost Factors & Maintenance Prediction
- The same staff are involved with the system for some time ✓ Correct answer
- The developers have no responsibility for the system
- Only inexperienced staff are hired
- The maintenance team is changed frequently
-
The contractual responsibility factor increases maintenance cost because:
Topic: Maintenance Cost Factors & Maintenance Prediction
- The system is too well documented
- Developers of a system may have no contractual responsibility for maintenance, so there is no incentive to design for future change ✓ Correct answer
- Maintenance staff are too skilled
- Contracts are too short
-
According to the staff skills factor, maintenance staff are often:
Topic: Maintenance Cost Factors & Maintenance Prediction
- The original developers of the system
- Inexperienced and have limited domain knowledge ✓ Correct answer
- External consultants only
- The most experienced staff with full domain knowledge
-
According to the program age and structure factor, as programs age:
Topic: Maintenance Cost Factors & Maintenance Prediction
- Their structure improves automatically
- They become easier to maintain
- Their documentation becomes up-to-date
- Their structure is degraded and they become harder to understand and change ✓ Correct answer
-
Maintenance prediction is concerned with:
Topic: Maintenance Cost Factors & Maintenance Prediction
- Counting the number of developers needed
- Estimating the marketing cost of the software
- Predicting the delivery date of a new system
- Assessing which parts of the system may cause problems and have high maintenance costs ✓ Correct answer
-
Predicting the number of changes requires an understanding of the relationship between a system and its environment. Which of the following influences this relationship?
Topic: Maintenance Cost Factors & Maintenance Prediction
- The brand of hardware used
- The number and complexity of system interfaces ✓ Correct answer
- The office location of the maintenance team
- The color scheme of the user interface
-
Predictions of maintainability can be made by assessing the complexity of system components. This complexity depends on:
Topic: Maintenance Cost Factors & Maintenance Prediction
- The number of users of the system
- The complexity of control structures ✓ Correct answer
- The price of the software
- The age of the organization
-
Maintenance prediction complexity also depends on:
Topic: Maintenance Cost Factors & Maintenance Prediction
- The number of computers in the organization
- The documentation language
- The version of the operating system
- Object, method (procedure) and module size ✓ Correct answer
-
Tightly coupled systems are a maintenance concern because they:
Topic: Maintenance Cost Factors & Maintenance Prediction
- Require changes whenever the environment is changed ✓ Correct answer
- Have no interfaces
- Never need any change
- Are always well documented
-
A legacy system is a piece of software that:
Topic: Legacy Systems
- Is no longer used by the organization
- Has complete and up-to-date documentation
- You have inherited, and is valuable to you ✓ Correct answer
- Was developed recently
-
A legacy system can neither be replaced nor upgraded except at:
Topic: Legacy Systems
- No cost at all
- The cost of documentation
- A very low cost
- A high cost ✓ Correct answer
-
Which of the following is NOT a typical problem with legacy systems?
Topic: Legacy Systems
- Extensive patches and modifications have been made
- Original developers are not available
- Missing or outdated documentation
- Complete and up-to-date documentation ✓ Correct answer
-
A legacy project does not focus only on code; it also encompasses:
Topic: Legacy Systems
- Only the user manuals
- Only the marketing material
- Build tools and scripts, dependencies on other systems, infrastructure, project documentation and methods of communication ✓ Correct answer
- Only the source code files
-
The four characteristics of a legacy project are:
Topic: Legacy Systems
- Old, Large, Inherited, Poorly documented ✓ Correct answer
- Open, Closed, Static, Dynamic
- Fast, Cheap, Modern, Tested
- New, Small, Original, Well documented
-
A larger legacy project is more difficult to maintain because, assuming a constant defect rate:
Topic: Legacy Systems
- More code means more existing bugs and a higher probability of a new change causing a regression ✓ Correct answer
- Size has no effect on maintenance
- More code means fewer bugs
- Large projects are always replaced quickly
-
Legacy code is often characterized as:
Topic: Legacy Systems
- Recently refactored
- Untestable or untested, inflexible, and encumbered by technical debt ✓ Correct answer
- Written in a modern language
- Fully tested and flexible
-
Technical debt is:
Topic: Legacy Systems
- The salary of maintenance staff
- The money borrowed to buy hardware
- The coding you must do tomorrow because you took a shortcut in order to deliver the software today ✓ Correct answer
- The cost of user training
-
In the handouts, the Linux Kernel (existing since 1991, with more than 15 million lines of code) is given as an example of a legacy project that is:
Topic: Legacy Systems
- Frozen and outsourced
- Old and large ✓ Correct answer
- Inherited and undocumented only
- New and small
-
In legacy culture, because of lack of information, many teams come to respect the status quo because:
Topic: Legacy Systems
- Change is seen purely as a risk, and the potential benefits of changes are ignored ✓ Correct answer
- Changes are always beneficial
- Users demand constant changes
- Documentation is complete
-
In the "Freeze" solution for a legacy system, the organization decides:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- To surround the system with a new software layer
- To not carry out further work on the legacy system ✓ Correct answer
- To re-develop the system from scratch
- To port the system to a modern platform
-
An organization outsources its legacy system when:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- The system is newly developed
- The system has been frozen
- Supporting the software is its core business
- Supporting the legacy software is not its core business, so it hands it to a specialist organization ✓ Correct answer
-
A drawback of the "Discard and Re-develop" solution is that it:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Keeps the old system running in parallel forever
- Removes a useful source of information for defining the requirements of the new system ✓ Correct answer
- Requires no new development
- Does not change the hardware platform
-
Wrapping is a black-box-based modernization technique in which:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- The source code of the legacy system is rewritten
- The whole system is replaced at once
- The legacy database is converted to a new schema
- The legacy system is surrounded with a new layer of software that hides the complexity of the existing interfaces, applications and data ✓ Correct answer
-
In migration, a legacy system is:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Discarded and re-developed from scratch
- Handed over to a specialist organization
- Frozen with no further work
- Ported to a modern platform while retaining most of the system's functionality and introducing minimal disturbance in the business environment ✓ Correct answer
-
Migration is the best alternative when:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Wrapping is suitable and re-development is cheap
- The system is small and new
- Wrapping is unsuitable and re-development is not acceptable due to substantial risk ✓ Correct answer
- The organization wants to freeze the system
-
Migration involves changes, often including:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Only changing the user interface colors
- Restructuring the system, enhancing the functionality, or modifying the attributes, while retaining the basic functionality ✓ Correct answer
- Discarding the basic functionality of the existing system
- Only replacing the hardware
-
In general, migration comprises three main steps:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Conversion of the existing schema to a target schema, conversion of data, and conversion of program ✓ Correct answer
- Analysis, design and coding
- Freezing, wrapping and outsourcing
- Extraction, abstraction and presentation
-
A database has two main components:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Queries and reports
- Hardware and software
- The schema of the database and the data stored in the database ✓ Correct answer
- Tables and users
-
In schema conversion, DBRE (Database Reverse Engineering) aims to:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Recover the conceptual schema that expresses the semantics of the source data structure ✓ Correct answer
- Load data into the target database
- Train the users of the new system
- Test the target system
-
Data conversion, moving data instances from the legacy database to the target database, requires three steps known as ETL:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Evaluate, Test and Launch
- Encode, Transfer and Link
- Examine, Translate and List
- Extract, Transform and Load ✓ Correct answer
-
During the Transform step of data conversion, data cleansing (scrubbing) is performed to:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Fix or discard data that do not fit the target database ✓ Correct answer
- Design the target schema
- Write new application programs
- Delete the target database
-
Program conversion in migration means:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Modifying a program to access the migrated database instead of the legacy data, leaving the functionalities of the program unchanged ✓ Correct answer
- Translating the user documentation
- Rewriting the program in a new language with new functionality
- Converting the schema of the database
-
To verify a migration, it is important that the outputs of the target system are consistent with those of the legacy system; therefore, in a migration project:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- New functionality is not to be introduced into the target system ✓ Correct answer
- The legacy system should be discarded before testing
- Many new functionalities should be added first
- Testing is not required
-
The three kinds of transition (cut-over) strategies in migration are:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Cut-and-Run, Phased Interoperability and Parallel Operation ✓ Correct answer
- Cold Turkey, Butterfly and Chicken Little
- Big Bang, Incremental and Partial
- Freeze, Wrap and Migrate
-
Cut-and-Run, the simplest transition strategy, means:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Running the new system only for testing
- The cut-over is performed gradually in incremental steps
- Both systems operate at the same time
- Switching off the legacy system and turning on the new system ✓ Correct answer
-
In the Parallel Operation transition strategy:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Only the database is migrated
- The target system and the legacy system operate at the same time, and once the new system is considered reliable, the legacy system is taken off service ✓ Correct answer
- The cut-over is done in incremental steps
- The legacy system is switched off immediately
-
Which of the following is NOT one of the seven migration methods?
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Chicken Little
- Cold Turkey
- Big Bang ✓ Correct answer
- Butterfly
-
In wrapping, the encapsulation layer can communicate with the legacy component through:
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Remote procedure calls (RPCs) and predefined application program interfaces (APIs) ✓ Correct answer
- Only printed reports
- Direct modification of the source code
- User interviews
-
Which of the following is NOT a type of wrapper?
Topic: Dealing with Legacy Systems: Solutions, Wrapping & Migration
- Function wrappers
- Application wrappers
- Hardware wrappers ✓ Correct answer
- Database wrappers
-
Abstraction enables maintenance personnel to reduce the complexity of understanding a system by:
Topic: Fundamental Re-engineering Concepts & Models
- Rewriting the system in a new language
- Focusing on the more significant information about the system and hiding the irrelevant details at the moment ✓ Correct answer
- Changing the functionality of the system
- Adding more details to the system representation
-
Refinement is the reverse of abstraction; in refinement, the level of abstraction of the representation of the system is:
Topic: Fundamental Re-engineering Concepts & Models
- Kept exactly the same
- Removed completely
- Gradually increased by replacing details with abstract information
- Gradually decreased by successively replacing some aspects of the system with more details ✓ Correct answer
-
The principle of alteration (an optional principle) means:
Topic: Fundamental Re-engineering Concepts & Models
- Making some changes to a system representation without any change to the degree of abstraction ✓ Correct answer
- Increasing the level of abstraction of a system
- Decreasing the level of abstraction of a system
- Discarding the existing system
-
In the conceptual basis of the re-engineering process, abstraction, alteration and refinement are represented respectively by:
Topic: Fundamental Re-engineering Concepts & Models
- Horizontal arrow, down-arrow, up-arrow
- Up-arrow, down-arrow, horizontal arrow
- Down-arrow, up-arrow, horizontal arrow
- Up-arrow, horizontal arrow, down-arrow ✓ Correct answer
-
The four levels of abstraction/refinement in software development models are:
Topic: Fundamental Re-engineering Concepts & Models
- Code, Testing, Deployment, Maintenance
- Analysis, Synthesis, Evaluation, Review
- Input, Process, Output, Storage
- Conceptual, Requirements, Design, Implementation ✓ Correct answer
-
According to the general model proposed by Eric J. Byrne, re-engineering is a sequence of three activities:
Topic: Fundamental Re-engineering Concepts & Models
- Re-code, Re-design, Re-think
- Extraction, Abstraction, Presentation
- Analysis, Coding, Testing
- Reverse engineering, Re-design, Forward engineering ✓ Correct answer
-
Jacobson and Lindström formally captured re-engineering as: Re-engineering = Reverse engineering + Δ + Forward engineering. In this expression, Δ captures:
Topic: Fundamental Re-engineering Concepts & Models
- Alterations made to the original system ✓ Correct answer
- The number of components in the system
- The cost of the re-engineering project
- The documentation of the system
-
Rehosting means re-engineering of source code:
Topic: Fundamental Re-engineering Concepts & Models
- With many new features added
- By discarding the existing system
- Without addition or reduction of features in the transformed target source code ✓ Correct answer
- At a higher level of abstraction only
-
Rehosting is most effective when:
Topic: Fundamental Re-engineering Concepts & Models
- The user is satisfied with the system's functionality but looks for better qualities of the system, such as improved efficiency and reduced maintenance costs ✓ Correct answer
- The system has no documentation
- The system is being discarded
- The user is dissatisfied with the system's functionality
-
Based on the type of changes required, system characteristics are divided into groups. Which of the following is NOT one of those groups?
Topic: Fundamental Re-engineering Concepts & Models
- Re-specify
- Re-design
- Re-think
- Re-test ✓ Correct answer
-
In re-code, program translation means:
Topic: Fundamental Re-engineering Concepts & Models
- Keeping the program in the same language
- Transforming a program into a program in a different language; examples are compilation, decompilation and migration ✓ Correct answer
- Changing the problem domain of the system
- Changing the requirements of the system
-
Rephrasing keeps the program in the same language. Its examples include:
Topic: Fundamental Re-engineering Concepts & Models
- Compilation and decompilation
- Freezing and outsourcing
- Normalization, optimization, refactoring and renovation ✓ Correct answer
- Schema conversion and data conversion
-
Re-design involves altering the design characteristics of the software, such as:
Topic: Fundamental Re-engineering Concepts & Models
- Translating the code to another language
- Restructuring the architecture, modifying the data model, or replacing a procedure or algorithm with a more efficient one ✓ Correct answer
- Changing the form of the requirements
- Moving the system to a different problem domain
-
Re-specify means changing the requirement characteristics of the system in two ways:
Topic: Fundamental Re-engineering Concepts & Models
- Changing the design and the code
- Changing the language and the platform
- Changing the data and the schema
- Changing the form of the requirements and changing the scope of the requirements ✓ Correct answer
-
Re-think means manipulating the concepts embodied in an existing system to create a system that:
Topic: Fundamental Re-engineering Concepts & Models
- Runs on a different operating system
- Operates in a different problem domain; for example, moving from an ordinary cellular phone to a smartphone system ✓ Correct answer
- Has a new user interface only
- Works in the same problem domain with better code
-
The three strategies that specify the basic steps of re-engineering are:
Topic: Re-engineering Strategies & Approaches
- Freeze, Wrap and Migrate
- Big Bang, Incremental and Evolutionary
- Extract, Abstract and Present
- Rewrite, Rework and Replace ✓ Correct answer
-
The Rewrite strategy reflects the principle of:
Topic: Re-engineering Strategies & Approaches
- Alteration and refinement both
- Abstraction
- Refinement
- Alteration ✓ Correct answer
-
In the Rewrite strategy, an operational system is transformed into a new system while:
Topic: Re-engineering Strategies & Approaches
- Lowering its level of abstraction
- Discarding its functionality
- Raising its level of abstraction
- Preserving the abstraction level of the original system ✓ Correct answer
-
The Rework strategy applies:
Topic: Re-engineering Strategies & Approaches
- All three principles (abstraction, alteration and refinement) ✓ Correct answer
- Only abstraction and refinement
- No principle at all
- Only the principle of alteration
-
Replacing unstructured control flow constructs such as GOTOs with structured constructs such as a for loop is an example of:
Topic: Re-engineering Strategies & Approaches
- Rewrite strategy
- Freeze solution
- Replace strategy
- Rework strategy ✓ Correct answer
-
The Replace strategy applies two principles, namely:
Topic: Re-engineering Strategies & Approaches
- Abstraction and refinement ✓ Correct answer
- Abstraction and alteration
- Only alteration
- Alteration and refinement
-
Which of the following is NOT one of the five basic re-engineering approaches?
Topic: Re-engineering Strategies & Approaches
- Incremental
- Big Bang
- Waterfall ✓ Correct answer
- Evolutionary
-
While selecting a re-engineering approach, considerations include the objectives of the project, availability of resources, the present state of the system, and:
Topic: Re-engineering Strategies & Approaches
- The risks in the re-engineering project ✓ Correct answer
- The age of the project manager
- The marketing plan
- The number of end users
-
The Big Bang approach:
Topic: Re-engineering Strategies & Approaches
- Re-engineers only a part of the system
- Re-engineers a few procedures at a time
- Groups components by function
- Replaces the whole system at once ✓ Correct answer
-
A disadvantage of the Big Bang approach is that:
Topic: Re-engineering Strategies & Approaches
- The re-engineering project becomes a monolithic task and consumes too much resources at once for large systems ✓ Correct answer
- Errors are easy to locate
- Only a small part of the system is changed
- Interim versions are released too often
-
An advantage of the Incremental approach is that:
Topic: Re-engineering Strategies & Approaches
- The whole system is replaced at once
- The interface between parts is never changed
- Locating errors becomes easier, and it is easy for the customer to notice progress because interim versions are released ✓ Correct answer
- No interim versions are produced
-
In the Partial approach, the three steps are: partition the system, perform re-engineering on the selected part, and then:
Topic: Re-engineering Strategies & Approaches
- Integrate the re-engineered part with the non-engineered portion to make up the new system ✓ Correct answer
- Outsource the remaining part
- Discard the remaining part
- Freeze the whole system
-
In the Iterative approach, the re-engineering process is applied on:
Topic: Re-engineering Strategies & Approaches
- The whole system at once
- The source code of a few procedures at a time, repeatedly on different components in different stages ✓ Correct answer
- Only newly added components
- Only the database of the system
-
During the iterative re-engineering process, how many types of components must be able to co-exist?
Topic: Re-engineering Strategies & Approaches
- Four (old, being re-engineered, already re-engineered, and newly added) ✓ Correct answer
- Five
- Three
- Two
-
In the Evolutionary approach, components of the original system are:
Topic: Re-engineering Strategies & Approaches
- Discarded without replacement
- Grouped by functions and re-engineered into new components, so the resulting design is more cohesive ✓ Correct answer
- Kept unchanged forever
- Wrapped with a new interface only
-
Which of the following is NOT a re-engineering cost factor?
Topic: Re-engineering Strategies & Approaches
- The extent of data conversion required
- The marketing budget of the organization ✓ Correct answer
- The quality of the software to be re-engineered
- The tool support available for re-engineering
-
Re-engineering a software system has two key advantages over more radical approaches to system evolution:
Topic: Re-engineering Strategies & Approaches
- Increased risk and increased cost
- New functionality and new platform
- Reduced risk and reduced cost ✓ Correct answer
- Better documentation and more staff
-
In the example quoted by Ulrich (1990), re-engineering a commercial system was about ______ times cheaper than re-writing it.
Topic: Re-engineering Strategies & Approaches
- 4 ✓ Correct answer
- 2
- 10
- 100
-
According to Chikofsky and Cross, reverse engineering is a process to identify the components of an operational software, identify the relationships among those components, and:
Topic: Reverse Engineering
- Rewrite the system in a new language
- Represent the system at a higher level of abstraction or in another form ✓ Correct answer
- Test the system for bugs
- Discard the system
-
Reverse engineering is performed to achieve two key objectives:
Topic: Reverse Engineering
- Freezing and outsourcing
- Schema conversion and data conversion
- Coding and testing
- Redocumentation of artifacts and design recovery ✓ Correct answer
-
Redocumentation aims at revising the current description of components or generating alternative views at:
Topic: Reverse Engineering
- A lower level of abstraction
- The same level of abstraction; examples are pretty printing and drawing CFGs ✓ Correct answer
- A higher level of abstraction
- A different problem domain
-
Design recovery creates design abstractions from:
Topic: Reverse Engineering
- Only user requirements
- Only the source code
- Code, expert knowledge, and existing documentation ✓ Correct answer
- Only the database schema
-
Which of the following is one of the six objectives of reverse engineering identified by Chikofsky and Cross?
Topic: Reverse Engineering
- Detecting side effects ✓ Correct answer
- Writing new code
- Training end users
- Designing a new database
-
The six key steps in reverse engineering are documented in the IEEE Standard for Software Maintenance. The first three steps involve local analysis, while the rest involve:
Topic: Reverse Engineering
- Automated testing
- Global analysis ✓ Correct answer
- Manual analysis
- User acceptance
-
The high-level reverse engineering process is categorized into three phases:
Topic: Reverse Engineering
- Analysis, Design, Implementation
- Input, Process, Output
- Extraction, Abstraction, Presentation ✓ Correct answer
- Partition, Describe, Create
-
The inputs in the reverse engineering process are:
Topic: Reverse Engineering
- Only user complaints
- Available source code, documentation and domain knowledge ✓ Correct answer
- Only the compiled binary code
- Only the test cases
-
Which of the following is an application of reverse engineering?
Topic: Reverse Engineering
- Hiring maintenance staff
- Designing a marketing campaign
- Writing a new system from scratch
- Extracting business rules from existing code ✓ Correct answer
-
Which of the following is a factor that necessitates reverse engineering?
Topic: Reverse Engineering
- The system is newly developed
- Complete documentation is available
- The implementation language is modern
- The original programmers have left the organization ✓ Correct answer
-
Refactoring is the process of changing a software system such that:
Topic: Refactoring & Code Smells
- The external behavior of the system does not change, but the internal structure of the system is improved ✓ Correct answer
- The external behavior changes and new features are added
- The system is discarded and rewritten
- The system is ported to a new platform
-
The goal of refactoring is:
Topic: Refactoring & Code Smells
- To replace the design of the system
- Not to add new functionality, but to make the code easier to maintain in the future ✓ Correct answer
- To add new functionality to the code
- To change the external behavior of the system
-
Which of the following is a benefit of refactoring?
Topic: Refactoring & Code Smells
- It removes the need for testing
- It adds new features automatically
- It improves the design of software and makes software easier to understand ✓ Correct answer
- It makes the design decay faster
-
Code smells are:
Topic: Refactoring & Code Smells
- Names of variables in a program
- Descriptions of signals or symptoms that warn us of possible design problems ✓ Correct answer
- Errors that stop the program from compiling
- Comments written in the code
-
How many bad smells are listed in Fowler's book (as given in the handouts)?
Topic: Refactoring & Code Smells
- 12
- 22 ✓ Correct answer
- 17
- 68
-
Long Method and Long Class (Large Class) belong to which category of code smells?
Topic: Refactoring & Code Smells
- Bloaters ✓ Correct answer
- Change Preventers
- Couplers
- Object-Orientation Abusers
-
Shotgun Surgery and Divergent Change belong to which category of code smells?
Topic: Refactoring & Code Smells
- Dispensables
- Change Preventers ✓ Correct answer
- Bloaters
- Couplers
-
Duplicated Code, Lazy Class and Data Class belong to which category of code smells?
Topic: Refactoring & Code Smells
- Bloaters
- Couplers
- Dispensables ✓ Correct answer
- Object-Orientation Abusers
-
Feature Envy, Inappropriate Intimacy and Message Chains belong to which category of code smells?
Topic: Refactoring & Code Smells
- Bloaters
- Dispensables
- Change Preventers
- Couplers ✓ Correct answer
-
Switch Statements, Temporary Field and Refused Bequest belong to which category of code smells?
Topic: Refactoring & Code Smells
- Couplers
- Change Preventers
- Object-Orientation Abusers ✓ Correct answer
- Bloaters