Theory of Computation - Context free languages

46. Which of the following statement is wrong?

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 *


47. Consider a grammar :
     G = ( { x , y ) , { s , x , y } , p , s)
where elements of parse :
    S--> x y
     S -->y x
    x--> x z
     x--> x
     y--> y
     z--> z
The language L generated by G most accurately is called

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 *


48. Consider a grammar :
   G = { { S } , { 0 , 1 } , p , s }
where elements of p are:
   S --> ss
   S--> 0S1
   S--> 1S0
   S--> empty
The grammar will generate

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 *


49. A grammar that produces more than one parse tree for some sentence is called

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 *


50. Given a grammar G a production of G with a dot at some position of the right side is called

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 *