Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged context-sensitive
3
votes
2
answers
1
TOC - Self Doubt
Can anyone explain $\overline{ww}$ is $CFL$ or $CSL$ And if $CFL$ can you write the equivalent $CFG$ for this ?
Can anyone explain $\overline{ww}$ is $CFL$ or $CSL$ And if $CFL$ can you write the equivalent $CFG$ for this ?
Jiten008
367
views
Jiten008
asked
Oct 24, 2023
Theory of Computation
pushdown-automata
theory-of-computation
self-doubt
regular-language
context-free-language
context-sensitive
turing-machine
closure-property
context-free-grammar
+
–
2
votes
0
answers
2
Is it CFL or CSL?
Is {$a^nb^nc^n$ | $n>=0$} CSL? After comparing both a and b, stack would be empty. So it can’t be CFL. So it is CSL or recursive. And does this language require more than 1 stack? Please tell how would check for the grammer of this language even if it is in CSL. Thank you
Is {$a^nb^nc^n$ | $n>=0$} CSL? After comparing both a and b, stack would be empty. So it can’t be CFL. So it is CSL or recursive. And does this language require more th...
h4kr
288
views
h4kr
asked
Dec 23, 2022
Theory of Computation
theory-of-computation
context-free-language
context-sensitive
pushdown-automata
+
–
3
votes
2
answers
3
Is it also CSL?
Is the following Language, L = {xxxx | x ∈ {0, 1}*} CSL or not? I saw a explanation say that it’s REC, but it didn’t say anything about it not being CSL and I used to think strings like {xx | x ∈ {0, 1}*} are CSL where the same strings keep repeating [like x here]. So is it CSL and please do also tell is there a rule to figure that out?
Is the following Language, L = {xxxx | x ∈ {0, 1}*} CSL or not? I saw a explanation say that it’s REC, but it didn’t say anything about it not being CSL and I used ...
h4kr
779
views
h4kr
asked
Dec 18, 2022
Theory of Computation
theory-of-computation
context-sensitive
recursive-and-recursively-enumerable-languages
+
–
0
votes
2
answers
4
Theory of Computation | Automata
L= {$a^nb^nc^nd^n; n\geq 0$} Given Language is a CSL TRUE FALSE
L= {$a^nb^nc^nd^n; n\geq 0$} Given Language is a CSLTRUEFALSE
Souvik33
698
views
Souvik33
asked
Dec 12, 2022
Theory of Computation
theory-of-computation
context-sensitive
+
–
2
votes
1
answer
5
ace academy ToC
I don’t get the explanation, How do you categorize grammer on the basis of production?
I don’t get the explanation, How do you categorize grammer on the basis of production?
h4kr
576
views
h4kr
asked
Dec 4, 2022
Theory of Computation
theory-of-computation
context-sensitive
grammar
ace-test-series
+
–
0
votes
1
answer
6
Context Sensitive Grammars
Is the following CSG for a^n b^n c^n correct? S->aSbC|abc Cb->bC C->c If not please explain why?
Is the following CSG for a^n b^n c^n correct?S->aSbC|abcCb->bCC->cIf not please explain why?
preethi01
1.7k
views
preethi01
asked
Jan 29, 2022
Theory of Computation
theory-of-computation
context-sensitive
+
–
0
votes
1
answer
7
Closure Properties of Languages
let L = “CFL but not REGULAR”, Can we get complement of L as CFL? Unlike in the case of Recursively Enumerable(RE) language where if L = “RE but not RECURSIVE”, its complement can never be RE.
let L = “CFL but not REGULAR”, Can we get complement of L as CFL?Unlike in the case of Recursively Enumerable(RE) language where if L = “RE but not RECURSIVE”, it...
UltraRadiantX
472
views
UltraRadiantX
asked
Oct 9, 2021
Theory of Computation
theory-of-computation
context-free-language
context-sensitive
+
–
0
votes
2
answers
8
UGC NET CSE | June 2005 | Part 2 | Question: 32
Which of the following is the most general phase – structured grammar ? Regular Context – Sensitive Context free None of these
Which of the following is the most general phase – structured grammar ?RegularContext – SensitiveContext freeNone of these
go_editor
349
views
go_editor
asked
Mar 26, 2020
Compiler Design
ugcnetcse-june2005-paper2
compiler-design
grammar
context-sensitive
+
–
0
votes
1
answer
9
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
+
–
2
votes
1
answer
10
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
11
Ace Book
The complement of the language L containing an equal number of a's , b's and c's is a)regular b)context free c)context sensitive but not context free d)recursive and not a CFL
The complement of the language L containing an equal number of a's , b's and c's isa)regularb)context freec)context sensitive but not context freed)recursive and not a CF...
abhishek1995_cse
539
views
abhishek1995_cse
asked
Oct 21, 2018
Theory of Computation
context-free-language
pushdown-automata
context-sensitive
+
–
0
votes
0
answers
12
Doubt in Grammar
What is the difference between phase structured grammar and phrase structured grammar?
What is the difference between phase structured grammar and phrase structured grammar?
goluabhinan
204
views
goluabhinan
asked
Sep 16, 2018
Theory of Computation
theory-of-computation
grammar
context-sensitive
compiler-design
+
–
0
votes
0
answers
13
Doubt in Grammar
Below is the grammar then find the language generated by given grammar S → ABC AB → aAx |bAy | ε xb → bx ya → ay C → ε yb → by xC → BaC aB → Ba yC → BbC bB → Bb xa → ax Correct option : (a) L = {w|w ∈ (a, b)∗, and xa(w) = xb(w)} (b) L = {w|w ⊆ (a, b)+, and w is a palandrom string (c) L = {w|w ⊆ (a, b)∗, and w = xx, where X = (a, b)∗} (d) None of the above
Below is the grammar then find the language generated by given grammarS → ABCAB → aAx |bAy | εxb → bxya → ayC → εyb → byxC → BaCaB → BayC → BbCbB → ...
goluabhinan
293
views
goluabhinan
asked
Sep 10, 2018
Theory of Computation
theory-of-computation
grammar
context-sensitive
+
–
0
votes
2
answers
14
UGC NET CSE | July 2018 | Part 2 | Question: 37
Context sensitive language can be recognized by a Finite state machine Deterministic finite automata Non-deterministic finite automata Linear bounded automata
Context sensitive language can be recognized by a Finite state machineDeterministic finite automataNon-deterministic finite automataLinear bounded automata
Pooja Khatri
2.0k
views
Pooja Khatri
asked
Jul 13, 2018
Theory of Computation
ugcnetcse-july2018-paper2
theory-of-computation
context-sensitive
+
–
0
votes
2
answers
15
context sensitive grammer
it is given that in csg if @-># then length of @ should be less or equal to # then how aaB->c is a csg???
it is given that in csg if @->#then length of @ should be less or equal to #then how aaB->c is a csg???
Ravi prakash pandey
605
views
Ravi prakash pandey
asked
Apr 7, 2018
Theory of Computation
theory-of-computation
context-sensitive
+
–
1
votes
2
answers
16
Regular and CFL
LC may be CFL LC cannot be CFL LC may be regular LC may or may not be CFL
LC may be CFL LC cannot be CFL LC may be regular LC may or may not be CFL
Parshu gate
769
views
Parshu gate
asked
Dec 10, 2017
Theory of Computation
theory-of-computation
context-free-language
context-sensitive
+
–
2
votes
1
answer
17
Doubt in CSL and CFL
$a) \{\ 0^i\ 1^j\ 2^k\ \ | where\ i\ \neq j\ or\ j\ \neq k\ \}$ $b) \{\ 0^i\ 1^j\ 2^k\ \ | where\ i\ \neq j\ and\ j\ \neq k\ \}$ a) CFL(union of two OR-ed comparisons ) b) CSL( Double comaprison ) Am I correct?
$a) \{\ 0^i\ 1^j\ 2^k\ \ | where\ i\ \neq j\ or\ j\ \neq k\ \}$$b) \{\ 0^i\ 1^j\ 2^k\ \ | where\ i\ \neq j\ and\ j\ \neq k\ \}$a) CFL(union of two OR-ed compa...
Tuhin Dutta
708
views
Tuhin Dutta
asked
Dec 4, 2017
Theory of Computation
theory-of-computation
context-sensitive
context-free-language
+
–
0
votes
0
answers
18
General syllabus doubt
Hello, The gate 2018 syllabus explicitly mentions regular languages, context free languages and turing machines. It does not say anything about context sensitive languages and linear bounded automata..How much of these topics should i study?..definitions? closure properties?
Hello,The gate 2018 syllabus explicitly mentions regular languages, context free languages and turing machines. It does not say anything about context sensitive languages...
Tridhara Chakrabarti
573
views
Tridhara Chakrabarti
asked
Nov 23, 2017
Study Resources
context-sensitive
theory-of-computation
syllabus
gate2018-preparation
grammar
+
–
5
votes
1
answer
19
Regular and CFL
Let L={ai bj ck ┤|if j is odd then i=k} where i,j,k>0. Which of the following option is true about L? L is CSL but not CFL L is CFL but not DCFL L is regular L is DCFL but not regular
Let L={ai bj ck ┤|if j is odd then i=k} where i,j,k>0. Which of the following option is true about L? L is CSL but not CFL L is CFL but not DCFL L is regular L is D...
Parshu gate
710
views
Parshu gate
asked
Nov 16, 2017
Theory of Computation
theory-of-computation
regular-language
context-sensitive
context-free-language
+
–
0
votes
0
answers
20
Peter Linz Edition 4 Example 10.5 (Page No. 272)
Find a linear bounded automata that accepts the language 1. L={a^(n!) : n>=0} 2. L ={a^n : n is perfect square} Please explain.
Find a linear bounded automata that accepts the language1. L={a^(n!) : n>=0}2. L ={a^n : n is perfect square}Please explain.
Nikita888
1.6k
views
Nikita888
asked
Nov 16, 2017
Theory of Computation
theory-of-computation
context-sensitive
peter-linz
peter-linz-edition4
+
–
0
votes
1
answer
21
Language which is not a CSL but can be accepted by TM
Can anyone give me an example of a language which is not a CSL but can be accepted using a Halting TM?
Can anyone give me an example of a language which is not a CSL but can be accepted using a Halting TM?
Xylene
1.6k
views
Xylene
asked
Jun 15, 2017
Theory of Computation
theory-of-computation
context-free-language
pushdown-automata
context-sensitive
recursive-and-recursively-enumerable-languages
turing-machine
+
–
2
votes
3
answers
22
CSL and Regular language
if L1 = { anbncn | n>= 0 } and L2 = { anbmck | k,n,m>=0} L1 is CSL and L2 is regular. Now L3 = L1.(L2)*. Is L3 is regualar or CSL?
if L1 = { anbncn | n>= 0 } and L2 = { anbmck | k,n,m>=0}L1 is CSL and L2 is regular.Now L3 = L1.(L2)*.Is L3 is regualar or CSL?
AnilGoudar
3.1k
views
AnilGoudar
asked
May 10, 2017
Theory of Computation
theory-of-computation
context-sensitive
regular-language
+
–
7
votes
3
answers
23
ISRO2017-11
Given the following statements S1 : Every context-sensitive language $L$ is recursive S2 : There exists a recursive language that is not context-sensitive Which statements are true? Only S1 is correct Only S2 is correct Both S1 and S2 are not correct Both S1 and S2 are correct
Given the following statementsS1 : Every context-sensitive language $L$ is recursiveS2 : There exists a recursive language that is not context-sensitiveWhich statements a...
sh!va
6.0k
views
sh!va
asked
May 7, 2017
Theory of Computation
isro2017
theory-of-computation
context-sensitive
+
–
4
votes
0
answers
24
Are CSL, RE, Recursive languages closed under Subset operation?
Regular languages are not closed under Subset - Example anbn is subset of a*b* which is non-regular. DCFL/CFL languages are not closed under Subset - Example anbncn is subset of anbnc* which is non-cfl. Are the languages CSL,Recursive or Recursively Enumerable lanuages closed under Subset operation?
Regular languages are not closed under Subset - Example anbn is subset of a*b* which is non-regular.DCFL/CFL languages are not closed under Subset - Example anbncn is su...
yg92
2.8k
views
yg92
asked
Feb 8, 2017
Theory of Computation
theory-of-computation
recursive-and-recursively-enumerable-languages
context-sensitive
context-sensitive-languages
closure-property
+
–
0
votes
1
answer
25
geeks mock 2017 #56
Which of the following statements is correct about context sensitive grammar? I) In a context sensitive grammar, ε can't be the right hand side of any production II) In a context sensitive grammar, number of grammar symbols on the left hand side of a ... non-terminals on the right hand side Isn't (II) (non contracting grammar is also CSL) and (IV) both are correct
Which of the following statements is correct about context sensitive grammar?I) In a context sensitive grammar, ε can’t be the right hand side of any productionII) In ...
Pankaj Joshi
3.0k
views
Pankaj Joshi
asked
Jan 14, 2017
Compiler Design
geeksforgeeks-test-series
compiler-design
context-sensitive
+
–
0
votes
0
answers
26
Virtual Gate Test Series: Theory Of Computation - Context Sensitive Grammar
How can L(G) be regular? If we derive bSb --> bAcAb, now we have Ab-->b but we do not have the production bA since G is all production except last. So there is no production for A or bA. How can we go further?
How can L(G) be regular?If we derive bSb bAcAb, now we have Ab >b but we do not have the production bA since G is all production except last. So there is no production ...
Purple
428
views
Purple
asked
Jan 12, 2017
Theory of Computation
theory-of-computation
context-sensitive
grammar
virtual-gate-test-series
+
–
10
votes
2
answers
27
Which of these languages are regular, CFL and CSL?
Consider the following statements: $L_1=\left\{\text{wxw$^R$|w$\in$(a,b)$^*$, x$\in$c }\right\}$ $L_2=\left\{\text{wy|w, y $\in$ (a,b)$^*$}\right\} $ ... free, $L_2$ and $L_3$ are regular and $L_4$ is context sensitive languages $L_1, L_4$ are context free, $L_2$ and $L_3$ is context sensitive languages
Consider the following statements:$L_1=\left\{\text{wxw$^R$|w$\in$(a,b)$^*$, x$\in$c }\right\}$$L_2=\left\{\text{wy|w, y $\in$ (a,b)$^*$}\right\} $$L_3=\left\{\text{zwz|w...
Mahesha999
2.9k
views
Mahesha999
asked
Dec 25, 2016
Theory of Computation
theory-of-computation
context-free-language
context-sensitive
+
–
3
votes
2
answers
28
How can I tell if these languages are context sensitive
How can I tell if languages $L_1$ and $L_2$ are Context Sensitive or not?
How can I tell if languages $L_1$ and $L_2$ are Context Sensitive or not?
Mahesha999
972
views
Mahesha999
asked
Dec 25, 2016
Theory of Computation
theory-of-computation
context-sensitive
+
–
1
votes
1
answer
29
context sensitive language
L = { ${\epsilon }$ } is a a) regular b) CFL c) CSL d) recursive language
L = { ${\epsilon }$ } is aa) regularb) CFLc) CSLd) recursive language
Neal Caffery
1.1k
views
Neal Caffery
asked
Dec 2, 2016
Theory of Computation
theory-of-computation
identify-class-language
context-sensitive
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register