ITPEC IP October 2024 Question 50

Source exam: ITPEC IP October 2024Topic: System Development Technology

ITPEC IP October 2024 — Question 50 of 100

Refactoring improves the internal structure of software without changing the externally observable functions it provides. Developers reorganize code to reduce duplication, clarify responsibilities, simplify control flow, and improve maintainability while preserving behavior. Automated tests help confirm that the restructuring has not changed the required results.

Answer (a)

Why not others:
- (b) deriving specifications by analyzing an existing system is reverse engineering

- (c) correcting behavior that violates specifications is debugging or corrective maintenance

- (d) adding a requested function changes externally visible behavior and is enhancement, not pure refactoring

Key rule: Refactoring changes design on the inside while keeping behavior on the outside the same.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.