Question 1
Topic: Absolute Basics
Skill tested: Distinguishes source-code compilation from linking and executable generation.
A small engineering team distributes a command-line utility written in C++ to users who do not have a compiler installed. The team has one source file, `tool.cpp`, and uses a conventional hosted C++ toolchain. A new developer claims that producing an object file is sufficient for users to run the utility. Which build step must the team perform after compiling the source so that it can provide a runnable program, assuming compilation succeeds?
Compilation translates the C++ source into object code, but an object file commonly contains unresolved references and is not by itself the finished program. The linker combines object code and required library code, resolving references to create an executable suitable for the target environment. A compiler does not generally produce a high-level program for the operating system to interpret, and changing a filename extension does not transform source or object code into an executable. Distributing a compiler to users is unnecessary when the program has been built for their platform.