Question
if (expression)
statement
else
statement
Which of the following describes the above statement?
a.
Regular grammar
b.
Context free grammar
c.
Both a and b
d.
None of these
Posted under GATE cse question paper Compiler Design
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Consider the following statement: if (expression) statement else statement Which of the following describes the above statement?
Similar Questions
Discover Related MCQs
Q. Removal of left recursion is necessary because?
View solution
Q. A parse tree showing attribute value at each node is called?
View solution
Q. The traversal method translation schema adapted to execute the action is
View solution
Q. The role of predictive parsing is
View solution
Q. Which of the following checks are included with static checking?
View solution
Q. If an error is detected within a statement, the type assigned to the statement is?
View solution
Q. If conversion from one type to another type is done automatically by the compiler then, it is called?
View solution
Q. What is the postfix notation of y+j where y is real and j is an integer?
View solution
Q. The flow of control in a program of activation tree can be represented by
View solution
Q. The optional access link in the activation record is used for?
View solution
Q. Approaches used to implement dynamic scope is/are?
View solution
Q. Where does the compiler keep track of all the scope and binding information about identifiers??
View solution
Q. In linear list data structure of symbol table the search for a name proceeds
View solution
Q. What technique is used for parameter passing in case of in-line expansion?
View solution
Q. Access time is minimum for accessing the symbol table which uses?
View solution
Q. Which of the following technique can be used as intermediate code generation?
View solution
Q. Inputs to the code generator phase of compiler design are?
View solution
Q. The output of the code generator is a target program that includes?
View solution
Q. Replacement of an expensive operation by a cheaper one is termed as?
View solution
Q. A basic block can be analyzed by?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Compiler Design? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!