1,220 views
1 1 vote

How to decide the complexity of any language?

1 Answer

1 1 vote

Don't know what that complexity is about.

The question says that TM halts on every input i.e it outputs Yes for all strings belonging to L and NO for those that doesn't.

It implies its a halting TM which accepts Recursive language. (Recursive is superset of CFL and CSL).

For Recursively Enumerable languages, TM halts for acceptable strings but doesn't halt always if string doesn't belong to L and goes into infinite looping.

So answer is Recursive language

Position:
Show:

Related questions

2 2 votes
1 1 answer
106
106 views
GO Classes asked Sep 19
106 views
Which statements are true?Every language recognized by an $n$-state DFA can be recognized by an NFA with $n$ states. Every language recognized by an $n$-state NFA can be ...
3 3 votes
1 answers 1 answer
2.4k
2.4k views
ankitgupta.1729 asked Mar 27, 2018
2,357 views
According to this Hopcroft's algorithm , we can efficiently minimize a Finite automata in $O(nlogn)$ time (polynomial time algo) then why it is said that Minimizing Fin...
0 0 votes
0 0 answers
875
875 views
hacker16 asked Dec 24, 2017
875 views
did P and NP is still in the syllabus? @ COMPUTABILITY AND COMPLEXITY{TOC}
0 0 votes
0 0 answers
380
380 views