Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
How to solve?
Recent questions tagged identify-class-language
1
votes
2
answers
181
CMI2013-A-04
Consider the set of all words over the alphabet $\{x, y, z\}$ where the number of $y$’s is not divisible by 2 or 7 and no $x$ appears after a $z$. This language is: regular not known to be regular context-free but not regular recursively enumerable but not context-free
Consider the set of all words over the alphabet $\{x, y, z\}$ where the number of $y$’s is not divisible by 2 or 7 and no $x$ appears after a $z$. This language is:...
go_editor
376
views
go_editor
asked
May 23, 2016
Theory of Computation
cmi2013
theory-of-computation
identify-class-language
+
–
8
votes
2
answers
182
CMI2010-A-01
Over the alphabet $\{0, 1\}$, consider the language $L = \{ w | \: w \text{ does not contain the substring } 0011\}$ Which of the following is true about $L$. $L$ is not context free $L$ is regular $L$ is not regular but it is context free $L$ is context free but not recursively enumerable
Over the alphabet $\{0, 1\}$, consider the language$L = \{ w | \: w \text{ does not contain the substring } 0011\}$Which of the following is true about $L$.$L$ is not co...
go_editor
1.3k
views
go_editor
asked
May 19, 2016
Theory of Computation
cmi2010
theory-of-computation
identify-class-language
+
–
2
votes
3
answers
183
Identify the class of L
Consider $L_1 = \left\{a^nb^nc^md^m \mid m,n \ge 1\right\}$ $L_2 = \left\{a^nb^n \mid n \ge1\right\}$ $L_3 = \left\{(a+b)^*\right\}$ $L_1$ - $L_3$ is (A) Regular (B) CFL but not regular (C) CSL but not CFL (D) None of these
Consider$L_1 = \left\{a^nb^nc^md^m \mid m,n \ge 1\right\}$$L_2 = \left\{a^nb^n \mid n \ge1\right\}$$L_3 = \left\{(a+b)^*\right\}$$L_1$ - $L_3$ is(A) Regular (B) CFL but n...
Arjun
711
views
Arjun
asked
Apr 28, 2016
Theory of Computation
theory-of-computation
identify-class-language
+
–
0
votes
2
answers
184
MadeEasy Test Series: Theory Of Computation - Identify Class Language
ww^r complement is CSL Is this right or wrong If right please how can we prove
ww^r complement is CSLIs this right or wrongIf right please how can we prove
Sourabh Kumar
747
views
Sourabh Kumar
asked
Apr 23, 2016
Theory of Computation
made-easy-test-series
theory-of-computation
identify-class-language
+
–
3
votes
1
answer
185
Virtual Gate Test Series: Theory Of Computation - Arbitrary Languages
Let $L_1$ and $L_2$ be two arbitrary languages, choose incorrect statement(s) $\text{if}\; L_1.L_2\;\text{ is regular then }L_2.L_1\;\text{ is also regular.}$ ... (\ denotes set difference) Only (i) (i) and (ii) (ii) and (iii) All
Let $L_1$ and $L_2$ be two arbitrary languages, choose incorrect statement(s)$\text{if}\; L_1.L_2\;\text{ is regular then }L_2.L_1\;\text{ is also regular.}$$L_1 = L_2 \;...
sourav.
730
views
sourav.
asked
Feb 3, 2016
Theory of Computation
theory-of-computation
identify-class-language
virtual-gate-test-series
+
–
0
votes
1
answer
186
what is L3
Q). Given a regular set $L1$ & a language $L2$ we form $L3= L_1 \cup L_2$ or $L3=L_1 \cap L_2$ Which of the following is true. (A).The emptiness problem of $L_3$ is decidable (B). It is decidable is $L_3$ is empty, finite or infinite (C). $L_3$ is necessary regular (D). It is undecidable if $L_3$ is a r.e set
Q). Given a regular set $L1$ & a language $L2$ we form$L3= L_1 \cup L_2$ or $L3=L_1 \cap L_2$ Which of the following is true.(A).The emptiness problem of $L_3$ is deci...
shivanisrivarshini
406
views
shivanisrivarshini
asked
Jan 31, 2016
Theory of Computation
identify-class-language
+
–
5
votes
4
answers
187
If L1 is Regular, and L1UL2 is regular, then L2 is?
Consider L1, L2 ⊆ Ʃ* such that L1 and L1 ∪ L2 are regular. (a) L2 is definitely regular (b) L2 may not be regular (c) L2 is context free (d) None of above Is it option B or C? How?
Consider L1, L2 ⊆ Ʃ* such that L1 and L1 ∪ L2 are regular.(a) L2 is definitely regular(b) L2 may not be regular(c) L2 is context free(d) None of aboveIs it option B ...
Purple
8.9k
views
Purple
asked
Jan 28, 2016
Theory of Computation
theory-of-computation
identify-class-language
regular-language
non-regular
context-free-language
+
–
0
votes
1
answer
188
type of language
let L=(a,b,c)* | the length of x is square then L is - a)Regular b)recursive but not context free c)context free but not regular d)none of these.
let L=(a,b,c)* | the length of x is square then L is -a)Regularb)recursive but not context freec)context free but not regulard)none of these.
Kamalkant Patel
462
views
Kamalkant Patel
asked
Jan 27, 2016
Theory of Computation
identify-class-language
+
–
0
votes
2
answers
189
Dcfl or not
L={w0w $\mid$ w$\in$(0+a+b)*}
L={w0w $\mid$ w$\in$(0+a+b)*}
Sourabh Kumar
798
views
Sourabh Kumar
asked
Jan 25, 2016
Theory of Computation
identify-class-language
+
–
0
votes
1
answer
190
regular or context free ?
(a+b)^* a^n b^n n>=1
(a+b)^* a^n b^n n>=1
-
455
views
-
asked
Jan 17, 2016
Theory of Computation
theory-of-computation
identify-class-language
+
–
2
votes
2
answers
191
which of these are regular sets ?
$L_1=\left\{a^pb^q \mid p+q \geq10^6 \right\}$ $L_2=\left\{a^mb^n \mid m-n \geq 10^6\right\}$ In both of these there is a comparison between no of a's and b's so I guess both of them should be non-regular sets but why only L2 is non-regular ?
$L_1=\left\{a^pb^q \mid p+q \geq10^6 \right\}$$L_2=\left\{a^mb^n \mid m-n \geq 10^6\right\}$In both of these there is a comparison between no of a's and b's so I guess bo...
radha gogia
724
views
radha gogia
asked
Jan 14, 2016
Theory of Computation
regular-language
identify-class-language
+
–
11
votes
1
answer
192
Identify language
Consider the sets over $\left\{a,b\right\}$ $S_1=\left\{a,ab\right\};$ $S_2=\left\{b,ba\right\};$ $S_3=\left\{a^nb^{2n}\right\}\cup \left\{a^{2n}b^n\right\};$ $S_4=\left\{ww^R|w\in(a,b)^*\right\};$ ... prefix property. But, why cant they be accepted by dfa (where we dont check prefix property satisfaction). If pda was given then they would have been right, I guess.
Consider the sets over $\left\{a,b\right\}$$S_1=\left\{a,ab\right\};$$S_2=\left\{b,ba\right\};$$S_3=\left\{a^nb^{2n}\right\}\cup \left\{a^{2n}b^n\right\};$$S_4=\left\{ww^...
Tushar Shinde
2.8k
views
Tushar Shinde
asked
Jan 12, 2016
Theory of Computation
identify-class-language
finite-automata
theory-of-computation
ldentify-language
+
–
0
votes
1
answer
193
Class of language
Identify the class of this language - L = { w1w2 | w1 != w2 & |w1| = |w2|} A) Regular B) CFL C) CSL D) Rec
Identify the class of this language -L = { w1w2 | w1 != w2 & |w1| = |w2|}A) RegularB) CFLC) CSLD) Rec
Himanshu1
871
views
Himanshu1
asked
Dec 30, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
12
votes
1
answer
194
Why this is not a regular language?
Consider following languages : L1 = { wxwy | x,w,y $\in$(a + b)+ } , L2 = { xwyw | x,w,y $\in$(a + b)+ } , L3 = { wxyw | x, y, w $\in$(a+b)+ } How can we say that L1 , L2 are regular but not L3 ? Please explain.
Consider following languages :L1 = { wxwy | x,w,y $\in$(a + b)+ } ,L2 = { xwyw | x,w,y $\in$(a + b)+ } ,L3 = { wxyw | x, y, w $\in$(a+b)+ } How can we say that L1 , L2 ar...
Utk
2.3k
views
Utk
asked
Dec 30, 2015
Theory of Computation
theory-of-computation
regular-language
identify-class-language
+
–
4
votes
2
answers
195
TOC
Consider the complements of the languages $L_{1}=\left\{ww \mid w\in (a+b)^{+}\right\}$ $L_{2}=\left\{a^{n}b^{n}c^{n} \mid n\geq1\right\}$ $L_{3}=\left\{a^{i}b^{j}a^{i}b^{j} \mid i, j\geq10\right\}$ $L_{4}=\left\{a^{i}b^{j}\mid i, j\in (a+b)^{+}\right\}$ ... $K_{1}, K_{3}$ are CFLs & $K_{2}, K_{4}$ are regular. $K_{1}, K_{2}$ & $K_{3}$ are not CFLs but $K_{4}$ is regular.
Consider the complements of the languages$L_{1}=\left\{ww \mid w\in (a+b)^{+}\right\}$$L_{2}=\left\{a^{n}b^{n}c^{n} \mid n\geq1\right\}$$L_{3}=\left\{a^{i}b^{j}a^{i}b^{j}...
tiger
621
views
tiger
asked
Dec 28, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
4
votes
2
answers
196
DCFL
Is DFCL closed under complement ? If so can you provide any text for the same.
Is DFCL closed under complement ? If so can you provide any text for the same.
UK
7.1k
views
UK
asked
Dec 20, 2015
Theory of Computation
theory-of-computation
dcfl
identify-class-language
+
–
4
votes
2
answers
197
If L2 is DCFL ,how to draw its DPDA?
$L_1=\{(xy)^m(yz)^m\;,\;m\geq 1\}$ $L_2=\{a^mb^nc^k\;|\;m>n\;or\;m<n\}$ Which of the following is True? (a) $L_1$ is CFL, $L_2$ are DCFL (b) $L_1$ is DCFL, $L_2$ is CFL (c) Both $L_1$, $L_2$ are CFLs (d) Both $L_1$, $L_2$ are DCFLS
$L_1=\{(xy)^m(yz)^m\;,\;m\geq 1\}$$L_2=\{a^mb^nc^k\;|\;m>n\;or\;m<n\}$Which of the following is True?(a) $L_1$ is CFL, $L_2$ are DCFL (b) $L_1$ is DCFL...
Rajat Sharma 1
1.2k
views
Rajat Sharma 1
asked
Dec 15, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
1
votes
1
answer
198
please give proper explanation
To prove that language $L$ is not regular, we may show that $L$ is the intersection of two regular languages. $L$ is the intersection of two non-regular languages. the union of $L$ with some regular language is regular. the union of $L$ with some regular language is non-regular. the complement of $L$ is regular.
To prove that language $L$ is not regular, we may show that $L$ is the intersection of two regular languages.$L$ is the intersection of two non-regular languages.the unio...
Zeal
602
views
Zeal
asked
Dec 13, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
5
votes
2
answers
199
how to identify whether a language is Context free or Context sensitive
Which of the following language is $CFL$? a. $\{a^mb^nc^n\;|\;m!=n\}$ b. $\{a^mb^nc^k\;|\;if\,(m=n)\,then\,(n!=k)\}$ c. $\{a^mb^nc^k\;|\;m>n\;or\;n<k\}$ d. None of these
Which of the following language is $CFL$?a. $\{a^mb^nc^n\;|\;m!=n\}$b. $\{a^mb^nc^k\;|\;if\,(m=n)\,then\,(n!=k)\}$c. $\{a^mb^nc^k\;|\;m>n\;or\;n<k\}$d. None of these
Akanksha Kesarwani
5.3k
views
Akanksha Kesarwani
asked
Dec 13, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
1
votes
1
answer
200
Regular/ Non Regular . Why is L2 not regular ?
L1 = {ambn | m+n = Even} L2 = {ambn | m-n = 4} (a) L1 is Regular, L2 is Not Regular (b) Both are Regular (c) Both are Non- Regular (d) L2 is Regular, L1 is Not Regular
L1 = {ambn | m+n = Even} L2 = {ambn | m-n = 4}(a) L1 is Regular, L2 is Not Regular(b) Both are Regular(c) Both are Non- Regular(d) L2 is Regular, L1 is Not Regular
Gate Mm
2.6k
views
Gate Mm
asked
Dec 8, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
25
votes
6
answers
201
TIFR CSE 2015 | Part B | Question: 8
Let $\sum_{1}= \left\{a\right\}$ be a one letter alphabet and $\sum_{2}= \left\{a, b\right\}$ be a two letter alphabet. A language over an alphabet is a set of finite length words comprising letters of the alphabet. Let $L_{1}$ and $L_{2}$ be the ... $L_{1}$ is countable but $L_{2}$ is not. $L_{2}$ is countable but $L_{1}$ is not. Neither of them is countable.
Let $\sum_{1}= \left\{a\right\}$ be a one letter alphabet and $\sum_{2}= \left\{a, b\right\}$ be a two letter alphabet. A language over an alphabet is a set of finite len...
makhdoom ghaya
4.5k
views
makhdoom ghaya
asked
Dec 7, 2015
Theory of Computation
tifr2015
identify-class-language
+
–
3
votes
3
answers
202
Virtual Gate Test Series: Theory Of Computation - Languages
Consider the following context-sensitive productions $\\S\rightarrow bSb\, |\, AcA \\Ab\rightarrow A,\, Ab\rightarrow b \\bA\rightarrow b,\, bA\rightarrow A$ Let $G$ be grammar given by all the rules except the last, and let $G'$ be the ... is regular Both $L(G)$ and $L(G')$ are regular None of $L(G)$ and $L(G')$ are regular
Consider the following context-sensitive productions$\\S\rightarrow bSb\, |\, AcA \\Ab\rightarrow A,\, Ab\rightarrow b \\bA\rightarrow b,\, bA\rightarrow A$Let $G$ be gra...
shreshtha5
679
views
shreshtha5
asked
Dec 5, 2015
Theory of Computation
theory-of-computation
identify-class-language
virtual-gate-test-series
+
–
3
votes
2
answers
203
Regular/Non-regular Language
Given a set $A\subseteq \left\{0,1 \right \}^*,$ let $A' = \left\{ xy\; |\;x1y\in A\right\}.$ That is, $A'$ consistes of all the strings obtained from a string in $A$ by deleting in $A$ by deleting exactly one $1$. if $A$ is regular, then $A'$ is (A) Regular (B) Context free but not regular (C) Recursive but not context free (D) None of the above.
Given a set $A\subseteq \left\{0,1 \right \}^*,$ let$A' = \left\{ xy\; |\;x1y\in A\right\}.$ That is, $A'$ consistes of all the strings obtained from a string in $A$ by d...
shreshtha5
748
views
shreshtha5
asked
Dec 5, 2015
Theory of Computation
identify-class-language
regular-language
+
–
28
votes
2
answers
204
TIFR CSE 2014 | Part B | Question: 13
Let $L$ be a given context-free language over the alphabet $\left\{a, b\right\}$. Construct $L_{1},L_{2}$ as follows. Let $L_{1}= L - \left\{xyx\mid x, y \in \left\{a, b\right\}^*\right\}$, and $L_{2} = L \cdot L$. Then, Both $L_{1}$ ... $L_{1}$ and $L_{2}$ both may not be context free. $L_{1}$ is regular but $L_{2}$ may not be context free.
Let $L$ be a given context-free language over the alphabet $\left\{a, b\right\}$. Construct $L_{1},L_{2}$ as follows. Let $L_{1}= L - \left\{xyx\mid x, y \in \left\{a, b\...
makhdoom ghaya
3.6k
views
makhdoom ghaya
asked
Nov 20, 2015
Theory of Computation
tifr2014
theory-of-computation
identify-class-language
+
–
0
votes
2
answers
205
Choose the false statement and give proper explanation to each
Consider the language $L_1 = \{a^n b^{2n} \mid n\geq 1 \},$ and the homomorphism $h(p)=a, h(q)=aa.$ Let $L_2= h^{-1} (L_1)$ and $R= p^*q^*.$ ... $L_2$ are both CFLs(Context-Free Languages) that are not regular $L_2$ is not a CFL but is a CSL (Context Senstive Language) None of the above
Consider the language$L_1 = \{a^n b^{2n} \mid n\geq 1 \},$and the homomorphism $h(p)=a, h(q)=aa.$Let $L_2= h^{-1} (L_1)$ and $R= p^*q^*.$Choose the false statement$L_2 \c...
pC
632
views
pC
asked
Nov 17, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
21
votes
5
answers
206
GATE CSE 1991 | Question: 17,a
Show that the Turing machines, which have a read only input tape and constant size work tape, recognize precisely the class of regular languages.
Show that the Turing machines, which have a read only input tape and constant size work tape, recognize precisely the class of regular languages.
Arjun
5.8k
views
Arjun
asked
Nov 15, 2015
Theory of Computation
gate1991
theory-of-computation
descriptive
identify-class-language
proof
+
–
2
votes
1
answer
207
Regular/ Non Regular. Language is regular or not?
Is the following two languages regular? L = { $w$ | the number of occurrences of $'01'$ in $w$ is equal to the number of occurrences of $'10'$} Late(L) = {$x\in \Sigma^*$ : for some $a\in \Sigma$, string $ax\in L$ where $L$ is regular} (A) Only $I$ (B) Only $II$ (C) Both $I$ & $II$ (D) Neither $I$ nor $II$
Is the following two languages regular?L = { $w$ | the number of occurrences of $'01'$ in $w$ is equal to the number of occurrences of $'10'$}Late(L) = {$x\in \Sigma^*$ :...
Iceberg
1.6k
views
Iceberg
asked
Nov 5, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
3
votes
2
answers
208
Choose the regular set.
Choose the regular set $\left\{ww^{R}ww^{R}ww \mid w \in \{a,b \}^+ \right\}$ $\left\{ a^{2^n} a^{n!}a^{pq} \mid p \text{ prime}, q\text{ not prime}, n \geq1\right\}$ $\left\{ wXw^{R} \mid w, X \in \{a,b \}^+ \right\}$ $\left\{a^{i}b^{j}a^{i}b^{j}a^{i}b^{j} \mid i,j \geq 1 \right\}$
Choose the regular set$\left\{ww^{R}ww^{R}ww \mid w \in \{a,b \}^+ \right\}$$\left\{ a^{2^n} a^{n!}a^{pq} \mid p \text{ prime}, q\text{ not prime}, n \geq1\right\}$$\lef...
अनुराग पाण्डेय
618
views
अनुराग पाण्डेय
asked
Nov 5, 2015
Theory of Computation
regular-language
identify-class-language
+
–
13
votes
3
answers
209
TIFR CSE 2012 | Part B | Question: 18
Let $a^{i}$ denote a sequence $a . a ... a$ with $i$ letters and let $\aleph$ be the set of natural numbers ${ 1, 2,...}$. Let $L_{1}=\left\{a^{i}b^{2i}\mid i \in \aleph\right\}$ ... $L_{2}$ are recursive but not context-free. $L_{1}$ is regular and $L_{2}$ is context-free. Complement of $L_{2}$ is context-free.
Let $a^{i}$ denote a sequence $a . a ... a$ with $i$ letters and let $\aleph$ be the set of natural numbers ${ 1, 2,...}$. Let $L_{1}=\left\{a^{i}b^{2i}\mid i \in \aleph...
makhdoom ghaya
1.6k
views
makhdoom ghaya
asked
Nov 2, 2015
Theory of Computation
tifr2012
theory-of-computation
identify-class-language
+
–
1
votes
3
answers
210
Identify the class of the language
$L=\left\{ w\in(a+b)^* \mid w \\ \text{ has at least as many occurrences of (bba)'s as (abb)'s}\right\}$ Identify the class of the language.
$L=\left\{ w\in(a+b)^* \mid w \\ \text{ has at least as many occurrences of (bba)'s as (abb)'s}\right\}$ Identify the class of the language.
Shefali
765
views
Shefali
asked
Oct 24, 2015
Theory of Computation
theory-of-computation
identify-class-language
+
–
Page:
« prev
1
2
3
4
5
6
7
8
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register