Difficulty: Easy
Correct Answer: .OBJ and .COM or .EXE, respectively
Explanation:
Introduction / Context:
Classic DOS development uses a compile–link workflow. Compilers/assemblers produce relocatable object files that a linker converts into loadable executables. Recognizing standard filename extensions helps identify build artifacts and deployment outputs.
Given Data / Assumptions:
Concept / Approach:
Assemblers/compilers emit .OBJ files. Linkers resolve symbols and relocations to produce .EXE (segmented) or .COM (simple, flat 64 KB) executables, both load modules for DOS.
Step-by-Step Solution:
Write source → assemble/compile → generate .OBJ.Link .OBJ plus libraries → produce .EXE or .COM.Run via DOS loader (COMMAND.COM) or shell.
Verification / Alternative check:
Tool manuals and historical DOS conventions document .OBJ as object and .EXE/.COM as executables, widely recognized across vendors (MASM, TASM, Microsoft C, Borland C, etc.).
Why Other Options Are Wrong:
B/C swap roles incorrectly.D uses a nonstandard .DAS extension.
Common Pitfalls:
Final Answer:
.OBJ and .COM or .EXE, respectively.
Discussion & Comments