3) ADG is said to be in Chomsky Form (CNF), if all the productions are of the form A --> BC or A --> a. Let G be a CFG in CNF. To derive a string of terminals of length x , the number of productions to be used is
Answer is:
2x - 1
Related Theory of Computation MCQ with Answers
Answer is:
Q need not be regular
Answer is:
both 1) union and complementation has to be closed under intersection and 2) intersection and complement has to be closed under union
Answer is: