1.

A CFG is closed under _________(a) Union(b) Kleene star(c) Concatenation(d) None of the mentionedThe question was posed to me during an interview for a job.Enquiry is from Context Free Grammar topic in chapter Contextfree Grammar and Syntax Analysis of Compiler

Answer»

Correct CHOICE is (d) None of the MENTIONED

Easy explanation: CFG is closed under the above mentioned 3 OPERATIONS.



Discussion

No Comment Found

Related InterviewSolutions