Top "Computation-theory" questions

The theory of computation is the branch that deals with whether and how efficiently problems can be solved on a model of computation, using an algorithm.

Prefix of a string

X is a prefix of a string y if there exists xz = y and x is a proper prefix if …

string theory prefix computation-theory
Slowest Computational Complexity (Big-O)

Out of these algorithms, I know Alg1 is the fastest, since it is n squared. Next would be Alg4 since …

algorithm big-o computation-theory
If every subset of a language L is regular then L is regular?

I know that converse of above theorem is not true i.e if L is regular then every subset of …

regular-language computation-theory
Is there a difference between a "finite state machine" and a "state machine"?

I'm not sure I understand if there is a difference between a finite state machine and a state machine? Am …

math statistics computation-theory state-machine
Minimum pumping length for the following regular languages

What are the minimum pumping length for the following languages ? The empty language (01)* 10(11*0)*0 1011 011 U 0*1* Here are my solutions. Please correct …

computer-science regular-language computation-theory compiler-theory
Is a*b* regular?

I know anbn for n > 0 is not regular by the pumping lemma but I would imagine a*b* to …

regular-language computation-theory
Understanding recognizers and deciders in Theory of Computation

I am having some trouble grasping what it means for a machine to recognize and decide a language. I think …

computer-science computation-theory
Example problems not in P nor in NP-complete but in NP

I have a course called Algorithm Analysis at college, where we're currently studying the different complexity classes -- P, NP, …

computer-science theory complexity-theory computation-theory
Prove that the set of all languages over a finite alphabet is uncountable

Trying to do some revision but not sure on this one: Prove that the set of all languages over a fi…

computation-theory countable