Which of the following statements is/are true?
["C","D"]
Step-by-Step Solution
Insight: Both automata only accept strings whose length is a multiple of 3, but they accept disjoint sets of non-empty strings of length 3.
Exam route: Check cycles of length 3 from the start state. and have no common non-empty accepted strings, so intersection is . Their union covers all strings of length 3, so the Kleene star of their union is all strings of length divisible by 3.
Learning route:
- Observe that in both and , the start state is the only final state (indicated by the double circle).
- Any directed cycle from the start state back to itself in both automata has a length that is a multiple of 3. Thus, any accepted string must have a length divisible by 3 (including , which has length 0).
- Analyze the strings of length 3 accepted by each. accepts a specific subset of , and accepts the complementary subset of .
- Since they accept disjoint sets of length-3 strings, . This makes option C true.
- Because their intersection is only , neither language is a subset of the other, ruling out options A and B.
- The union contains all possible binary strings of length 3.
- The Kleene star of a language containing all strings of length 3 is exactly the set of all strings whose length is a multiple of 3. Thus, option D is true.