Deprecated: Optional parameter $extravalue declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/blog-tool/app/blog-update.php on line 32

Deprecated: Optional parameter $name declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/blog-tool/app/blog-update.php on line 32

Deprecated: Optional parameter $remoderate declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/blog-tool/app/blog-update.php on line 32

Deprecated: Optional parameter $silent declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/blog-tool/app/blog-update.php on line 32

Deprecated: Optional parameter $notify declared before required parameter $accessurl is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/exam-creator/app/exam-create.php on line 9

Deprecated: Optional parameter $categoryid declared before required parameter $accessurl is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/exam-creator/app/exam-create.php on line 9

Deprecated: Optional parameter $queued declared before required parameter $accessurl is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/exam-creator/app/exam-create.php on line 9

Deprecated: Optional parameter $extravalue declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/exam-creator/app/exam-update.php on line 32

Deprecated: Optional parameter $name declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/exam-creator/app/exam-update.php on line 32

Deprecated: Optional parameter $remoderate declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/exam-creator/app/exam-update.php on line 32

Deprecated: Optional parameter $silent declared before required parameter $categoryid is implicitly treated as a required parameter in /var/www/html/qadb/qa-plugin/exam-creator/app/exam-update.php on line 32
Theory of Computation: MadeEasy Test Series: Theory Of Computation - Identify Class Language
edited by
861 views
1 votes
1 votes
If L1 = { a^n | n ≥ 0 } and L2 = { b^n | n ≥ 0 }, Consider

then L1 . L2 wil be

a) (ab)^n

b) a^n b^n

c) b^n a^n

d)b^m a^n

e)  { a^m b^n | m ≥ 0, n ≥ 0 }

why answer is d why not b ????
edited by

5 Answers

Best answer
4 votes
4 votes

'n' of  L1 is different from the 'n' of L2 (i.e these two 'n' are not equal), So due to this difference L1.L2 = {a^mb^n :m>=0,n>=0} will be the answer. 

selected by
1 votes
1 votes
L1 and L2 are both regular languages, therefore concatenation of both i.e L1.L2 is also regular language. And this language is "Number of a's followed by number of b's".
0 votes
0 votes

no option is correct:- D must be like this

D. ambn and m,n >=0   which also represent a*b*...

L1={null,a,aa,aaa,......}=a*

L2={null,b,bb,bbb,......}=b*

Related questions


Deprecated: Implicit conversion from float-string "1546934913.040" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1546934913.040" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1546934913.040" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1546934913.040" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
741
views
1 answers
1 votes
jatin khachane 1 asked Jan 8, 2019
741 views
$L = \left \{ x^{l}y^{m}z^{n} | \ l+m+n\ is\ divisible\ by\ 5\right \}$Is it regular or CFL or CSL ?
457
views
1 answers
2 votes
Sumaiya23 asked Jan 22, 2018
457 views
a) Only L1 is correctb)Only L2 is correctc)Both L1 and L2 are correctd)None of L1 and L2 is correctMy question is: What is meant by prefix of string? And how is L1 regula...