edited by
13,771 views

2 Answers

Best answer
83 votes
83 votes

The answer is c .

The use of syntax analyser is used to create parse Tree. But along with Grammar as input to Syntax Analyser we add even semantic rules which form the basis of Syntax Directed Translation That help us in Evaluation of Expression .Remember that

Syntax Directed Translation is used in following cases

  1. Conversion of infix to Postfix
  2. Calculation of infix expression
  3. For creating a Acyclic graph
  4. Type Checking
  5. Conversion of Binary number to Decimal
  6. Counting the numbers of bits (0 or 1 ) in a binary number
  7. Creation of syntax tree
  8. To generate Intermediate code
  9. Storing the data into Symbol table
edited by
Answer:

Related questions

24 votes
24 votes
2 answers
1
Kathleen asked Sep 25, 2014
12,611 views
Which of the following statements is true?SLR parser is more powerful than LALRLALR parser is more powerful than Canonical LR parserCanonical LR parser is more powerful t...
31 votes
31 votes
8 answers
3
Kathleen asked Sep 25, 2014
10,222 views
Which normal form is considered adequate for normal relational database design?$2NF$$5NF$$4NF$$3NF$
19 votes
19 votes
4 answers
4
Kathleen asked Sep 25, 2014
13,876 views
A counting semaphore was initialized to $10$. Then $6 P$ (wait) operations and $4V$ (signal) operations were completed on this semaphore. The resulting value of the semap...