1.

A compiler is a program that ___________(a) Program is put into memory and executes it(b) Translation of assembly language into machine language(c) Acceptance of a program written in a high level language and produces an object program(d) None of the mentionedThis question was posed to me during an interview for a job.This intriguing question originated from Data Structure for Representing Parsing Table topic in portion Bottom Up Parsing of Compiler

Answer»

Correct choice is (c) ACCEPTANCE of a program written in a high level language and produces an OBJECT program

Explanation: A compiler is a computer program (or set of PROGRAMS) that transforms SOURCE code written in a programming language (the source language) into another computer language (the target language, often having a BINARY form known as object code).



Discussion

No Comment Found

Related InterviewSolutions