Computer Science, asked by sitharasinan9895, 11 months ago

State the differences between recursive and recursively enumerable languages.

Answers

Answered by benson54
2

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.

Answered by mohmmadkhan521752
1

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

Similar questions