ITPEC FE Subject A April 2025 Question 39
ITPEC FE Subject A April 2025 — Question 39 of 60
Reverse Engineering — extracting a UML class diagram from existing program code.
Direction of engineering:
- Forward engineering — model/design → code (generate code from diagrams)
- Reverse engineering — code → model/design (generate diagrams from code)
The question asks about generating a UML class diagram from a program, which is code → model direction = reverse engineering.
Why not others:
- (a) Backtracking — an algorithmic technique for exhaustive search with rollback, unrelated to UML
- (b) Forward engineering — the opposite direction: from design models to source code
- (c) Re-engineering — restructuring an entire existing system, typically involves both reverse engineering and forward engineering
Key rule: Forward = design → code. Reverse = code → design. Re-engineering = reverse + restructure + forward.
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 FE past-paper collection or Report an issue.