Conversion of NFA to DFA (Example 2)

  Рет қаралды 1,001,568

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 895
@tanvirhasanmonir1627
@tanvirhasanmonir1627 5 жыл бұрын
Millions of thanks to you dear sir. Your tutorial is the best material to learn "Theory of Computation"
@mohdamaan5551
@mohdamaan5551 Жыл бұрын
after 6 years ,still helping passing semester exams.
@ompadhi1476
@ompadhi1476 Жыл бұрын
fr brother
@soumyaranjansamalkiit
@soumyaranjansamalkiit Жыл бұрын
yeh!
@zarefgamz2515
@zarefgamz2515 Жыл бұрын
very true
@Ogg_skimmer
@Ogg_skimmer 10 ай бұрын
True bro
@deveshchahar4303
@deveshchahar4303 9 ай бұрын
Passing!! bhai isse padke to top hai
@capitalofcambrom
@capitalofcambrom 5 жыл бұрын
These examples are fantastic. Thanks for explaining it step-by-step!
@Netugi
@Netugi 5 жыл бұрын
Right? It really helps having every detail explained clearly, so I can see what the process actually is. Was about pulling my hair out doing my class assignment because my notes weren't the best.
@justinphilip3502
@justinphilip3502 5 жыл бұрын
2 years back this day,best tutorial ever
@siddhantgarodia3381
@siddhantgarodia3381 9 ай бұрын
still the best lol
@assaqwwq
@assaqwwq 7 жыл бұрын
i love it when he asks "what is the meaning of this?". my gut reaction is of "i dont know, its not my fault"
@bestof1506
@bestof1506 6 жыл бұрын
Is this a reference to something?
@phoenixultimate8253
@phoenixultimate8253 6 жыл бұрын
no its just a funny reaction
@aadisupersonic
@aadisupersonic 4 жыл бұрын
lol.. relatable enough..
@HARIHaran-ks7wp
@HARIHaran-ks7wp 4 жыл бұрын
lmao so true
@AkbarAli-wx5ld
@AkbarAli-wx5ld 3 жыл бұрын
😂😂😂
@prasathmsd0760
@prasathmsd0760 9 ай бұрын
All the best for tomorrow's exam mate😂
@GauravRao09
@GauravRao09 7 ай бұрын
Thanks bro my exam is tommorow
@futurehofer1564
@futurehofer1564 6 ай бұрын
thanks lol
@4bdisa
@4bdisa 6 ай бұрын
🤣👍
@mhmd1759
@mhmd1759 6 ай бұрын
lol my exam after 10 hours
@blacklion9901
@blacklion9901 6 ай бұрын
I'm going to exam hall while watching 😂
@Rahil_Ali_Khan
@Rahil_Ali_Khan 4 жыл бұрын
ans : should not start with 'ba' and must have odd no of b(s) at the end
@sgr2683
@sgr2683 3 жыл бұрын
correct!! Thanks
@dheepakraaj8352
@dheepakraaj8352 3 жыл бұрын
But abab is accepted ?
@Nishaang
@Nishaang 3 жыл бұрын
@@dheepakraaj8352 strings with not starting with ba and having odd no of b's and ending with odd no. of b's
@paramsavalia7900
@paramsavalia7900 3 жыл бұрын
for ababab, it is wrong according to your condition
@Rahil_Ali_Khan
@Rahil_Ali_Khan 3 жыл бұрын
@@paramsavalia7900 yeah you're right
@sahil.sjiwane
@sahil.sjiwane 5 жыл бұрын
This question came to my university paper. Thanks for the help 🌟
@siyasahoo4965
@siyasahoo4965 10 ай бұрын
The Q are really helping clearing the concept. Even after 7 years it's still helpful ❤
@chocolateboyanubhab7340
@chocolateboyanubhab7340 4 жыл бұрын
i am really a fan of your teaching...such complicated topics are being taught in an easy and simply wap...HATS OFF to you sir...Lots of love from the bottom of my heart.....
@rajasarodar3628
@rajasarodar3628 6 жыл бұрын
NFA : set of all strings over {a,b} that ending with b DFA:set of string b or atleast one 'a' followed by a 'b'
@maxba2543
@maxba2543 5 жыл бұрын
aabb?
@supersakib62
@supersakib62 2 жыл бұрын
Assignment Answer could be: L = {Set of all strings over (a,b) that ends with 'b' but does not start with 'ba' and has odd number of 'b' incase of no 'a' and does not contain 'ababa'} For both DFA abd NFA : {set of all strings over (0, 1) that does not start with 'ba' and ends with 'b' and has odd number of 'b'} 1) ends with an odd number of b’s 2) cannot start with “ba” 3) cannot contain “baba” after an even number of b’s or any number of a’s
@dakshdixit7286
@dakshdixit7286 Жыл бұрын
bbb is answer according to your logic but it will fail So it think answer should be {b, does not start with 'ba' and ends with 'ab' and has odd number of 'b'}
@avinashmishra9163
@avinashmishra9163 Жыл бұрын
@@dakshdixit7286 So, what is right task done in this question?
@dakshdixit7286
@dakshdixit7286 Жыл бұрын
@@avinashmishra9163 i wrote in my comment
@egetahayamaner7094
@egetahayamaner7094 Жыл бұрын
@@dakshdixit7286 How does bbb fail it is in the accepting state.
@msbrdmr
@msbrdmr Жыл бұрын
I think its {dont start with ba, end with b or ab}
@akshatgoyal4035
@akshatgoyal4035 3 жыл бұрын
Great video! Assignment question answer: It takes a string ending with odd number of b to reach it's final state.
@lokeshyanamandra7775
@lokeshyanamandra7775 3 жыл бұрын
But in some cases b Is even bro,so I think so the result will end with b.
@younisthetrainer8461
@younisthetrainer8461 3 жыл бұрын
@@lokeshyanamandra7775 no it takes only odd number of b's
@rohanghauri1935
@rohanghauri1935 2 жыл бұрын
try "abbabab"
@AcezeroGame
@AcezeroGame 2 жыл бұрын
I think it accept every string ending with b
@robintheunleashed2025
@robintheunleashed2025 2 жыл бұрын
@@AcezeroGame yeah its string ending with b
@tomzhang3597
@tomzhang3597 6 жыл бұрын
1) ends with an odd number of b’s 2) cannot start with “ba” 3) cannot contain “baba” after an even number of b’s or any number of a’s
@mohak23898
@mohak23898 6 жыл бұрын
Correct
@syedqamberalikazmi1001
@syedqamberalikazmi1001 6 жыл бұрын
You're so genious
@OllieGee333
@OllieGee333 6 жыл бұрын
#3 is not correct, "bbabab" is accepted.
@poonamshekhawat1576
@poonamshekhawat1576 6 жыл бұрын
i.e strings ends with 'a((b)^n+1) ; n={0,1,....}
@OllieGee333
@OllieGee333 5 жыл бұрын
Mayurdeep Pathak thats 1 b... thats an odd number of b's
@SumitKumar-ne9kc
@SumitKumar-ne9kc Жыл бұрын
So answer of the last question is : string must contain odd number of b's after the first 'a' from the right side and also it must not contain odd number of b's before first 'a' from the left side. all string which follow the above constraint will accept by the given NFA please correct me, if I'm wrong.
@lone_wolf2020
@lone_wolf2020 7 ай бұрын
i think -> The given NFA and it's equivalent DFA accepts any strings made with {a, b} and that must have a single 'b' at the end. try input abab --where no odd numbers of b is present. Feel free to correct me if you think i'm making any mistake.
@sravanip4509
@sravanip4509 Ай бұрын
@@lone_wolf2020 But ' bb ' is not being accepted..
@tahaawan7958
@tahaawan7958 23 күн бұрын
@@sravanip4509 it accepts any string that ends with a non consecutive 'b' at the end.
@viveksharma5672
@viveksharma5672 6 жыл бұрын
Thanks Neso Academy you are doing a great job for students like us. 👍
@stefangjorgjevski1990
@stefangjorgjevski1990 2 жыл бұрын
answer: case1 : strings can contain only one character 'b' , case 2: start with 'a' followed by as much 'a' as you want and end with an odd number of 'b's
@fasterbaiter
@fasterbaiter 2 жыл бұрын
it can also accept strings with no 'a's and only odd no. of 'b'. like if you see, it can accept 'b' or 'bbb' or 'bbbbb' and so on..
@rbek
@rbek 2 жыл бұрын
@@fasterbaiter yes That is exactly what i was about to say
@stefangjorgjevski1990
@stefangjorgjevski1990 2 жыл бұрын
@@fasterbaiter so it would be 3 cases?
@fasterbaiter
@fasterbaiter 2 жыл бұрын
@@stefangjorgjevski1990 no still 2 cases. As a single b is included in the case of odd no Of bs
@fasterbaiter
@fasterbaiter 2 жыл бұрын
@@stefangjorgjevski1990 I think the best answer would be that this FSM accepts string of the form (a^n)(b^m) where n is a whole no. and m is a natural number
@mirzakariaislam610
@mirzakariaislam610 5 жыл бұрын
Thanks a lot. Today is my exam. I took my preparation through your lecture.
@yuvethiekasri606
@yuvethiekasri606 3 жыл бұрын
Assignment Answer could be: L = {Set of all strings over (a,b) that ends with 'b' but does not start with 'ba' and has odd number of 'b' incase of no 'a' and does not contain 'ababa'}
@lone_wolf2020
@lone_wolf2020 7 ай бұрын
The given NFA and it's equivalent DFA accepts any strings made with {a, b} and that must have a single 'b' at the end. Thanks for the lecture sir. ---------
@Akash12-b7n
@Akash12-b7n 6 ай бұрын
incorrect try baab
@youucanexamprep
@youucanexamprep 11 ай бұрын
Strings which are accepted in NFA and DFA both are - 1. Only b. 2. End with b. 3. End with ab.
@anubhavsingh9852
@anubhavsingh9852 9 ай бұрын
wrong,, fails for ababab ,bb,baab etc etc
@rhaypapenfuss
@rhaypapenfuss 4 жыл бұрын
Neso academy is such a life saver
@StanleyChidera-c2h
@StanleyChidera-c2h 7 ай бұрын
L = { set of all strings over (a,b) that contain just 'b' or that starts with 'a' and ends with 'a*b' or that starts with 'bb' and ends with 'a*b'}
@RohitRaj-sf6th
@RohitRaj-sf6th 7 жыл бұрын
For both DFA abd NFA, {set of all strings over (a, b) that ends with odd number of 'b'.}
@karanvenkateshupamanyuise-9407
@karanvenkateshupamanyuise-9407 3 жыл бұрын
it accepts "abab" though. (you've probably already passed atc lol but just saying)
@stefanif2002
@stefanif2002 3 жыл бұрын
doesn't accept babb
@thyagarajarathnampillai5391
@thyagarajarathnampillai5391 3 жыл бұрын
Assignment answer. String cannot start with 'ba', ends with odd number of b's or at most 2 consecutive 'ab's
@ruili7941
@ruili7941 2 жыл бұрын
{a*b, any number of 'a' end with odd number of 'b'}
@anetaivanicova1709
@anetaivanicova1709 4 жыл бұрын
it accepts strings that start with a*n, n=0,1,2.. and followed by b*n/2 != 0
@ProfessionalAmateurQ
@ProfessionalAmateurQ 9 ай бұрын
but it can also accept strings that start with 'b', no?
@amalalzaben3709
@amalalzaben3709 5 жыл бұрын
thank you so much you really saved me ,i have an exam next week and i'm ready because of you
@oceanagencymcp6673
@oceanagencymcp6673 15 күн бұрын
Case 1: L = { Set of all strings over (a,b) that start with 'b'} Case 2: L = { Set of all strings over (a,b) ending with atmost one 'b'}
@elisamutiofficial2245
@elisamutiofficial2245 Жыл бұрын
Thank you Sir. When I learn with your videos , I understand everything thing.
@sstxixo3975
@sstxixo3975 2 жыл бұрын
My answer: All words ending in "b", can't start with "ba", can't contain "baba" (all applied at the same time) Example words that work: b, a(a)b, bb(a)b, bbbbb(bb), a(a)baa(a)b, bb(a)baab; Example words that break the automat: ababa, ba, a(a)baba; Note: Brackets symbolize periods such as in some representations of rational numbers.
@nas.a3512
@nas.a3512 2 жыл бұрын
"bb" is also excluded. Both the DFA and NFA representation do not accept any example words that end with the input "abb"
@pulkitdhirana215
@pulkitdhirana215 4 жыл бұрын
Best tutor ever on YT
@IbrahimAli-mj8ye
@IbrahimAli-mj8ye 2 жыл бұрын
The machine accepts the string 'b' or a string of at least one 'a' followed by a 'b'.
@dereck2199
@dereck2199 2 жыл бұрын
Ans :- 1. it will take odd numbers of 'b' 2. it will take odd number of 'b' end will be followed by 'ab' example :- ''bbb', 'bbbab' this will be accpected by the DFA
@arsh5587
@arsh5587 2 жыл бұрын
Nah bro, abab is also accepted in that dfa , according to me it's the collection of string ends with b
@dereck2199
@dereck2199 2 жыл бұрын
@@arsh5587 i mentioned end with ab.... That abab ends with ab..... So it is accepted
@arsh5587
@arsh5587 2 жыл бұрын
@@dereck2199 yeH u r right but b can be even also
@jenilpatel5610
@jenilpatel5610 6 ай бұрын
Using Arden's Theorem on Above DFA, I get my regular expression solution as: L = ( (b) + ( a + bb )(a + bb + baa + babb)*(bab) ) Which is 100% correct but help me out with reducing it... To claritfy my answer in first bracket there option between either 'b' or whole right side term. in that term, there's three concatinated strings. 1st string has two options 'a' or 'bb' 2nd string has 4 options which is starred (*) which means it can be used 0 or more times. 3rd string is fixed with 'bab'
@guoweih7339
@guoweih7339 4 жыл бұрын
The answer should be: (a +(a+bb)b*a + bb)*b In order to do this, you need to first watch lecture 51.
@itachi-senpaii
@itachi-senpaii 3 жыл бұрын
thanks
@shumailasaifi
@shumailasaifi Жыл бұрын
i first time create diagram by myself feeling good. Thank you sir. Allah-humma-Barik to you are your family.
@it-a-024-ibrahimfarwahaffa2
@it-a-024-ibrahimfarwahaffa2 Жыл бұрын
I think he is not a Muslim ....
@gedelasivakrishna
@gedelasivakrishna 25 күн бұрын
The above DFA & NFA are accepting the Strings that end with 'b'
@yasina63
@yasina63 Жыл бұрын
I found out NFA is stated based on the current input. The DFA has a unique transition from each state to every input. Thanks a million. ❤️🙏 Today I have a final exam. I hope I will get an A+
@navabshaik7280
@navabshaik7280 3 жыл бұрын
It's a dad of all channels to understand kinly the Automata &TOC
@gautamkatyal9966
@gautamkatyal9966 6 жыл бұрын
It accepts the String start from a and nth number of a's and ends with b or String starts with b followed by b and nth number of a's and end with b.
@rohitnair9022
@rohitnair9022 3 жыл бұрын
Why b and not nth number of b's?
@MrLarryLicious
@MrLarryLicious 6 жыл бұрын
THANK YOU FOR YOUR EXISTENCE
@rajashekar4171
@rajashekar4171 4 жыл бұрын
Hi
@pranayaghimire1122
@pranayaghimire1122 2 жыл бұрын
Neso academy is heart of csit students.
@RoshanKumar-d8o
@RoshanKumar-d8o 4 ай бұрын
Bhai aap kon se college se the? Or aapka college me placements ka kya scene tha/hai, Or aapka placement hua?
@asefahmed11
@asefahmed11 11 ай бұрын
After 6 years, still helping me
@BillPark-ey6ih
@BillPark-ey6ih Жыл бұрын
This guy saved my life.
@MischievousSoul
@MischievousSoul Жыл бұрын
It's ans is the strings that ends with odd no of B Because it accepts every string that has odd no of B and doesnt focus on the no of a and b it had in between
@anubhavsingh9852
@anubhavsingh9852 9 ай бұрын
string abab is accepted.what now ;-
@RittickJana
@RittickJana 5 ай бұрын
Thank you so much.... I express my sincere gratitude to you.
@FzOmlan
@FzOmlan Ай бұрын
Answer: The NFA accepts strings that contain at least one 'b', or sequences of 'a' followed by 'b' This DFA accepts strings where the input ends with the character 'b'.
@phantomv1951
@phantomv1951 2 жыл бұрын
L={set of all string over 'a' and 'b' that ends with 'ab'}
@SaurabhGupta-sx4jy
@SaurabhGupta-sx4jy Жыл бұрын
L={Set of all strings over (a,b) that ends with 'b' , 'bbb' or 'ab'}
@vrushaligholap6647
@vrushaligholap6647 3 жыл бұрын
GREAT EXPLANATION SIR! YOU MADE IT VERY SIMPLE AND EASY.
@arunkumarsundaram9941
@arunkumarsundaram9941 5 жыл бұрын
Accepts a string ending with odd number of b's unless one of the following is true: 1. String starts with 'ba' 2. There is an occurrence of 'aba' after an odd number of b's
@alan2211
@alan2211 5 жыл бұрын
No, strings starting with 'ba' will end up in the dead state.
@TariqueGauri
@TariqueGauri 4 жыл бұрын
This condition is not true for aabbb
@himanshugupta3028
@himanshugupta3028 2 жыл бұрын
It accepts the string which satisfies following conditions: - 1. It should not start with 'ba'. 2. Total Number of b's in the string should be odd. 3. The string should end with odd number of b's.
@korhandenizakn6107
@korhandenizakn6107 2 жыл бұрын
Are you sure with your 2. sentence. Try "abaab".
@niteshmodi5468
@niteshmodi5468 2 жыл бұрын
abab is accepted
@randomstuff5714
@randomstuff5714 Жыл бұрын
ASSIGNMENT :- a string which starts with even number of 'b' and ends with odd number of 'b'
@rajearyan
@rajearyan Жыл бұрын
i dont think it is even number of b's. It is odd only.
@okko7788
@okko7788 11 ай бұрын
But abab works but shouldn't be accepted according to your definition
@randomstuff5714
@randomstuff5714 11 ай бұрын
@@rajearyan No, It must be even also. Example- "ba" won't be accepted but it still contains odd number of b's.
@randomstuff5714
@randomstuff5714 11 ай бұрын
@@okko7788 No, it will be accepted according to my definition. "abab" is starting with 0- 'b' and zero is an even number and it is ending with 1- 'b' and one is an odd number.
@randomstuff5714
@randomstuff5714 11 ай бұрын
I can see that my definition is wrong. one condition is also there, that after odd number of 'b' there should not be 'aba'.
@sagarr3964
@sagarr3964 3 жыл бұрын
It's 2021 , and tomorrow is my exam I have no worries after watching these videos
@danteeep
@danteeep 5 жыл бұрын
far the best video explanation with an example for the conversion of NFA to DFA. thank you so much for this !!!!!!
@RoshanKumar-d8o
@RoshanKumar-d8o 4 ай бұрын
Bhai aap kon se college se the? Or aapka college me placements ka kya scene tha/hai, Or aapka placement hua?
@aniketkumar9621
@aniketkumar9621 3 жыл бұрын
string that accepts all the string over {a,b} that starts from a & must end with ab
@mozammalhossain968
@mozammalhossain968 3 жыл бұрын
The language accepts strings 1. Doesn't start with 'ba' AND 2. Odds number of 'b' in sequence from the ends
@sahilnaik3079
@sahilnaik3079 2 жыл бұрын
That is not correct according to your explanation ababab should be accepted. But your answer is close. Some modification is required
@raviranjan1810
@raviranjan1810 5 жыл бұрын
your videos I just awesome, no words god-level explanation with full concept
@abdullah-al-foysal3731
@abdullah-al-foysal3731 5 жыл бұрын
Assignment solve: Regular expression for accepting state over input symbol (a,b): bba*ba | aa*ba | b Accepting Language grammar G={(S,A,B),(a,b),(S),(S=>bbB | aB , B=>Aba ,A=>aA | ε)}
@pranavagarwal4827
@pranavagarwal4827 5 жыл бұрын
the string that only ends with odd number of b is allowed and if the string starts with b and has to contain a , then their must be at least 2 b in the start
@kingbond470
@kingbond470 5 жыл бұрын
On condition and---- ab🤔?? And for odd number abbbab??
@shivamjaiswal7950
@shivamjaiswal7950 5 жыл бұрын
@@kingbond470 the string that contain odd no. of b at end
@kingbond470
@kingbond470 5 жыл бұрын
@@shivamjaiswal7950 abbbab??
@utshodas001
@utshodas001 Жыл бұрын
great video. is the answer " a^n b^2n+1 n>=0 "?
@shanmugapriya7554
@shanmugapriya7554 3 жыл бұрын
L={set of all strings with 0 or a's and end with odd number of b's}
@AnimeManiaa
@AnimeManiaa 3 жыл бұрын
String that contains any no of a's followed by 0 or even no of b's and end with odd no of b's
@jay3101
@jay3101 4 жыл бұрын
for NFA sol :accepted string ending with. (b) followed by even no of (a).
@VishalSharma-ks6ip
@VishalSharma-ks6ip 4 жыл бұрын
ab is also a string which is accepted.... Here a is not even
@hesham.abd-allah
@hesham.abd-allah 2 жыл бұрын
The assignment's solution is: L={wb^k | w belongs to {a,b}* & k%2=1(k is an odd number)} In other words... it accepts all strings that end with an odd numer of 'b's
@in_sight2236
@in_sight2236 2 жыл бұрын
incorrect: what about babbb? it ends with d state.
@shrunkhalawankhede2611
@shrunkhalawankhede2611 2 жыл бұрын
VERY NICE EXPLANATION. NICE ACADEMY ROCK IS ALL SUBJECTS
@TEMSGENGETIE
@TEMSGENGETIE Жыл бұрын
it is very very very good tutorial live in ethiopia
@aayushve426
@aayushve426 4 ай бұрын
Answer to the assignment: set of strings on (a,b) such that no 'ba' string is present and odd no. of b's at end of string.
@frankhilgenberg7310
@frankhilgenberg7310 9 ай бұрын
ASSIGNMENT: L = {Set of all strings over (a, b) that ends with a odd number of 'b's}
@anubhavsingh9852
@anubhavsingh9852 9 ай бұрын
check it for ababab
@frankhilgenberg7310
@frankhilgenberg7310 9 ай бұрын
ups! With ababab I will end in state D and this is not a final state. So - let me think about it again ;-)
@hariprasath4663
@hariprasath4663 12 сағат бұрын
Assignment: Both the NFA and DFA can accept strings that end with Odd Number of b's, and it will not accept strings, that start or end with ba
@yahyairfan1159
@yahyairfan1159 6 жыл бұрын
Starting with a and ending with odd b,s OR starting and ending with a 'b' only
@MyAsdfqwe
@MyAsdfqwe 5 жыл бұрын
this and union, starts with even b's followed by infinite a's with even b's and ends with b.
@Viggen66
@Viggen66 Жыл бұрын
Thanks for this teaching, awesome lecture
@yuyao4008
@yuyao4008 5 жыл бұрын
way much better than my lecturer thanks a lot.
@adityakukade3691
@adityakukade3691 6 жыл бұрын
all strings ending with b or odd no of b's or a followed by odd no of b's
@deepakvaishnav9780
@deepakvaishnav9780 3 жыл бұрын
It is accepting the strings that end with sequence of 'b' having odd numbers of b consecutively
@fasterbaiter
@fasterbaiter 2 жыл бұрын
I think the best answer would be that this FSM accepts string of the form (a^n)(b^m) where n is a whole no. and m is an odd natural number
@babyharsha9162
@babyharsha9162 9 ай бұрын
For DFA, a string with only 'b' that are odd in number Start with 'a' ends with 'b' Starts with 'bb' ends with 'b'
@anubhavsingh9852
@anubhavsingh9852 9 ай бұрын
what if string is ababab fails for case 2
@ZeeshanAliQureshi93
@ZeeshanAliQureshi93 7 жыл бұрын
b(bb)^* + a^+ b(bb)^* String with odd numbers of b OR a string which starts with a(min one 'a') and ends with odd number of b.
@thrinadhreddyjonnalaAP2211
@thrinadhreddyjonnalaAP2211 Ай бұрын
Video can be old but knowledge cant ...( 8 Years still helps.)🤘
@janvieriyakaremye7694
@janvieriyakaremye7694 2 ай бұрын
L is a set of strings over a and b that ends with b
@shubhrajyotipoddar1684
@shubhrajyotipoddar1684 2 жыл бұрын
set of all strings starts with {a, b} that ends with odd no of b
@longlivefreedom
@longlivefreedom 2 жыл бұрын
Sometimes I found your videos more useful than university lectures.
@AnukiranGhosh
@AnukiranGhosh 2 жыл бұрын
all the time
@Nomnomnom165
@Nomnomnom165 Жыл бұрын
all the time 😂
@markxavior
@markxavior Жыл бұрын
Excellent tutorial professor.
@buzzfeedRED
@buzzfeedRED 6 жыл бұрын
YOU MUST TELL THE ANSWERS OF THE ASSIGNMENT YOU HAVE GIVEN IN YOUR VIDEOS ,
@sundarraj6509
@sundarraj6509 4 жыл бұрын
I think it’s answer is that “the string that either end with ‘b’ or ‘ab’”.
@Adithyan7274
@Adithyan7274 4 жыл бұрын
@@sundarraj6509 ​you are correct but there's one more.. the number of ' b ' should be odd, because even number of ' b ' ends in the state AB which is not the final state.
@ganeshpandeyKing_Brian
@ganeshpandeyKing_Brian 4 жыл бұрын
@@Adithyan7274 The machine accepts string "abab" so i guess there's more to it than just odd numbers of "b".
@abelii8726
@abelii8726 4 жыл бұрын
i think if the number of 'b' is either prime or odd then it's accepted by the machine.
@yokeshnsr1976
@yokeshnsr1976 4 жыл бұрын
@@abelii8726 but 'abbbab' is also accepted
@bellajames7913
@bellajames7913 5 жыл бұрын
Set of all strings with L =( a^n)b
@prashanthi8492
@prashanthi8492 4 жыл бұрын
the answer to the last question is the string that contains only odd no.of b's, strings that ends with oddno.of b's.
@navaneeth2000-qc
@navaneeth2000-qc 2 жыл бұрын
Thankyou very much for this valuable class
@tolulopemalomo8922
@tolulopemalomo8922 2 жыл бұрын
I think the DFA/NFA accepts all strings over { a , b } that end with an odd number of b-s. Please let me know if I'm right.
@SahibpreetKaur
@SahibpreetKaur 10 ай бұрын
I think it's not odd number of b-s but rather all strings ending with a single "b". For example: b, ab, aab, abab. But NOT abb or aabb or aabbb.
@amitpatelyt12
@amitpatelyt12 3 жыл бұрын
❤❤❤ while(i=1) { printf("Thank You Sir "); }
@darraghmanning
@darraghmanning Ай бұрын
The string must satisfy all 4 of these conditions: 1. Not start with BA 2. Not contain BABA unless the preceding substring contains an odd number of B’s 3. Must end in B 4. Must have an odd number of B’s following the last A Can anyone confirm if this is right I spent like 40 mins thinking about this haha
@thyagarajarathnampillai5391
@thyagarajarathnampillai5391 3 жыл бұрын
Assignment answer. String cannot start with 'ba', ends with odd number of b's or at most 2 consecutive 'ab's
@abanoubbenyamin1729
@abanoubbenyamin1729 2 жыл бұрын
you saved so many students. Really god bless you
@snehalmali9630
@snehalmali9630 6 жыл бұрын
Strings will be accepted which doesn't start with 'ba' and containing odd no of 'b's and end with either single 'b' or 'a' followed by 'b'. Is it the right answer, Sir?
@ArunKumar-mv3qj
@ArunKumar-mv3qj 2 жыл бұрын
I think answer will be, accept any string over {a, b}, that ends with 'ab', except starting string 'ba'. Is it right??
@ajaykarthik01
@ajaykarthik01 2 жыл бұрын
thankyou please complete the compiler design tutorial as soon as possible
@djmaster1110
@djmaster1110 6 ай бұрын
Very well explained
@saurabhmourya7271
@saurabhmourya7271 Жыл бұрын
L: {accepts the strings which neither start or end with 'ba'}
@AviralBangar777
@AviralBangar777 8 ай бұрын
very good video easy explanation thank you
@swatimaurya9405
@swatimaurya9405 3 жыл бұрын
Seriously amazing you are 😊😊😊can you please tell which editor you use 😅😅
@RahulKumar-yc2ip
@RahulKumar-yc2ip 3 жыл бұрын
This NFA (or equivalent DFA) accepts all strings over {a,b} that end with odd number of b's.
@deniztopay306
@deniztopay306 3 жыл бұрын
babbb is not accepted. It stays on state D. But all strings that ends with odd number of 'b', doesn't starts with 'ba' and doesn't contain 2'ba's in a row after started corrects this. I am not sure if mine is correct tho.
@sandipdas5684
@sandipdas5684 4 жыл бұрын
Your tutorial on this subject is best sir... Respectfully thank you so much sir...
@healthandenvironment2998
@healthandenvironment2998 6 жыл бұрын
Amazing Sir!! You deserve a subscriber. I HAVE SUBSCRIBED
Conversion of NFA to DFA (Example 3)
7:59
Neso Academy
Рет қаралды 664 М.
Conversion of NFA to DFA (Example 1)
9:06
Neso Academy
Рет қаралды 1 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 114 МЛН
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 23 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 13 МЛН
Conversion of Epsilon NFA to NFA
9:41
Neso Academy
Рет қаралды 1 МЛН
Minimization of DFA (Example 1)
15:56
Neso Academy
Рет қаралды 1,7 МЛН
Conversion of NFA to DFA (Powerset/Subset Construction Example)
12:31
Formal Definition of Non-Deterministic Finite Automata (NFA)
10:45
Neso Academy
Рет қаралды 803 М.
How to Convert NFA to DFA: Dealing with Epsilon Transitions
13:45
Mohammad T. Irfan
Рет қаралды 36 М.
Minimization of Deterministic Finite Automata (DFA)
6:10
Neso Academy
Рет қаралды 741 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 114 МЛН