Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged context-free-language
31
votes
2
answers
241
GATE CSE 2019 | Question: 31
Which one of the following languages over $\Sigma=\{a, b\}$ is NOT context-free? $\{ww^R \mid w \in \{a, b\}^*\}$ $\{wa^nb^nw^R \mid w \in \{a,b\}^*, n \geq 0\}$ $\{wa^nw^Rb^n \mid w \in \{a,b\}^* , n \geq 0\}$ $\{ a^nb^i \mid i \in \{n, 3n, 5n\}, n \geq 0\}$
Which one of the following languages over $\Sigma=\{a, b\}$ is NOT context-free?$\{ww^R \mid w \in \{a, b\}^*\}$$\{wa^nb^nw^R \mid w \in \{a,b\}^*, n \geq 0\}$$\{wa^nw^Rb...
Arjun
11.8k
views
Arjun
asked
Feb 7, 2019
Theory of Computation
gatecse-2019
theory-of-computation
context-free-language
2-marks
+
–
0
votes
0
answers
242
Consider a language L = {xaybzc| ((a ≤ b) or (a > b)) and (a ≠ c)}. Select the correct option.
consider a language L = {x^{a}y^{b}z^{c}| ((a ≤ b) or (a > b)) and (a ≠ c)}. Select the correct option. 1.L is CFL but not DCFL. 2.L is recursive but not CSL. 3. L is DCFL but not regular. 4.L is CSL but not CFL.
consider a language L = {x^{a}y^{b}z^{c}| ((a ≤ b) or (a b)) and (a ≠ c)}. Select the correct option.1.L is CFL but not DCFL.2.L is recursive but not CSL.3. L is DCF...
AVICS
390
views
AVICS
asked
Jan 28, 2019
Theory of Computation
theory-of-computation
context-free-language
+
–
0
votes
2
answers
243
language
ϕ Σ* L X
ϕΣ*LX
Rahul_Rathod_
642
views
Rahul_Rathod_
asked
Jan 22, 2019
Theory of Computation
theory-of-computation
regular-language
finite-automata
regular-expression
context-free-language
+
–
0
votes
0
answers
244
A language is cfl or not
L = {a^(p+q) b^(p+q) a^p , p,q>=0} Which one of the following is true about L? L is a regular L is CFL but not regular L is not a CFL
L = {a^(p+q) b^(p+q) a^p , p,q>=0}Which one of the following is true about L?L is a regularL is CFL but not regularL is not a CFL
saptarshiDey
541
views
saptarshiDey
asked
Jan 22, 2019
Theory of Computation
theory-of-computation
context-free-language
regular-language
+
–
0
votes
1
answer
245
Context Free Languages
What is the difference between regular intersection and intersection? (I found out that CFL is closed under regular intersection but not under intersection) Thanks!
What is the difference between regular intersection and intersection?(I found out that CFL is closed under regular intersection but not under intersection)Thanks!
Abhipsa
354
views
Abhipsa
asked
Jan 22, 2019
Theory of Computation
context-free-language
theory-of-computation
+
–
1
votes
1
answer
246
Context free language
Is this a deterministic context free language (DCFL) ? $a^{k}$ | k is even Thanks!
Is this a deterministic context free language (DCFL) ? $a^{k}$ | k is evenThanks!
Abhipsa
292
views
Abhipsa
asked
Jan 22, 2019
Theory of Computation
context-free-language
theory-of-computation
+
–
1
votes
1
answer
247
Cfg to and from pda
Do i have to study the conversation of pda to Cfg or cfg to pda? Is this an important concept with relevance to gate? I know how to individually make them though.
Do i have to study the conversation of pda to Cfg or cfg to pda? Is this an important concept with relevance to gate? I know how to individually make them though.
Rhythm
921
views
Rhythm
asked
Jan 21, 2019
Theory of Computation
context-free-language
pushdown-automata
+
–
0
votes
3
answers
248
CFL or CSL
Let L = $\{ a^n b^m | m , n \in \textbf{N} \text{ and m is multiple of n}\}$ How do we prove that this language is not CFL.
Let L = $\{ a^n b^m | m , n \in \textbf{N} \text{ and m is multiple of n}\}$How do we prove that this language is not CFL.
!KARAN
1.8k
views
!KARAN
asked
Jan 17, 2019
Theory of Computation
theory-of-computation
context-free-language
context-sensitive-languages
+
–
2
votes
1
answer
249
Applied Course | Mock GATE | Test 1 | Question: 52
Which of the following languages are not CFLs $L=\{ 0^n 1^n0^n 1^n \mid n \geq 0\}$ $L=\{0 \# 0^{2n} \# 0^{3n} \mid n \geq 0\}$ $L=\{a^n b^m c^m d^n \mid m,n \geq 0\}$ $L=\{ x \# y \mid x,y \in \{0, 1\}^* \text{ and } x \neq y\}$ II and III only III and IV only I and II only I, II and IV only
Which of the following languages are not CFLs$L=\{ 0^n 1^n0^n 1^n \mid n \geq 0\}$$L=\{0 \# 0^{2n} \# 0^{3n} \mid n \geq 0\}$$L=\{a^n b^m c^m d^n \mid m,n \geq 0\}$$L=\{ ...
Applied Course
700
views
Applied Course
asked
Jan 16, 2019
Theory of Computation
applied-course-2019-mock1
theory-of-computation
context-free-language
+
–
0
votes
1
answer
250
Building a pushdown automata that receives L*
given a pushdown automata that receives L by getting to an accepting state, how can a pushdown automata be built, so that it accepts L*? (might use a “double bottom” if needed)?? i don’t know how to solve it and would appreciate any kind of help! studying for exam and must learn how to solve it
given a pushdown automata that receives L by getting to an accepting state, how can a pushdown automata be built, so that it accepts L*? (might use a “double bottom” ...
anonymous
261
views
anonymous
asked
Jan 16, 2019
Theory of Computation
pushdown-automata
theory-of-computation
context-free-language
+
–
0
votes
1
answer
251
Test Series
If $L_1$ is DCFL and $L_2$ is context free language. Consider the below given statements Which is correct between these and why ? (S1 is correct.. but why ??) . I couldn’t understand the explanation given in the solution..
If $L_1$ is DCFL and $L_2$ is context free language. Consider the below given statementsWhich is correct between these and why ? (S1 is correct.. but why ??) . I couldn�...
Hardik Maheshwari
1.3k
views
Hardik Maheshwari
asked
Jan 14, 2019
Theory of Computation
context-free-language
context-sensitive
context
deterministic-context-free-grammars
theory-of-computation
+
–
0
votes
0
answers
252
MadeEasy Test Series: Theory Of Computation - Closure Property
L1 is regular, L2 and L3 are CFL L1 is regular, L2 is CFL and L3 is CSL L1 is CFL but not regular,L2 is CSL but not CFL,L3 is CFL L1, L2 and L3 are CFL
L1 is regular, L2 and L3 are CFLL1 is regular, L2 is CFL and L3 is CSLL1 is CFL but not regular,L2 is CSL but not CFL,L3 is CFLL1, L2 and L3 are CFL
Sambhrant Maurya
526
views
Sambhrant Maurya
asked
Jan 9, 2019
Theory of Computation
made-easy-test-series
regular-language
context-free-language
closure-property
+
–
0
votes
1
answer
253
Context free languages
{x w c w1, where x,w belong to {a,b}* and w1 is reverse of w} The language given is deterministic context-free language or non-deterministic context-free language?
{x w c w1, where x,w belong to {a,b}* and w1 is reverse of w} The language given is deterministic context-free language or non-deterministic context-free language?
Iamniks4
414
views
Iamniks4
asked
Jan 8, 2019
Theory of Computation
context-free-language
+
–
2
votes
3
answers
254
DCFL or CFL?
Given that: { A^m B^n C^k/ if (k=even) then m=n} { A^m B^n C^k/ if (n=even) then m=k} Which of the above languages are DCFL? According to me it is CFL as we have to first count k and then compare other inputs.. same for second language ... is both are DCFL? it is only possible if skip path is exists here? does it exist for DCFLs? so confused please guide me? if given answer is correct?
Given that:{ A^m B^n C^k/ if (k=even) then m=n}{ A^m B^n C^k/ if (n=even) then m=k}Which of the above languages are DCFL? According to me it is CFL as we have to first co...
S Ram
2.1k
views
S Ram
asked
Jan 3, 2019
Theory of Computation
theory-of-computation
dcfl
context-free-language
+
–
0
votes
2
answers
255
UGC NET CSE | December 2018 | Part 2 | Question: 36
Consider $R$ to be any regular language and $L_1$, $L_2$ be any two context-free languages. Which of the following is correct? $\overline{L_1}$ is context free $\overline{(L_1 \cup L_2)} – R$ is context free $L_1 \cap L_2$ is context free $L_1 – R$ is context free
Consider $R$ to be any regular language and $L_1$, $L_2$ be any two context-free languages. Which of the following is correct?$\overline{L_1}$ is context free$\overline{(...
Arjun
1.0k
views
Arjun
asked
Jan 2, 2019
Theory of Computation
ugcnetcse-dec2018-paper2
context-free-language
theory-of-computation
+
–
1
votes
1
answer
256
Madeasy test series
Does equivalence of CFG decidable ? That is for two CFG G1 and G2 L(G1)= L(G2)? And if it is DCFG than is it decidable.
Does equivalence of CFG decidable ?That is for two CFG G1 and G2 L(G1)= L(G2)?And if it is DCFG than is it decidable.
Ayan21
509
views
Ayan21
asked
Dec 30, 2018
Theory of Computation
decidability
theory-of-computation
context-free-language
recursive-and-recursively-enumerable-languages
+
–
6
votes
1
answer
257
GATE Overflow | Mock GATE | Test 1 | Question: 15
Which one of the following statements is not correct? For non-deterministic push down automata (NPDA), set of all languages accepted by empty stack is always a proper subset of set of all languages accepted by final state For ... A grammar which generates a DCFL may be ambiguous A deterministic context free grammar (DCFG) can never be ambiguous
Which one of the following statements is not correct?For non-deterministic push down automata (NPDA), set of all languages accepted by empty stack is always a proper subs...
Ruturaj Mohanty
3.8k
views
Ruturaj Mohanty
asked
Dec 27, 2018
Theory of Computation
go-mockgate-1
theory-of-computation
context-free-language
+
–
0
votes
1
answer
258
context free grammer
consider following grammer S → aSb / aSbb / aSbbb / ….. is language generated by above grammer is DCFL?
consider following grammerS → aSb / aSbb / aSbbb / …..is language generated by above grammer is DCFL?
Rahul_Rathod_
579
views
Rahul_Rathod_
asked
Dec 24, 2018
Theory of Computation
grammar
context-free-language
dcfl
context-free-grammar
+
–
0
votes
1
answer
259
Gate mock Toc
Answer is a) but I got c) please see it
Answer is a) but I got c) please see it
Prince Sindhiya
278
views
Prince Sindhiya
asked
Dec 22, 2018
Theory of Computation
theory-of-computation
context-free-language
+
–
2
votes
1
answer
260
MadeEasy Subject Test 2018: Theory Of Computation - Context Free Language
L = { $a^{nm}b^{n} | n,m\geq 1$ } L is DCFL OR L is CFL but not DCFL OR L is not CFL which one is true ?
L = { $a^{nm}b^{n} | n,m\geq 1$ }L is DCFL ORL is CFL but not DCFL ORL is not CFLwhich one is true ?
jatin khachane 1
1.4k
views
jatin khachane 1
asked
Dec 22, 2018
Theory of Computation
made-easy-test-series
theory-of-computation
context-free-language
+
–
0
votes
1
answer
261
Zeal Test Series 2018: Theory of Computation - Context Free Language
i am getting a option
i am getting a option
Prince Sindhiya
984
views
Prince Sindhiya
asked
Dec 22, 2018
Theory of Computation
zeal
theory-of-computation
context-free-language
zeal2018
+
–
0
votes
2
answers
262
CFL langauage
How a^i b^j c^k | i= j+k is CFL? Please explain Thanks
How a^i b^j c^k | i= j+k is CFL?Please explainThanks
Mayankprakash
592
views
Mayankprakash
asked
Dec 20, 2018
Theory of Computation
context-free-language
theory-of-computation
+
–
0
votes
0
answers
263
MadeEasy WorkBook: Theory of Computation - Context Free Language
Answer is (b) 1
Answer is (b) 1
Jyoti Kumari97
942
views
Jyoti Kumari97
asked
Dec 19, 2018
Theory of Computation
theory-of-computation
context-free-language
made-easy-booklet
+
–
1
votes
1
answer
264
MadeEasy WorkBook: Theory of Computation - Context Free Language
CNF may contain the following (a) null productions (b) unit productions (c) useless symbols (d) all of the above Given answer is (c) But in CNF A-->BC A-->a So, answer should be (b), isn't it?
CNF may contain the following(a) null productions(b) unit productions(c) useless symbols(d) all of the aboveGiven answer is (c)But in CNFA >BCA >aSo, answer should be (b)...
Jyoti Kumari97
348
views
Jyoti Kumari97
asked
Dec 19, 2018
Theory of Computation
theory-of-computation
self-doubt
context-free-language
made-easy-booklet
+
–
0
votes
1
answer
265
Context free language Question
please provide solution for given quesion.
please provide solution for given quesion.
Dharmesh Gusai 1
287
views
Dharmesh Gusai 1
asked
Dec 15, 2018
Theory of Computation
context-free-language
theory-of-computation
+
–
0
votes
0
answers
266
MadeEasy Theorybook: Theory of Computation - Context Free Languages
According to the given formula above, how many productions should be there ? S-->aAbB A-->aA | a B-->bB | b According to me., it should be 17 but in the book answer is 9, can anyone tell me how? mage widget
According to the given formula above, how many productions should be there ? S >aAbBA >aA | aB >bB | bAccording to me., it should be 17 but in the book answer is 9, can a...
Jyoti Kumari97
495
views
Jyoti Kumari97
asked
Dec 15, 2018
Theory of Computation
theory-of-computation
context-free-language
self-doubt
made-easy-booklet
+
–
5
votes
1
answer
267
CONVERT CFG TO GNF
S→ AB A→ BS|b B→ SA|a INTO GNF
S→ ABA→ BS|bB→ SA|a INTO GNF
Menon Karthik
26.8k
views
Menon Karthik
asked
Dec 14, 2018
Theory of Computation
gnf
conjunctive-normal-form
theory-of-computation
context-free-language
+
–
2
votes
1
answer
268
TOC Which is(are) regular? Please explain 1 and 4.
Which of the following languages is regular? L = { bba (ba)* a^n-1 | n> 0 } L = {a^nb^n | n < 1000 } L = {a^nb^k | n is odd or k is even } L = {wxw^R | w,x ∈(0+1)* } 1, 3 and 4 2, 3, 4 2, 3 1, 2, 3, 4
Which of the following languages is regular? L = { bba (ba)* a^n-1 | n 0 }L = {a^nb^n | n < 1000 }L = {a^nb^k | n is odd or k is even }L = {wxw^R | w,x ∈(0+1)* }1, 3 a...
rahuljai
1.1k
views
rahuljai
asked
Dec 13, 2018
Theory of Computation
context-sensitive
regular-language
context-free-language
theory-of-computation
regular-expression
+
–
0
votes
0
answers
269
Draw PDA for this
L = {a^m b^n c^k=m+n } | m >= 0 and n >= 0 ---------------------- Please draw PDA for this Language!
L = {a^m b^n c^k=m+n } | m >= 0 and n >= 0 Please draw PDA for this Language!
Guilherme Zanini Mor
528
views
Guilherme Zanini Mor
asked
Dec 12, 2018
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
dcfl
+
–
1
votes
3
answers
270
NIELIT 2018-33
The language $\{ W^a X^b Y^{a+b} \mid a, b, >1\}$ is Regular Context-free but not regular Context sensitive but not context free Type$=0$ but not context sensitive
The language $\{ W^a X^b Y^{a+b} \mid a, b, >1\}$ isRegularContext-free but not regularContext sensitive but not context freeType$=0$ but not context sensitive
Arjun
1.2k
views
Arjun
asked
Dec 7, 2018
Compiler Design
nielit-2018
compiler-design
context-free-language
+
–
Page:
« prev
1
...
4
5
6
7
8
9
10
11
12
13
14
...
21
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register