1000+ MCQ on Compiler Interpreter and Assembler - 1

Question: 1

An Interpreter is

(A) program that accepts a program written in a high level language and produces an object program

(B) a program that automate the translation of assembly language into machine language

(C) a program that places program into memory and prepares them for execution

(D) is a program that appears to execute a source program as if it were machine language

Ans: D

is a program that appears to execute a source program as if it were machine language

Question: 2

A non relocatable program is one which

(A) can itself perform the relocations of its address sensitive portions

(B) consists of a program and relevant information for its relocation

(C) cannot be made to execute in any area of storage other than the one designed for it at the time of its coding or translation

(D) all of the above

Ans: C

cannot be made to execute in any area of storage other than the one designed for it at the time of its coding or translation

Question: 3

An algorithm is best described as

(A) a branch of mathematics

(B) a step by step procedure for solving a problem

(C) a compute language

(D) all of the above

Ans: B

a step by step procedure for solving a problem

Question: 4

Of the following system program forgoes the production of object code to generate absolute machine code and load it into the physical main storage location from which it will be executed immediately upon completion of the assembly?

(A) compiler

(B) macroprocessor

(C) two pass assembler

(D) load and go assembler

Ans: D

load and go assembler

Question: 5

Assembly code database is associated with

(A) assembly language version of the program which is created by the code generation phase and is input to the assembly phase

(B) consists of a full or partial list or the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation

(C) a permanent table which lists all keywords and special symbols of the language in symbolic form

(D) a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure

Ans: A

assembly language version of the program which is created by the code generation phase and is input to the assembly phase

Related Questions
Read More Engineering Topics