Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c) For each of the following statements about regular expressions , and languages A,B, state whether they are true or false. Provide a one-sentence justification
c) For each of the following statements about regular expressions , and languages A,B, state whether they are true or false. Provide a one-sentence justification for each answer. i. lang (())=lang(()). ii. lang (())=lang(). iii. lang (())=lang(()()). iv. lang (()()()())=lang(()+). v. If A is regular, then AR (the language formed by reversing every string in A ) is also regular. vi. if A is regular, then {xy:xA,y/A} is regular. vii. If A is regular and B is non-regular, then AB is non-regular. viii. If A is regular and B is non-regular, then AB is non-regular. ix. If A and B are both non-regular, then AB is non-regular. x. If A is non-regular, then A is non-regular
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started