State the differences between recursive and recursively enumerable languages.
Answers
Answer:
Explanation:
Recursive Language: Let L be a language over an input and if TM ‘T’ (Turing machine T) excepts every word in L and rejects every word of L^' it is called as recursive language.
Example:
(i) String ends with ‘101’
(ii) Number of ‘a’ = number of ‘b’
Accept (T) = L
Reject (T) = L'
Loop (T) = φφ
φ = null φ = null
Recursive languages are also called as Turing decidable languages.
A recursive language can be decided by Turing machine.
Recursively enumerable language: Let L be a language over an input, and if TM ‘T’ excepts every word of L and rejects or loops every word in L’ then it is called recursively enumerable language.
Example:
an bn
Accept (T) = L
Reject (T) + Loop (T) = L'
Recursively enumerable language are also called as Turing recognizable languages.
RE languages or type-0 languages are generated by type-0 grammars.
Answer:
recursively enumerable language :the machine halts for input strings which are in language L. but for input strings which are not in L, it may halt or may not halt.
recursive language :it always halt whether it is accepted by the machine or not.
hope it will help you
mark as brainliest