volume_mute

Challenges in Automated Model-to-Code Translation

publish date2026/06/08 22:17:22.449176 UTC

volume_mute

In principle, it is possible to generate working programs from a high-level model without manual intervention using model-driven architectures. Which of the following are genuine challenges that currently prevent completely automated translation? Select all that apply.

Correct Answer

(1) Linking concepts used in different CIMs requires human understanding — e.g., mapping 'role' in a security model to 'staff member' in a hospital model cannot currently be automated
(2) The execution environment includes more than just the standard platform — it includes company-specific application libraries and external services that are not captured in the standard off-the-shelf translators
(3) Special-purpose translators must sometimes be created for local environments, requiring tool development effort that reduces cost-effectiveness

Explanation

Real challenges preventing fully automated translation: (1) CIM-to-PIM translation requires human understanding to map domain concepts across different CIMs; (2) Execution environments include company-specific libraries and external services beyond the standard platform; (3) Special-purpose local translators may need to be built, adding cost. MDA tools are commercially available (e.g., for J2EE and .NET). UML is widely accepted as sufficiently expressive for system modeling.

Reference

Software Engineering, Ian Sommerville, 9th edition


Quizzes you can take where this question appears