0 0 votes The language L1={a^n b^n} union {b} The language L2={a^n b^n} union {a} They both are deterministic CFL. Am i right? Theory of Computation theory-of-computation peter-linz context-free-language + – sushmita 1.2k views answer comment Share Follow Print See all 10 Comments 10 10 Comments reply Show 7 previous comments Shaik Masthan commented Sep 9, 2018 reply Follow flag yes mam... either you have 1 a ===> accepted ( due to final state ) or n a's then check n b's ===> accepted 1 1 replyShare Shaik Masthan commented Sep 9, 2018 reply Follow flag you can't have extra b.... 1 1 replyShare srestha commented Sep 9, 2018 reply Follow flag ok yes 0 0 replyShare Please log in or register to add a comment.