Assignment-2: TH TH
Assignment-2: TH TH
{0n | n 0}
{0n 1n | n 0}
{ww | w belongs to {a,b} }
{0i 1j 2k | i > j or j > k }
5. For the languages below, prove whether they are 1. Regular. 2. Context free
but not regular. 3. Not context free.
(a)
(b)
(c)
(d)
{0m 1n | m!=n}
{ww | w is a binary string}
{ai bj ck | i2j or j3k}
{ai bj ck | ij or jk}