Theory of Computation and Compilers - Context free languages

21. L = (an bn an | n = 1,2,3) is an example of a language that is

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


22. If Σ = (0, 1), L = Σ* and R = (0n 1nsuch that n > 0)
then languages L ∪ R and R respectively are

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


23. FSM can recognize

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


24. Set of regular languages over a given alphabet set is closed under

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


25. Which of the following statement is correct?

  • Option : D
  • Explanation :
    CFG is a higher than regular language. So we can draw a regular equivalent to CFG. And some non regular like context sensitive can't be generated by cfg. So, option 3 and 2 are correct. So answer is 'D'.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *