in Theory of Computation
269 views
1 vote
1 vote

in Theory of Computation
269 views

1 Answer

0 votes
0 votes

Ans : C) L1 $\cap$ L2

Firstly input is fed to M1 , if M1 accepts input then it is fed to M2. So, if both the machines accepts input then it says YES(accepted), otherwise NO.

3 Comments

Why not i/p apply to both Machine simultaneously then?
0
0
Yes we can apply input to both the machines and take AND of YES

But

In this case, if the first machine rejects the input then we won't be feeding it to another machine, we can directly say whether string belongs to lang or not. It is just for efficiency.
1
1
@ Kantikumar
I think it would be L1.L2 becoz of this sequential way of giving input.See in case of L1.L2 if M1 gives no i.e L1 not recursive then we can declare ans as no.We will go to M2 only if M1 provides yes.And No will be for M1 or M2.
Please check once
0
0

Related questions