An airline wants to use a generative AI model to translate its flight booking system code from one programming language to another. Which selection criteria should guide choosing the best model for this task?
Choose an answer
Tap an option to check your answer.
Correct answer: Understanding of syntax and semantics plus the ability to optimize and refactor code.
Why this is the answer
Translating code between programming languages requires a generative AI model that deeply understands the source and target language's syntax and semantics. The ability to optimize and refactor the translated code ensures the output is not just syntactically correct but also efficient and maintainable. While speed and error handling are beneficial, they are secondary to the core translation quality for this specific task. The capacity to create highly creative content is irrelevant for code translation, which is a deterministic task. Model size and compute resources are practical considerations but do not directly assess the model's capability for accurate and effective code translation.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed