Classical

Compiler Design - Runtime environments

6:  

 Disadvantage of " Compile and GO " loading scheme is that

A.

a portion of memory is wasted because the case occupied by the assembler is unavailable to the object program

B.

it is necessary to retranslate the users program and check everytime it is run

C.

it is very difficult to handle multiple segments, especially if the source programs are in different languages and to produce orderly modular programs

D.

all of these

 
 

Option: D

Explanation :


7:  

Function of the storage assignment is

A.

assign storage to all variables referenced in the source program

B.

assign storage to all temporary locations that are necessary for intermediate results

C.

assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized

D.

all of these

 
 

Option: D

Explanation :


8:  

 A non relocatable program is the one which

A.

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

B.

consists of a program and relevant information for its relocation

C.

can itself perform the relocation of its address sensitive portions

D.

all of these

 
 

Option: A

Explanation :


9:  

 A  relocatable program form is one which

A.

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

B.

consists of a program and relevant information for its relocation

C.

 can be processed to relocate it to a desired area of memory 

D.

all of these

 
 

Option: C

Explanation :

eg object module


10:  

A self-relocating program is one which

A.

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

B.

consists of a program and relevant information for its relocation

C.

can itself perform the relocation of its address sensitive portions 

D.

all of these

 
 

Option: C

Explanation :




Suggest an improvement

 


Syllabus Covered in this section is

  • Compilation and Interpretation 
  • Bootstrap compilers
  • Phases of compilation process
  • Lexical analysis
  •  Context free grammars
  • Parsing and parse trees
  • Representation of parse (derivation) trees as rightmost and leftmost derivations
  • Bottom up parsers-shift-reduce, operator precedence and LR
  • Topdown parsers-left recursion and its· removal.
  • Recursive descent parser.
  • Predictive parser
  • Intermediate codes-Quadruples, Triples
  • Intermediate code generation
  • Target code generation
  • Basics of  Code optimization
  • Syntax directed translation
  • Runtime environments

This Section covers Multiple Choice Questions Answers in Compiler Design .

Who can benefit - 

  • Any undergraduate or postgraduate student who is seeking Compiler Design objective type questions answers can use this section.
  • Compiler Design Multiple Choice questions Answers can help you in interview preparation.
  • Compiler Design MCQ Questions Answers are also used by engineering students in the preparation of their Exams.
  • Any candidate who has to appear for DOEACC A, B or C level Exam can also learn Compiler Design Questions Answers.
  • All the teachers who are appearing for Kendriya Vidyalya Sangathan Entrance Exam can also use Compiler Design Multiple Choice Questions Answers.
  • Compiler Design MCQs can also be used by the students who are pursuing B.Sc or Msc Computer Science.
  • Compiler Design Questions Answers can also be used by BCA students for the preparation of their exams.
  • Any student who is pursuing B.Sc. or Msc  in Information Technology can also use this Compiler Design mcq Questions Answers.
  •  MCA students can also prepare for their exams using Compiler Design Objective Type Questions Answers.
  • You can get free access to Compiler Design mcq pdf.
  • You can also have online access to Compiler Design Questions Answers EBook.

Various Search Terms used for this section are

  • Compiler Design quiz questions with answers

  • Compiler Design exam questions answers

  • Compiler Design MCQ questions Answers

  • Compiler Design MCQ