📚 Practice Mode

C++ Questions

Learn at your own pace with hints and detailed explanations

1 / 14
Multiple Choice

What does a compiler do?

  1. It translates source code into activities (which may comprise groups of machine instructions) and immediately thereafter executes those activities.
  2. It translates source code directly into assembly language or machine instructions. The eventual end product is a file or files containing machine code.
  3. It combines a list of object modules into an executable program that can be loaded and run by the operating system.
  4. It only enables the programmer to edit the program files.