InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 101. |
In which addressing mode the operand is given explicitly in the instruction?(a) Absolute mode(b) Immediate mode(c) Indirect mode(d) Index modeI got this question at a job interview.My question is taken from SDT Schemes to Specify Translation of various Programming Language Construct topic in portion Syntax Directed Definition and Translations of Compiler |
|
Answer» Right answer is (B) IMMEDIATE MODE |
|
| 102. |
Which of the following module does not incorporate initialization of values changed by the module?(a) Non reusable module(b) Serially reusable module(c) Re-enterable module(d) All of the mentionedThe question was posed to me by my school principal while I was bunking the class.My query is from Implementation of the Translation Specified by Syntax-Directed Definitions topic in section Syntax Directed Definition and Translations of Compiler |
|
Answer» The correct answer is (a) Non REUSABLE module |
|
| 103. |
The identification of common sub-expression and replacement of run-time computations by compile-time computations is _____________(a) Local optimization(b) Loop optimization(c) Constant folding(d) Data flow analysisThis question was addressed to me during an online exam.Asked question is from Implementation of the Translation Specified by Syntax-Directed Definitions topic in portion Syntax Directed Definition and Translations of Compiler |
|
Answer» The correct choice is (c) CONSTANT folding |
|
| 104. |
A non relocatable program is the one which?(a) Cannotexecute 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 mentionedThis question was posed to me by my school principal while I was bunking the class.I would like to ask this question from Implementation of the Translation Specified by Syntax-Directed Definitions in chapter Syntax Directed Definition and Translations of Compiler |
|
Answer» RIGHT option is (a) CANNOTEXECUTE in any area of storage other than the one designated For explanation: A non reloadable program is one which cannot be made to EXECUTE in any area of storage other than the one designated for it at the time of its CODING or TRANSLATION. |
|
| 105. |
In what module multiple instances of execution will yield the same result even if one instance has not terminated before the next one has begun?(a) Non usable module(b) Serially usable(c) Re-enter-able(d) None of the mentionedI got this question in an interview.Asked question is from Syntax-Directed Definitions and Translations topic in portion Syntax Directed Definition and Translations of Compiler |
|
Answer» Correct answer is (c) Re-enter-able |
|
| 106. |
In a single pass assembler, most of the forward references can be avoided by putting the restriction ___________(a) On the number of strings/life reacts(b) Code segment to be defined after data segment(c) On unconditional rump(d) None of the mentionedI had been asked this question in an internship interview.Enquiry is from Syntax-Directed Definitions and Translations in portion Syntax Directed Definition and Translations of Compiler |
|
Answer» Correct choice is (b) CODE segment to be defined after data segment |
|
| 107. |
The segment base is specified using the register named is?(a) ORG instructions(b) TITLE instruction(c) ASSUME instruction(d) SEGMENT instructionThe question was posed to me in examination.I want to ask this question from Syntax-Directed Definitions and Translations in section Syntax Directed Definition and Translations of Compiler |
|
Answer» Correct OPTION is (a) ORG instructions |
|