Theory-of-Computation
March 6, 2024Question 7809 – Operating-Systems
March 6, 2024Theory-of-Computation
Question 6
|
(a) Given a set
S = {x| there is an x-block of 5’s in the decimal expansion of π}
(Note: x-block is a maximal block of x successive 5’s)
Which of the following statements is true with respect to S? No reasons need to be given for the answer.
- (i) S is regular
(ii) S is recursively enumerable
(iii) S is not recursively enumerable
(iv) S is recursive
(b) Given that a language L1 is regular and that the language L1 ∪ L2 is regular, is the language L2 always regular? Prove your answer.
Theory Explanation.
|
Correct Answer: A
Subscribe
Login
0 Comments