in Theory of Computation
736 views
0 votes
0 votes

According to me option B is correct. 

in Theory of Computation
736 views

2 Comments

Yes b
1
1
reshown by
Edited:

Got it!
0
0

3 Answers

1 vote
1 vote
if C,X,Y belongs to (a+b)* then it can be regular
if C is some character which is not in the alphabet of X and Y, then its DCFL but not regular

4 Comments

you can convert the condition as XR != Y ryt?
if X !=YR then XR !=Y  and vice versa
both are same isnt it?
 

1
1

XR!=Y can be done by DCFL

0
0
@Anusha Thanks. I got your logic.
0
0
1 vote
1 vote

Anwer is (B)

C is not belonging to any set,as it is not given anything than generally we assume like this usually!

now |x| = |y| (Push x till 'c' appear and than pop 1 'x' for every 1 'y'

Here, x != yR (If it is x != xR or y != yR, than we need comparison but there is no need for comparison here!)

So, answer is (B) and if we assume that x,c,y all belongs to Sigma* than answer would be (A)

0 votes
0 votes
Option B

becoz here center is given so it is DCFL and comparison is present here so it's not regular lang.

Related questions