445 views
0 votes
0 votes

#plz check igot 1,2,3 is correct  and 4 th is CSL

1 Answer

0 votes
0 votes
1. Not regular as X is a special symbol not of (0+1)+

2. Regular as x can be extended to both ends leving just one char at each end its basically string starting and ending with same char.

3. Regular, 2n is an AP, thereofre it can be produced using loopong of FA

4. n^2 is not in AP therefore not regular

Related questions

0 votes
0 votes
1 answer
1
Hradesh patel asked Jan 28, 2017
346 views
#plz chek???
0 votes
0 votes
1 answer
2
Hradesh patel asked Jan 28, 2017
437 views
# i got 2 and 3 is correct. pplz explain 1st ???
0 votes
0 votes
1 answer
3
Hradesh patel asked Jan 28, 2017
330 views
#plz check i got 7 ??? but answer is given 2
0 votes
0 votes
0 answers
4
Hradesh patel asked Nov 20, 2016
411 views
There is a CFG with only 2 variables, and a single terminal, and 2 only productions (No unit, epsilon, useless products, left recursion,). What would be the max number of...