1.

Which of the following are valid membership algorithms?(a) CYK algorithm(b) Exhaustive search parser(c) Both (a) and (b)(d) None of the mentionedI have been asked this question in exam.This intriguing question originated from Intersection with Regular Languages topic in section Properties of Context Free Languages of Automata Theory

Answer»

The CORRECT ANSWER is (c) Both (a) and (B)

To explain: CYK algorithm is a PARSING algorithm for context free grammars, which employs bottom up parsing and dynamic programming.



Discussion

No Comment Found

Related InterviewSolutions