1.

A self-relocating program is one which?(a) Cannot execute in any area of storage other than the one designated(b) Consists of a program andinformation for its relocation(c) None of the mentioned(d) All of the mentionedThe question was asked at a job interview.My question is taken from Implementation of the Translation Specified by Syntax-Directed Definitions in portion Syntax Directed Definition and Translations of Compiler

Answer»

The CORRECT answer is (C) None of the mentioned

The explanation is: A self-relocating PROGRAM is a program which can PERFORM the relocation itself

• A table of information about address sensitive instruction in the program.

• Relocating logic that can perform the relocation of the address sensitive INSTRUCTIONS.



Discussion

No Comment Found

Related InterviewSolutions