Compiler Design
Description: practice questions. | |
Number of Questions: 15 | |
Created by: Neema Pandya | |
Tags: compiler Compiler Design Parser Run Time Environment Syntax Directed Translation Computer Science & Information Technology - CS |
Which of the following is a similarity between macro processor and compiler pre-processor?
Both compiler and assembler are similar in atleast one function. Which of the following options correctly indicates the similarity?
Cross compiler generates code for which of the following targets?
Which of the following options explains the attributes of a token in compiler design?
Display char is an identifier for a compiler of a given language and it recognize it as token. The NFA will find it as which of the following?
Which of the following analysers of compiler uses parse tree of a source program?
During compilation of the C statement
for(i=1;i<10;i++)
The compiler converts it as detailed below:
for-------keyword,
i----identifier ,
1 & 10 ---------constants or literals,
( =,<,++)------operator.
Above conversion is a valid conversion. The compiler does it during which of the following analysis phases?
Which of the following is a necessary condition for a single pass compiler?
In a perfectly designed compiler and perfectly coded program, a system error, i.e. memory insufficiency occurs while executing a recursive function call and execution of the program is terminated. What is the reason behind the occurence of this error?
Which of the following correctly defines the difference between finite automation and non-determistic finite automation?
A grammar, which does not have any left or right rule can be recognized as which of the following?
Operator precedence, SLR, CLR, LALR, Shift reduce
The above given parsers are
Back tracking is required in which of the following parsing techniques?
Given a statement : w = abbcde In which of the following parsers is the right most derivative in reverse technique applied?
Which of the following types of intermediate codes is used in a single pass compiler?