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 CBT-I Official Paper (Held On: 4 Jan 2021 Shift 1)
5.4 Lakh Users
100 Questions 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 Jun 11, 2025

-> RRB NTPC 2025 Exam Postponed. Railway Recruitment Board has rescheduled the RRB NTPC Exam for June 5, 2025 (Shift 3). 

-> RRB NTPC Exam Analysis 2025 is LIVE now. All the candidates appearing for the RRB NTPC Exam 2025 can check the complete exam analysis to strategize their preparation accordingly. 

-> The UPSC Prelims Result 2025 and UPSC IFS Result 2025 has been released @upsc.gov.in

-> The RRB NTPC Admit Card 2025 has been released on its official website.

-> Candidates who will appear for the RRB NTPC Exam can check their RRB NTPC Time Table 2025 from here.

-> The RRB NTPC CBT 1 Exam is scheduled from 5th June to 24th June 2025 as per the revised tentative exam schedule. 

-> The RRB NTPC 2025 Notification has been released for a total of 11558 vacancies.

-> A total of 3445 Vacancies have been announced for Undergraduate posts like Commercial Cum Ticket Clerk, Accounts Clerk Cum Typist, Junior Clerk cum Typist & Trains Clerk.

-> A total of 8114 vacancies are announced for Graduate-level posts in the Non-Technical Popular Categories (NTPC) such as Junior Clerk cum Typist, Accounts Clerk cum Typist, Station Master, etc.

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

-> Check out the Rajasthan PTET Admit Card 2025 and UPSC Prelims Result Date 2025 here.

Get Free Access Now
Hot Links: lucky teen patti mpl teen patti teen patti bindaas teen patti master 2023 teen patti game