1,298 views
0 0 votes

  1. ϕ
  2. Σ*
  3. L
  4. X

2 Answers

0 0 votes
a)Not possible

b)Correct answer  (L U X)

Regular expression for L=(0+1)*1
Regular expression for X=ϵ+0* +1(0+1)*+0(0+1)*                                                                                                                                    
(L U X)= (0+1)*1 + ϵ+0* +1(0+1)*+0(0+1)* = (0+1)*

c)String 10 is accepted by (L U X) not ending with 1 (not equal to L)
d) It also seems correct I can't find any string accepted in (L U X) that is not there in X.

Some pls check little bit confused.
• edited by
0 0 votes
All options seem wrong!

L is a language ending with 1 and on close inspection of X,

X is a language with even number of 1's.

So (L union X) gives strings which match none of the options.

A) Not possible

B) Both L and X can't generate string '01' so not possible

C,D) Strings of L and X are few same few different so not possible
Position:
Show:

Related questions

1 1 vote
2 2 answers
636
636 views
aftab0711 asked Aug 11, 2024
636 views
Which of the following languages is/are regular?
0 0 votes
1 1 answer
1.2k
1.2k views
M_Umair_Khan42900 asked Dec 29, 2022
1,245 views
Show that the following pairs of regular expressions define the same language over the alphabet I = [a, b].s(a) p(pp)*( A + p)q + q and p*q(b) A +0(0+1)* + (0+1)* 00(0+1)...
4 4 votes
3 answers 3 answers
6.9k
6.9k views
AIkiran01 asked Dec 12, 2018
6,864 views
L={a^m b^n | m-n=even} Is this language a regular language?