අන්තර්ගතයට යන්න
mcqdinethlive

Unit 9, Programming

9.5 Program Translators

This lesson explains the necessity of translating high-level programming languages into machine-executable binary codes. It details the properties of source programs and object programs, introduces major translation methods including compilers, interpreters, and hybrid approaches, and explains the roles of linkers and loaders in the execution workflow.

ප්‍රධාන සංකල්ප

Source Program
A program written in a high-level programming language by a programmer, which is not directly executable by a computer.
Object Program
The translated version of a source program in binary code/machine-executable format.
Program Translator
An interface or software utility that converts high-level programming instructions into binary machine code.
Compiler
A translator that converts the entire source program at once into a single executable binary code or object file.
Interpreter
A translator that converts and executes source program instructions line-by-line into binary format.
Hybrid Approach
A translation methodology that combines both compilation and interpretation techniques to execute a program.
Linker
A system program that links translated object files with other required library files to generate an executable file.
Loader
A system utility that loads the executable program into main memory for execution.

MCQ කට්ටල

MCQ 8

විභාගයේදී

  • Distinguishing between compilers and interpreters
  • Explaining the difference between source program and object program
  • Identifying the functions of linkers and loaders
  • Identifying correct translation approaches for given programming paradigms