1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Other
Other
Introduction to CFL
Which of the ...
Question
Which of the following are CFLs?
A
=
{
x
w
x
r
|
x
,
w
∈
Σ
∗
,
|
x
|
=
|
w
|
}
B
=
{
x
$
w
|
w
i
s
a
s
u
b
s
t
r
i
n
g
o
f
x
,
x
∈
Σ
∗
,
$
∈
Σ
}
A
Both A and B
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Only B
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
None of them
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Only A
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is
D
Only A
None of them
So, option (d) is correct
Suggest Corrections
1
Similar questions
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 language:
I.
[
w
R
x
R
w
R
y
R
|
w
,
x
,
y
ϵ
(
0
,
1
)
∗
]
II.
[
x
w
x
R
|
w
,
x
ϵ
(
0
,
1
)
∗
]
III.
[
w
x
R
w
y
R
|
w
,
x
,
y
ϵ
(
0
,
1
)
∗
]
Which of the above language is regular?
Q.
Consider the following language
I
.
{
w
R
x
R
w
R
y
R
|
w
,
x
,
y
∈
(
0
,
1
)
∗
}
I
I
.
{
x
w
x
R
|
w
,
x
∈
(
0
,
1
)
∗
}
I
I
I
.
{
w
,
x
R
w
y
R
|
w
,
x
,
y
∈
(
0
,
1
)
∗
}
I
V
.
{
w
x
R
w
R
x
|
w
,
x
,
y
∈
(
0
,
1
)
∗
}
Which languages above are regular ?
Q.
Consider the following schedule:
S =
(
2
,
W
,
x
)
,
(
1
,
W
,
z
)
,
(
1
,
W
,
x
)
,
C
1
,
(
2
,
W
,
y
)
,
(
2
,
R
,
y
)
,
(
3
,
W
,
z
)
w
h
e
r
e
C
1
means commit of 1st transaction.
Triple(i, W/R,x) means transaction i writes/reads item x,
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
Introduction to CFL
OTHER
Watch in App
Explore more
Introduction to CFL
Other Other
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