PCEP-30-02 · Question #151
What do you call a le containing a program written in a high-level programming language?
The correct answer is D. A source le. Option D is correct because a file containing program code written in a human-readable, high-level language (like Python, Java, or C++) is called a source file - it is the source from which all subsequent processing (compilation, interpretation) begins. A (code file) is…
Question
Options
- AA code le
- BA target le
- CA machine le
- DA source le
How the community answered
(27 responses)- A11% (3)
- B7% (2)
- D81% (22)
Explanation
Option D is correct because a file containing program code written in a human-readable, high-level language (like Python, Java, or C++) is called a source file - it is the source from which all subsequent processing (compilation, interpretation) begins.
- A (code file) is informal and not a standard technical term; while colloquially used, it has no precise meaning in computer science.
- B (target file) refers to the output of compilation - the result you're building toward, not the human-written input.
- C (machine file) describes a file containing binary instructions the CPU executes directly, which is the final product after compilation, not the human-written code.
Memory tip: Think of "source" as the origin - just as a river's source is where it begins, a source file is where a program begins its life before being transformed into something the machine can run.
Community Discussion
No community discussion yet for this question.