Question 14261 – Theory-of-Computation
December 6, 2023
Question 9743 – Theory-of-Computation
December 6, 2023
Question 14261 – Theory-of-Computation
December 6, 2023
Question 9743 – Theory-of-Computation
December 6, 2023

Question 9742 – Theory-of-Computation

Consider the following two statements:

    S1: {02n|n≥1|} is a regular language
    S2: {0m1n0m+n|m≥1 and n≥1|} is a regular language

Which of the following statements is correct?

Correct Answer: A

Question 47 Explanation: 
For S1 we can construct DFA. S1 represents the string contains even no. of 0’s. So S1 is regular.
For S2, DFA is not possible which is not regular.
A
Only S1 is correct
B
Only S2 is correct
C
Both S1 and S2 are correct
D
None of S1 and S2 is correct
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!