Q: Which of the following is true of compiled programming languages?
or
Q: In terms of compiled programming languages, which of the following is true?
- They use punch cards to give instructions to a computer. This enables them to run on many types of CPUs.
- They use human-readable instructions that are translated into machine instructions by a compiler. This enables them to run on many types of CPUs.
- They use human-readable instructions that are translated into machine instructions by a compiler. This means they can only run on specific types of CPUs.
- They use assembly language to give instructions to a computer. This enables them to run on many types of CPUs
Explanation: A compiler is the initial step in the process of translating compiled programming languages into machine code. This process results in the creation of an executable file that is customized to a particular CPU architecture. As a result, the code that has been compiled is often optimized for the CPU that is being targeted, and it is possible that it will not operate on other kinds of CPUs without being recompiled.