1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Conisder the ...
Question
Conisder the following languages :
L
1
:
{
w
w
|
w
ϵ
{
a
}
∗
}
L
2
:
{
w
w
|
w
ϵ
{
a
b
}
∗
}
Which of the above languages in non - regular but CFL ?
Open in App
Solution
option (d)
L
1
is Regular and regular expression for
L
1
i
s
(
a
a
)
∗
L
2
Non -CFL. ww is standard non-CFL but CSL.
So, none of these languages is non-regular but CFL.
Suggest Corrections
0
Similar questions
Q.
Consider the following languages over
∑
=
{
a
,
b
}
L
1
=
{
w
w
|
w
∈
{
a
,
b
}
∗
}
L
2
=
complement of
L
1
L
3
=
L
1
∪
L
2
Which of the above languages is Recursively enumerable but not context free language?
Q.
Consider the following languages:
L
1
=
{
w
w
∣
w
ϵ
{
a
,
b
}
∗
}
L
2
=
{
w
w
R
∣
w
ϵ
{
a
,
b
}
∗
,
w
R
i
s
t
h
e
r
e
v
e
r
s
e
o
f
w
}
L
3
=
{
0
2
i
∣
i
i
s
a
n
i
n
t
e
g
e
r
}
L
4
=
{
0
i
2
∣
i
i
s
a
n
i
n
t
e
g
e
r
}
Which of the languages are regular?
Q.
Consider the following languages;
1.
A
=
w
w
r
w
r
w
|
w
∈
Σ
∗
2.
B
=
{
w
w
r
x
x
r
|
w
,
x
∈
Σ
∗
}
3.
C
=
a
i
b
j
a
k
b
l
|
=
|
i
,
j
,
k
,
l
≥
0
,
(
i
+
j
)
=
(
k
+
l
)
The number of the above languges which is CFL's is/are ____.
Q.
Consider the following languages
L
1
={
w
w
R
|
w
∈
(
0
,
1
)
∗
}
L
2
={
w
≠
w
R
|
w
∈
(
0
,
1
)
∗
} where
≠
is a special symbol
L
3
={
w
w
|
w
∈
(
0
,
1
)
∗
}
Which one of the following is TRUE?
Q.
Consider the following languages over the alphabet
∑
={0,1,c};
L
1
={
0
n
1
n
|
n
≥
0
}
L
2
={
w
c
w
r
|
w
ϵ
{0,1}*}
L
3
={
w
w
r
|
w
ϵ
{0,1}*}
Here,
w
r
is the reverse of the string w. Which of these languages are deterministic Context-free languages?
View More
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
Related Videos
Simple and Compound Interest
Watch in App
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
AI Tutor
Textbooks
Question Papers
Install app