1 1 vote Let L = {ambnbkdl⎪(n+k = odd) only if m = l; m, n, k, l > 0}. Which of the following is true about L? 1)L is CFL but not DCFL 2)L is regular but not CFL 3)L is DCFL but not regular 4)none of the above Theory of Computation theory-of-computation + – set2018 686 views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply Anu007 commented Dec 8, 2017 i edited by Anu007 Dec 9, 2017 reply Follow flag L = {ambnbkdl⎪(n+k = odd) only if m = l; m, n, k, l > 0} L = {ambpdl⎪(p= odd) only if m = l; m, n, k, l > 0} L = {ambpdl⎪if(p= odd) then m = l; m, n, k, l > 0} push all a's then check number of b;s are odd or not(done via dfa) , if answer is yes then number of a= number of d(done via stack) by empty stack if answer is yes ) then accept by final state Hence it is DCFL 3 3 replyShare joshi_nitish commented Dec 9, 2017 reply Follow flag @Anu sir, small correction it should be ambpdl 0 0 replyShare Anu007 commented Dec 9, 2017 reply Follow flag yes , i didnt loop at a has power m . 0 0 replyShare Please log in or register to add a comment.