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
Are these two languages equal?
sripo
asked
in
Theory of Computation
Nov 6, 2018
572
views
0
votes
0
votes
L1=ab*
L2=a(aa)*b(bb)*
Are the languages equal if not what relation do they satisfy?
theory-of-computation
regular-language
regular-grammar
sripo
asked
in
Theory of Computation
Nov 6, 2018
by
sripo
572
views
answer
comment
Follow
share this
share
4 Comments
Show 2 previous comments
by
Shamim Ahmed
commented
Nov 6, 2018
reply
Follow
share this
No it is not because 'a' is not present in set L2.
0
0
by
sripo
commented
Nov 6, 2018
reply
Follow
share this
a is present at the start min string is ab for L2 and for L1 it is a.
0
0
by
Shamim Ahmed
commented
Nov 6, 2018
reply
Follow
share this
A DFA accepting 'aa' cannot accept 'a' unless you form a final state that accepts 'a'.
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 Is subset of L2
Priyanka Agarwal
answered
Nov 6, 2018
by
Priyanka Agarwal
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
0
votes
0
votes
1
answer
1
Rahhhhhul
asked
in
Theory of Computation
Jun 12, 2023
819
views
Give a regular expression for L = {a^nb^m: n ≥ 1,m ≥ 1,nm ≥ 3}.
Rahhhhhul
asked
in
Theory of Computation
Jun 12, 2023
by
Rahhhhhul
819
views
regular-expression
regular-language
regular-grammar
theory-of-computation
2
votes
2
votes
2
answers
2
Ash666
asked
in
Theory of Computation
Sep 12, 2021
1,287
views
KTU University Exam 2021
Let r1=(0+1)*, r2=0*1+10*+0*+1*. What is the length of the smallest string that is present in language corresponds to regular expression r1 and not present in language corresponds to regular expression r2. 2 3 1 none of the above
Ash666
asked
in
Theory of Computation
Sep 12, 2021
by
Ash666
1.3k
views
theory-of-computation
regular-expression
regular-language
regular-grammar
2
votes
2
votes
1
answer
3
aditi19
asked
in
Theory of Computation
Feb 24, 2019
939
views
Peter Linz Edition 4 Exercise 3.1 Question 5 (Page No. 75)
what is the regular grammar for L={$a^nb^m$ | n+m is even}
aditi19
asked
in
Theory of Computation
Feb 24, 2019
by
aditi19
939
views
theory-of-computation
peter-linz
peter-linz-edition4
finite-automata
regular-language
regular-expression
regular-grammar
1
vote
1
vote
0
answers
4
aditi19
asked
in
Theory of Computation
Feb 24, 2019
520
views
Peter Linz Edition 4 Exercise 3.3 Question 6 (Page No. 97)
Construct a right linear grammar for the language $L((aab^*ab)^*)$ is this grammar correct? S->aaA | ε A->bA | abA | S
aditi19
asked
in
Theory of Computation
Feb 24, 2019
by
aditi19
520
views
theory-of-computation
peter-linz
peter-linz-edition4
finite-automata
regular-language
regular-grammar
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