Compiler Design - Lexical analysis & Parsing

1:  

 In an aboslute loading scheme, which loader function is accomplished by programmer?

A. Allocation
B. LInking
C. Reallocation
D. both (A) and (B)
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



2:  

A compiler program written in a high level language is called

A. source program
B. object program
C. machine language program
D. none of these
 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



3:  

 Advantage of using assembly language rather than machine language is that

A. it is mneomonic and easy to read
B. addresses any symbolic not absolute
C. introduction of data to program is easier
D. All of these
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



4:  

An interpreter is a program that

A. places programs into memory and prepares them for execution
B. automates the translation of assembly language into machine language.
C. accesses a program written in a high level language and produces an object program.
D. appears to execute a source program as if it were machine language.
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



5:  

 Language which have many types, but the type of every name and expression must be calculated at compile time are

A. strongly-type languages
B. weakly typed languages
C. loosely typed languages
D. none of these
 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:




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