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
Number of states in a minimal DFA construction
humblefool
asked
in
Theory of Computation
Nov 2, 2017
1,700
views
2
votes
2
votes
Suppose L is a regular language of all a's and b's where the number of a's is divisible by m and the number of b's is divisible by n. If M is the minimal DFA accepting language L, then what is the number of states in M ? Is it nm or (n+1)(m+1) ?
theory-of-computation
minimal-state-automata
finite-automata
number-of-states
humblefool
asked
in
Theory of Computation
Nov 2, 2017
by
humblefool
1.7k
views
answer
comment
Follow
share this
share
1 comment
by
just_bhavana
commented
Nov 2, 2017
reply
Follow
share this
It is
n*m
3
3
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
5
votes
5
votes
....
Hira Thakur
answered
Nov 5, 2017
by
Hira Thakur
comment
Follow
share this
2 Comments
by
Sumaiya23
commented
Jan 24, 2018
reply
Follow
share this
In such questions where we the number of states in minimal DFA are asked, do we have to count the trap state also?
0
0
by
sanju77767
commented
Apr 9, 2018
reply
Follow
share this
yes we will count the trap state also it is not NFA it DFA for invalid string there will be a trap state if u remove that ur ans will be wrong
0
0
Please
log in
or
register
to add a comment.
1
vote
1
vote
Finite automata is capable of performing modular counting. By saying mod2 it means it has seen 2 inputs for the same. Similarly for xmodn, means n states required. So, n*m.
aditya rawat
answered
Nov 10, 2017
by
aditya rawat
comment
Follow
share this
1 comment
by
Sona Barman
commented
Jan 13, 2018
reply
Follow
share this
X mod n means n states are required.
So, n*m. What is m? Please explain.
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
3
answers
1
kislaya Pant
asked
in
Theory of Computation
May 8, 2018
3,171
views
No of states in Minimal DFA
Ques:- Let ∑= {0, 1} What will be the number of states in minimal DFA, if the Binary number string is congruent to (mod 8)? *[ Can anybody explain this as I am getting 8 states for this since remainders will be 8 (0,1,2,3,4,5,6,7). But the answer is 4].
kislaya Pant
asked
in
Theory of Computation
May 8, 2018
by
kislaya Pant
3.2k
views
theory-of-computation
minimal-state-automata
finite-automata
number-of-states
1
vote
1
vote
1
answer
2
kislaya Pant
asked
in
Theory of Computation
May 8, 2018
1,096
views
Minimal Final States in DFA
Ques:- What are the number of final states in minimal DFA, where ∑= {a, b}, if every string starts with “aa” and length of the string is not congruent to 0 (mod 4).
kislaya Pant
asked
in
Theory of Computation
May 8, 2018
by
kislaya Pant
1.1k
views
theory-of-computation
minimal-state-automata
finite-automata
number-of-states
3
votes
3
votes
1
answer
3
rahul sharma 5
asked
in
Theory of Computation
Aug 4, 2017
1,317
views
Number of Final states in minimal FA(NFA)
What will be total number of final states in NFA for the given regular expression? $R=(a+b)^{*}b(a+b+\epsilon )$
rahul sharma 5
asked
in
Theory of Computation
Aug 4, 2017
by
rahul sharma 5
1.3k
views
theory-of-computation
minimal-state-automata
finite-automata
number-of-states
2
votes
2
votes
1
answer
4
rahul sharma 5
asked
in
Theory of Computation
Nov 9, 2017
952
views
TOC :- Number of states in DFA
Minimum number of states in DFA where:, Number of a's and Number of b's are even and epsilon is not accepted.Langugae is defined over {a,b}
rahul sharma 5
asked
in
Theory of Computation
Nov 9, 2017
by
rahul sharma 5
952
views
theory-of-computation
finite-automata
minimal-state-automata
number-of-states
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