Question 35
35. To obtain a string of n Terminals from a given Chomsky normal form grammar, the number of productions to be used is :
Answer : (1) 2n−1 Previous | Next |
UGC NET CS 2018 July - II Question 34 | UGC NET CS 2018 July - II Question 36 |
In CNF , the height of the syntax tree is 2n-1 i.e. 2n-1 productions are used to obtain a string on n terminals.