Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the languages below. (a) For each, regular? context free? (Y/N) REG ? CF? ___ ___ L 1 = {0 n 1 m 0 m
Consider the languages below. (a) For each, regular? context free? (Y/N)
REG ? CF?
___ ___ L1 = {0n 1m 0m 1n | n,m >= 0}
___ ___ L2 = {0n 0m 1m 1n | n,m >= 0}
___ ___ L3 = {0n 1m+n 0m | n,m >= 0}
___ ___ L4 = {an bm | n+m is even, n,m>0}
___ ___ L5 = {w in (aUb)* | na(w) < nb(w) }
___ ___ L6 = {w in (aUb)* | na(w) < nb(w) , nb(w)<100 }
(b) Choose ONE non-context free language and prove that it is not context free
Note: na(w) means number of as in w so na(w) < nb(w) means strings with fewer as than bs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started