Q1 Q2
Question 3
What do you call a file containing a program written in a high-level programming
O A code file
O A source file
O A target file
O A machine file
3 of 10 Questions
Casper
Summary: The screen shows Question 3 of a quiz asking what a file containing a program written in a high-level programming language is called, with four multiple-choice options. The laptop brand “Casper” is also visible.
The correct answer is: A source file.
Question (from the image)
What do you call a file containing a program written in a high-level programming language?
- A code file
- A source file
- A target file
- A machine file
Explanation
A program written in a high-level programming language (such as C, Java, Python, etc.) is stored in a source file.
This source file is then compiled or interpreted to produce machine code or an executable.
TERMS
- Machine file: File containing machine code (low-level, binary instructions).
- Source file: File containing human‑readable high‑level code, before compilation.
- Target file: Often refers to the output of a compilation or build (e.g. object file, executable).
Source used: