• edited by
18,861 views

1 Answer

Best answer
98 98 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:
Position:
Show:

Related questions

31 31 votes
2 answers 2 answers
16.4k
16.4k views
Kathleen asked Sep 25, 2014
16,375 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...
29 29 votes
2 answers 2 answers
6.4k
6.4k views
Kathleen asked Sep 26, 2014
6,402 views
An identifier in a programming language consists of up to six letters and digits of which the first character must be a letter. Derive a regular expression for the identi...
49 49 votes
10 answers 10 answers
22.4k
22.4k views
Kathleen asked Sep 25, 2014
22,359 views
Which normal form is considered adequate for normal relational database design?$2NF$$5NF$$4NF$$3NF$
24 24 votes
5 answers 5 answers
17.5k
17.5k views
Kathleen asked Sep 25, 2014
17,517 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...