retagged by
2,768 views

2 Answers

Best answer
5 votes
5 votes
Parse tree for $5 * 4 + 10 * 6 – 7 – 8$ based on above grammar will contains $18$ internal nodes and $6$ leaf nodes.

PS:) Will update this answer after Gate with Parse tree drawn
selected by

Related questions

4 votes
4 votes
1 answer
1
mohitbawankar asked Jan 10, 2018
1,626 views
Consider the given below grammarS→ cAdA→ bA | aA | bIf a recursive descent parser is used for string “cbababd” then number of back trackin worst case is: