What is the program that translates source code into object code called?

This question was previously asked in
NTPC CBT 2 2016 Previous Paper 5 (Held On: 18 Jan 2017 Shift 2)
View all RRB NTPC Papers >
  1. Executor
  2. Compiler
  3. Translator
  4. Interpreter

Answer (Detailed Solution Below)

Option 2 : Compiler
Free
RRB NTPC Graduate Level Full Test - 01
100 Qs. 100 Marks 90 Mins

Detailed Solution

Download Solution PDF

The correct answer is Compiler.

  • A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).

Important Points

Executor
  • An executor is a small but perfectly functional Java (1.5 or higher) JAR executable that is used to run programs in shared computer resources like a pool of computers that connect two users.
  • Executor uses a shared or synchronized file system.
Translator
  • A translator is a programming language processor that converts a computer program from one language to another.
  • It takes a program written in source code and converts it into machine code. It discovers and identifies the error during translation.
  • There are 3 different types of translators:
    • Compiler.
    • Interpreter.
    • Assembler.
Interpreter
  • An Interpreter directly executes instructions written in a programming or scripting language without previously converting them to an object code or machine code.
  • Interpreted languages are Perl, Python, and Matlab.

Additional Information

  • Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file.

Latest RRB NTPC Updates

Last updated on Jul 22, 2025

-> RRB NTPC Undergraduate Exam 2025 will be conducted from 7th August 2025 to 8th September 2025. 

-> The RRB NTPC UG Admit Card 2025 will be released on 3rd August 2025 at its official website.

-> The RRB NTPC City Intimation Slip 2025 will be available for candidates from 29th July 2025. 

-> Check the Latest RRB NTPC Syllabus 2025 for Undergraduate and Graduate Posts. 

-> The RRB NTPC 2025 Notification was released for a total of 11558 vacancies. A total of 3445 Vacancies have been announced for Undergraduate posts while a total of 8114 vacancies are announced for Graduate-level posts in the Non-Technical Popular Categories (NTPC).

-> Prepare for the exam using RRB NTPC Previous Year Papers.

->  HTET Admit Card 2025 has been released on its official site

Hot Links: teen patti vip lotus teen patti teen patti master 2025 teen patti download