Recent questions tagged regular-language

6 votes
2 answers
547
L1 ={ a^pb^q | p+q>=10^6}L2= { a^mb^n | m-n>=10^6} i m not getting this can someone help me with this
0 votes
1 answer
551
Consider the following regular expressionsi) (a/b)*ii) (a*/b*)*iii) ((ε / a)b*)*Which of the following equal?
0 votes
1 answer
552
0 votes
2 answers
554
0 votes
0 answers
556
Why is the answer D? How to solve it in simple way other than learning Rice Theorem? Does anyone know Rice thm in short?
0 votes
1 answer
557
1 votes
0 answers
561
let l denote the language denoted by the grammer s 00TT >11S/11l=(0|1)l is regular but not (0|1)l is CFL but not regular l is not CFL
1 votes
1 answer
563
Consider the NFA below:The above NFA acceptes all those binary strings which represents the decimal numbers and area. divisible by 6 onlyb. dividible by 2 and 3 onlyc. di...
0 votes
2 answers
564
Set of all lexical error produced by compiler is regular or not. I think it is regular,beacuse it should be finite. Plz explain if anything else.
24 votes
2 answers
565
If L is Regular Language thenhalf (L) = {u | ∃v : | v | = | u | and uv ∊ L} is also Regular Language.Can anyone plz explain this with simple example.
3 votes
2 answers
566
$$\begin{align*} & \color{blue}{\text{Find regular expression for the following language}} \\ \\ &L = \left \{ xwx \; |\; x,w \in \left \{ a+b \right \}^{*} , |x| \leq 4 ...
2 votes
1 answer
567
Regular Expression for the following Language,$$\begin{align*} L = \left \{ a^{m}b^{n}\; | m \geq 1,n \geq 1,mn \geq 3 \right \} \end{align*}$$
0 votes
1 answer
570