Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Peter Linz Edition 4 Exercise 7.1 Question 3.c,3.d,4.f,4.j (Page No. 183)
Shubhanshu
asked
in
Theory of Computation
Jul 8, 2017
edited
Apr 20, 2019
by
Naveen Kumar 3
1,890
views
2
votes
2
votes
Q3) Given,
$L_1 = (aaa^*b)$
$L_2 = (aab^*aba^*)$
Find (c) the union of $L_1$ and $L_2$, and also find (d) $L_1 - L_2$.
Q4) Find the npda's of the following:
f) $L = \{ a^nb^m :n \leq m \leq 3n\}$
j) $L = \{w : 2n_a(w) \leq n_b(w)) \leq 3n_a(w) \}$.
theory-of-computation
context-free-language
peter-linz
peter-linz-edition4
pushdown-automata
npda
Shubhanshu
asked
in
Theory of Computation
Jul 8, 2017
edited
Apr 20, 2019
by
Naveen Kumar 3
by
Shubhanshu
1.9k
views
answer
comment
Follow
share this
share
1 comment
by
joshi_nitish
commented
Jul 8, 2017
reply
Follow
share this
L1 union L2= aaa*b+aab*aba*....
L1-L2= aa(ϵ + aaa*)b = aab + aaaaa*b
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
L1 U L2 Will be
aaa*b*aba*
L1 - L2 will be aaaaa*b + aab
Q2
1 is DPDA
2 is NPDA
Sadique Ul Malik
answered
May 29, 2018
by
Sadique Ul Malik
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
0
answers
1
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
604
views
Peter Linz Edition 4 Exercise 7.1 Question 3 (Page No. 183)
Construct npda's that accept the following regular languages. (a) $L_1 = L (aaa^*b)$. (b) $L_1 = L (aab^*aba^*)$. (c & d here)
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
by
Naveen Kumar 3
604
views
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
0
votes
0
votes
1
answer
2
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
511
views
Peter Linz Edition 4 Exercise 7.1 Question 9 (Page No. 183)
Is it possible to find a dfa that accepts the same language as the pda $M= (${$q_0,q_1$},{$a,b$},{$z$},$\delta,q_0,z,${$q_1$}), with $\delta(q_0,a,z)=${$(q_1,z)$}, $\delta(q_0,b,z)=${$(q_0,z)$}, $\delta(q_1,a,z)=${$(q_1,z)$}, $\delta(q_1,b,z)=${$(q_0,z)$} ?
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
by
Naveen Kumar 3
511
views
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
0
votes
0
votes
0
answers
3
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
341
views
Peter Linz Edition 4 Exercise 7.1 Question 8 (Page No. 183)
Find an npda for the language $L =$ {$ab (ab)^n b (ba)^n : n ≥ 0$}.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
by
Naveen Kumar 3
341
views
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
0
votes
0
votes
0
answers
4
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
359
views
Peter Linz Edition 4 Exercise 7.1 Question 7 (Page No. 183)
Find an npda for the concatenation of $L (a^*)$ and the language in Exercise 6.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 20, 2019
by
Naveen Kumar 3
359
views
peter-linz
peter-linz-edition4
theory-of-computation
pushdown-automata
npda
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy