4.1 How to identify Regular Language? | Testing whether a language is regular or not! | TOC Automata

  Рет қаралды 320,773

KnowledgeGATE by Sanchit Sir

KnowledgeGATE by Sanchit Sir

Күн бұрын

📝 Please message us on WhatsApp: wa.me/91800012...
💻 KnowledgeGate Website: www.knowledgeg...
📲 KnowledgeGate Android App: tiny.cc/KG_Offi...
➡ Do not miss our Bestseller Courses:
🔴 GATE Guidance-2025: www.knowledgeg...
🟠 GATE Guidance-2026: www.knowledgeg...
➡ Contact Us:
🟩 Whatsapp Chat: wa.me/91859512...
📞Call on: +91-8000121313
🟦 Telegram Updates: t.me/kg_gate
🟩 Whatsapp Updates: www.whatsapp.c...
📧 Email: contact@knowledgegate.in
➡ Our One Shot Semester Exam Videos: 👇
▶ Operating System: • Complete Operating Sys...
▶ DBMS: • Complete DBMS Data Bas...
▶ Computer Network: • Complete CN Computer N...
▶ Digital Electronics: • Complete DE Digital El...
▶ Computer Architecture: • Complete COA Computer ...
▶ Data Structure: • Complete DS Data Struc...
▶ Algorithm: • Complete DAA Design an...
▶ Software Engineering: • Complete Software Engi...
▶ Theory of Computation: • Complete TOC Theory of...
▶ Compiler: • Complete CD Compiler D...
▶ Discrete Maths: • Complete DM Discrete M...
➡ Free Subject-Wise Complete PlayList: 👇
▶️ DBMS: tiny.cc/kg_yt_DBMS
▶️ Operating System: tiny.cc/kg_yt_OS
▶️ TOC|Automata: tiny.cc/kg_yt_toc
▶️ Computer Networks: tiny.cc/kg_yt_CN
▶️ Digital Electronics: tiny.cc/kg_yt_D...
▶️ Compiler Design: tiny.cc/kg_yt_C...
▶️ Computer Architecture: tiny.cc/kg_yt_COA
▶️ Data Structure: tiny.cc/kg_yt_D...
▶️ Algorithms: tiny.cc/kg_yt_A...
▶️ Set, Relation, Function: tiny.cc/kg_yt_D...
▶️ Graph Theory: tiny.cc/kg_yt_g...
▶️ Group Theory: tiny.cc/kg_yt_g...
▶️ Proposition: tiny.cc/kg_yt_p...
#knowledgegate #GATE #sanchitjain
*********************************************************

Пікірлер: 155
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
For complete Theory of Computation, check out this video: kzbin.info/www/bejne/b5zYqqF-mLJmi6M
@ShivAdiShakti108
@ShivAdiShakti108 5 жыл бұрын
Dear Sir, I am so grateful for your selfless efforts and dedication. Thank You for working hard for all of us. Educating billions through commendable knowledge and selfless efforts is truly a Noble cause. Keep up the great work! May god bless you :)
@shaiksultan9051
@shaiksultan9051 6 жыл бұрын
pumping lemma ke videos bhi banadijiye ....mai dusre videos dekha par meku woh samjh nai aare ...aapka explanation bahot accha h ...plz i requested u to ..pumping lemma ke topics pe bhi aap videos banaye
@dhrubotara1
@dhrubotara1 7 жыл бұрын
two to three times watching this video lots of tricks will definitely be found to identify regular language .in GATE exam such question will be solved within minutes.this video is really an amazing one.
@swatisingh9876
@swatisingh9876 5 жыл бұрын
sir apne to sare concept clear kar diye. hats off to you
@santoshghorpade6370
@santoshghorpade6370 3 жыл бұрын
sir ji , apne jindagi me itni sari padhai ki ,itni mehanat ki.....ky aaap abb happpy he ...apne jindaji se
@harshitajain323
@harshitajain323 7 жыл бұрын
thanks a lot sir you made this subject really very easy to understand..plss sir keep posting further videos...best videos on toc..👍
@purnima53
@purnima53 3 жыл бұрын
socha nhi tha ke iss type ke ques solve ho jaenge... but now I can say that surely I can... thanks sir
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 3 жыл бұрын
You're most welcome dear Poonam..keep learning & supporting !! Do visit our website www.knowledgegate.in for more courses & contents !!
@sameerabdullah9694
@sameerabdullah9694 4 жыл бұрын
Thank you so much sir for giving all lec . Jo bhi aap padhate he sab acche se samajh ata he
@PawanSharma-gs8ry
@PawanSharma-gs8ry 7 жыл бұрын
Sir, you explain in hindi is so much Mindblowing
@jayativijaywargiya5764
@jayativijaywargiya5764 7 жыл бұрын
Excellent work..........In so simple language ...................which is easy to understand...............thank you................
@Madsaam09
@Madsaam09 3 жыл бұрын
Great sir....now have a good command on toc till now
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 3 жыл бұрын
Thanks Madsaam!!
@sagargupta1887
@sagargupta1887 6 жыл бұрын
Its a wonderful ques for univ.and gate exam thx sir
@vakhariyajay2224
@vakhariyajay2224 2 жыл бұрын
Thank you very much. You are a genius.
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 2 жыл бұрын
You're welcome dear 😍 Keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊
@dishankadi1278
@dishankadi1278 6 жыл бұрын
sir please upload lecture on pumping lemma theorem
@anilshriwastava4360
@anilshriwastava4360 5 жыл бұрын
Sir ,you are great. Huge Respect and Love.Keep Blessing sir...
@sahilprasantachoudhury911
@sahilprasantachoudhury911 4 жыл бұрын
Self referential note: If any language is finite,then it is a regular language
@govindjangid6201
@govindjangid6201 4 жыл бұрын
Thanks sir ... Very well EXPLAINED 😃
@taimurkhaliq
@taimurkhaliq Жыл бұрын
i am so glad i understand hindi...
@abdulmuseeb5726
@abdulmuseeb5726 5 жыл бұрын
Sir please ap Pumping lema par aik video banaye.. your explanation and teaching methadology is outstanding and first class please upload a video on Pumping lema general form
@bhumikasaxena5322
@bhumikasaxena5322 6 жыл бұрын
I found all these videos very helpful? ! Keep uploading sir v
@codelikeapro9724
@codelikeapro9724 2 жыл бұрын
thank you sir you are my inspiration...!!
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 2 жыл бұрын
You're most welcome dear 😍 Keep learning & supporting, do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊
@vlogwithankit6546
@vlogwithankit6546 3 жыл бұрын
Thankfully For better understanding
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 3 жыл бұрын
You're welcome.. Keep learning and supporting !!
@vlogwithankit6546
@vlogwithankit6546 3 жыл бұрын
Sir! Make a video on pumping lemma
@shivachauhan4747
@shivachauhan4747 3 жыл бұрын
Thank you sir U made it crystal clear ✌️
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 3 жыл бұрын
Thank you so much Shradha.. Keep learning and supporting !!
@nikitamalhotra5072
@nikitamalhotra5072 7 жыл бұрын
Thanks a lot sir. Very helpful video
@ishusaini8552
@ishusaini8552 7 жыл бұрын
awesome way of teaching sir.........I salute you please upload all subjects video
@Sarthakjaiswal-d2u
@Sarthakjaiswal-d2u Жыл бұрын
Good video air apne mera concept clear kar diya
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Glad to know this, keep learning & stay connected for more amazing contents👍😊
@funbiteasmr
@funbiteasmr 5 жыл бұрын
Difference b/w example no. 1 and example no. 8??
@nidhiverma1798
@nidhiverma1798 4 жыл бұрын
U r awesome...I also wish to become like u
@sajalsharma4425
@sajalsharma4425 6 жыл бұрын
sir , at 11:08 , In example 8 how can we compare the strings if the range is bounded ? let say L = a^nb^n / 1
@deeptijoshi7193
@deeptijoshi7193 7 жыл бұрын
awesome teaching...
@bibiayesha4569
@bibiayesha4569 6 жыл бұрын
Thank you so much sir. It's help a lot in net exam.....
@shibudhara3437
@shibudhara3437 6 жыл бұрын
Thank u sir, i was too much board to study this subject but after seeing your video tutorial i an excited and i interested to study this subject...... Again Thank you sir..
@CookDelicious94
@CookDelicious94 7 жыл бұрын
sir please complete toc lectures as soon as possible
@shwetapandey2406
@shwetapandey2406 7 жыл бұрын
please upload more videos on toc sir...
@bimalmarandi8860
@bimalmarandi8860 6 жыл бұрын
thanks for good delivery
@abhijit3285
@abhijit3285 5 жыл бұрын
Concept concept......kudos...
@narendraparmar1631
@narendraparmar1631 6 жыл бұрын
Thanks sir ji😆😅😅😄😃😂😀😉😊😋😎😎
@syedasadkazmii
@syedasadkazmii 6 жыл бұрын
Sir, can you please cover the topic of Pumping lemma for regular grammar?
@ZulfiqarTariqBurmi
@ZulfiqarTariqBurmi 6 жыл бұрын
thanks for putting so much effort
@bilalchandiabaloch8464
@bilalchandiabaloch8464 5 жыл бұрын
Sir plz discuss using pumping lemma. Thanks in anticipation
@priyanshsharma9690
@priyanshsharma9690 5 жыл бұрын
anticiation? LOL
@priyankapradhan6042
@priyankapradhan6042 6 жыл бұрын
Thank u soooo much sir...this video helped me a lot.
@dip1410
@dip1410 7 жыл бұрын
brilliant sir ...thank u
@gbdhal3804
@gbdhal3804 6 жыл бұрын
Dear sir thanks for the tutorial. I have a small doubt. hope you ll not ignore. If I am not wrong, we design machines (here FA) for language not for a specific string. In the question 5 for each value of n we need separate machines (I can't think of a single machine to work with values from n=1 to n=10). Correct me if I am wrong.
@hotaru6765
@hotaru6765 6 жыл бұрын
Golak Bihari Dhal watch from ~7:25 min again.... this is the technique which we can use to design a single machine for 5th question which will satisfy every criteria.
@tayyabnoor6792
@tayyabnoor6792 6 жыл бұрын
awesome sir awesome!!!!!!!!
@niksdate6842
@niksdate6842 6 жыл бұрын
Sir plz explain about pumping lemma
@akshitarawat1970
@akshitarawat1970 4 жыл бұрын
Sir in first diagram of this lecture.You took b when changing state. This way b will become minimum string . We can't have epsilon this way.It is not correct I think.
@itskathan7940
@itskathan7940 4 жыл бұрын
The initial state was also final, so epsilon will be accepted :)
@shradhajaiswal1562
@shradhajaiswal1562 7 жыл бұрын
in one and two...epsilon is to be present as 'n' can be zero
@muhammadhassaanafzal903
@muhammadhassaanafzal903 6 жыл бұрын
Very helpful video
@turntojobs
@turntojobs 2 жыл бұрын
sir first question me m and n ki value bhi to infinite h to vo bhi infinite automata hoga na?
@rishabhshri22
@rishabhshri22 7 жыл бұрын
Sir , I appreciate your effort . But I think are is small mistake in Example 2 ) bcoz u can't generate string a^1 b^0 c^1 i.e. ( ac ) if m,n,q >= 0 using your DFA representation (is wrong) . According to your DFA representation condition should be m,n,q>=1 or (m,n,q>0 but not >= equal )... According to your DFA representation its not possible to generate string 'ac' . Correct me if m wrong . :) THANKS
@sassyjas1313
@sassyjas1313 6 жыл бұрын
It can produce epsilon with b^0
@pratiknighot7088
@pratiknighot7088 6 жыл бұрын
Use NFA
@ravinderpartapsingh7792
@ravinderpartapsingh7792 5 жыл бұрын
Mr Rishabh I think if u put null on the place of b that is transection between q0 and q1 then your problem will solve
@ravinderpartapsingh7792
@ravinderpartapsingh7792 5 жыл бұрын
Mr Rishabh it's NFA Representation not DFA Representation
@nikitasinha8181
@nikitasinha8181 4 жыл бұрын
Thank u so much sir 🙏
@taimurkhaliq
@taimurkhaliq Жыл бұрын
wow amazing
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Thanks a lot dear❤ Keep supporting & stay connected for more amazing contents👍😊 You can also check out our course for all Computer Science subjects, sharing the link below: www.knowledgegate.in/learn/Zero-to-Hero-in-Computer-Science
@mithuraveendran8699
@mithuraveendran8699 6 жыл бұрын
Thanks for the video Sir. Can you please put a video explaining pumping lemma ?
@hritikmandal1491
@hritikmandal1491 4 жыл бұрын
question no 1 and question number 8 dono hi to fir regular hona chahiye naa kiyunki Q8 me bhi toh order maintained ho raha hai.....
@gauravtomar9409
@gauravtomar9409 4 жыл бұрын
but order k sath sath number of alphabet bhi equal hain aur vo FA machine count nhin kr skti.
@arunp1101
@arunp1101 5 жыл бұрын
Is the designing of 2nd question's NFA true ??? I think designed NFA will fail in case of "aaaacc" like all strings, where n=0
@sushilmondal2219
@sushilmondal2219 4 жыл бұрын
Keya hoga aap batiye plz.mera vi confusion hai ...
@jayostwal4813
@jayostwal4813 6 жыл бұрын
Sir jab a ki power m and b ki power n thi vo b toh infinite thi na sir fir b vo regular language thi...But jab a ki power n and b ki power n thi tab kese Ni bani...Hum same logic use kar k iske liye b NFA design kar sakte h na..
@pihumamma7248
@pihumamma7248 6 жыл бұрын
I have also this same doubt ..plz clear this
@bhumikagupta1268
@bhumikagupta1268 6 жыл бұрын
a^m b^n : The number of a's and b's are independent of each other and need not be equal this means we can have ANY number of a's and b's so DFA can be constructed of accepting strings having any number of a's followed by any number of b's. a^n b^n : The number and a's and b's here need to be equal that means we have to STORE the number of a's and then compare the number of b's with the number of a's but the problem is the FA does not have any such memory to store the number of a's and b's hence comparison cannot be done so dfa cannot be constructed for this language. Hence language is not Regular ! Hope that helps ! :)
@aqsabilal7563
@aqsabilal7563 6 жыл бұрын
Bhumika Gupta yes but that any could also be infinite... So what about that
@geniusboy3037
@geniusboy3037 6 жыл бұрын
@@bhumikagupta1268 Unsubscribe t series
@caroline-channing
@caroline-channing 5 жыл бұрын
Sir, its "whether", not "weather". Please change your video's thumbnail and title. By the way, Great Work.
@yash3591
@yash3591 5 жыл бұрын
Caroline Channing 😂😂
@kohli8108
@kohli8108 Жыл бұрын
Sr in question 1 and 2 your are fixing permanent b and c respectively,what if we have m,n both zero
@AdeshPaul
@AdeshPaul 5 жыл бұрын
Thank you very much.
@priyankasharma1949
@priyankasharma1949 7 жыл бұрын
Too gud sir thanks
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 жыл бұрын
thanks a lot priyanka...
@namaste-shorts-2004
@namaste-shorts-2004 4 жыл бұрын
confusion in first second third if they are regular then why eight bcoz limit to same hai na n>=0 or m,n>=0
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 4 жыл бұрын
Please join our official telegram discussion forum and put your query there. tiny.cc/telegram_kg
@hkhitter00
@hkhitter00 2 жыл бұрын
Sir can we construct FDA for all INFINITE languages if they are regular?
@aamir1801
@aamir1801 6 жыл бұрын
Sir first question aur last question mein kya difference hai
@subhadeepdas9360
@subhadeepdas9360 11 ай бұрын
Thank You Sir🙏🙏🙏🙏🙏
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 11 ай бұрын
You're welcome Subhadeep, keep learning & supporting. You can also visit our website www.knowledgegate.in for more amazing videos👍
@anshumaverma7599
@anshumaverma7599 6 жыл бұрын
Superb
@SaurabhSingh-ch6nc
@SaurabhSingh-ch6nc 4 жыл бұрын
loved it !!
@naseerrahi7597
@naseerrahi7597 5 жыл бұрын
What r various models to represent regular language
@Shrutiadiaggarwal
@Shrutiadiaggarwal 2 жыл бұрын
hi sir i have an query n>=0 is mention question 1 and question 8 also same so how both languages are different on the basis of language
@arunsinghiiit
@arunsinghiiit 2 жыл бұрын
In question no. 2, let us suppose m=0, n=0, and q=1 then the output is only C how did it come by this design, I think we must put epsilon
@PawanSharma-gs8ry
@PawanSharma-gs8ry 7 жыл бұрын
Sir please Upload DAA subject video in hindi ......I hope you will be respond my request
@aqsabilal7563
@aqsabilal7563 6 жыл бұрын
My que is if we can't say on comparing at infinite number say '' n`'' then how can we say at a^m and a^n, since m and n could have infinite values also
@faizahmed4103
@faizahmed4103 2 жыл бұрын
In case of a^m.b^n altough m,n may tend to infinity but Finite Automata can be drawn because no memory element will be required, a memory element will be required in case of a^n.b^n because no of a must be equal to no of b since Finite Automata doesn't contain a memory element therefore in this case Finite Automata can't be drawn.
@ommishra7610
@ommishra7610 5 жыл бұрын
Nice sir
@ochin33
@ochin33 4 жыл бұрын
Fantastic
@mdnadeem4288
@mdnadeem4288 5 жыл бұрын
Thank you sir
@bidyutchaki6605
@bidyutchaki6605 5 жыл бұрын
Sir in this video take question no 1 usme vhi toh m and n vhi toh greaeter than equal to 0 hai phir yeh sawal kuy regular hua......but question no 8 is not regular why...sir???plz give the answer plz
@premrauth8416
@premrauth8416 4 жыл бұрын
Thankyou sir
@muhammadroshan7315
@muhammadroshan7315 6 жыл бұрын
Question 1) mey bhi infinite ha aur Question 8 mey bhi. toh aik accepted aur dosra rejected kiyu ha?
@tinumishra7094
@tinumishra7094 4 жыл бұрын
Kyoki 8th me a &b equal hone chaiye to uss ko yaad rakhna padega,memory use hoga par 1st me aise kuch nahi hai iss liye 1st ka FA ban jayega aur 8th ka nahi banega
@aayushibansal5169
@aayushibansal5169 7 жыл бұрын
sir if we use pumping lemma then grammer 5,6,7, come out to be not regular..i m a little bit confused
@skv292002
@skv292002 5 жыл бұрын
Pumping lemma is not guarantee of non regular language , pumping lemma is guarented for regular language always
@uditgupta7395
@uditgupta7395 7 жыл бұрын
Awesome
@pratyayadeepsahoo3703
@pratyayadeepsahoo3703 6 жыл бұрын
If example 1 is regular why not ex 8 becoz example 8 also has the order but dont have the finite so it is non rglr but look at ex 1 there also order is same and order is not countable and it is regular how it is possible
@aradhyajain9575
@aradhyajain9575 5 жыл бұрын
language is infinite...in case of example i).ii) and iii). Still they are regular why?
@tanveermahmood9422
@tanveermahmood9422 6 жыл бұрын
amazing
@nareshpawar2692
@nareshpawar2692 6 жыл бұрын
1st and last question quit similar because both language goes to infinity but ans is different,How?????
@hiteshgupta5092
@hiteshgupta5092 4 жыл бұрын
Sir confused in que 1 and 8
@royfamily9273
@royfamily9273 Жыл бұрын
Thank You Sir
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Most welcome dear! Keep learning & stay connected! You can also check out our website www.knowledgegate.in for more amazing videos & contents👍😊
@prachipolakhare6440
@prachipolakhare6440 5 жыл бұрын
Sir , In example 1 and 8 range is infinite then how can 1 is regular and 8 is not?
@sanbha1565
@sanbha1565 5 жыл бұрын
Q2
@prachipolakhare6440
@prachipolakhare6440 5 жыл бұрын
@@sanbha1565 I didn't get it
@sanbha1565
@sanbha1565 5 жыл бұрын
@@prachipolakhare6440 as q no.2 also same as 1and 8.
@prachipolakhare6440
@prachipolakhare6440 5 жыл бұрын
ohh yes but how Q1 and Q2 are RL and Q8 not?
@sanbha1565
@sanbha1565 5 жыл бұрын
@@prachipolakhare6440 all q are RL
@yasirabbas3626
@yasirabbas3626 5 жыл бұрын
plese upload more video on toc plese sir
@AdeshPaul
@AdeshPaul 5 жыл бұрын
Thanks
@MrCoolnk
@MrCoolnk 7 жыл бұрын
awesome
@sakshimalhotra6534
@sakshimalhotra6534 5 жыл бұрын
Sir a^n b^n ngreater than equal one
@marinag1877
@marinag1877 6 жыл бұрын
Sir plz make videos in english for all these toc topics..
@Dynamic.programing
@Dynamic.programing 6 жыл бұрын
L= {a^m b^n} m,n>=0 es mai m or n ka value kaise lenge m phle lenge 0 fr n lenge
@anoops7974
@anoops7974 7 жыл бұрын
English will always be best .
@ritikmishra6415
@ritikmishra6415 3 жыл бұрын
👍
@defenceaffairs5539
@defenceaffairs5539 Жыл бұрын
first and second question me v toh range bounded ni hai where m>=0 and n>=0..........
@shivanipatial7255
@shivanipatial7255 4 жыл бұрын
can anyone tell me that how |w| = 4 ?
@pranavJha93
@pranavJha93 22 күн бұрын
why 8 is not regular but 1,2 is
@nikitamalhotra5072
@nikitamalhotra5072 7 жыл бұрын
Sir how problem 8is different from problem 1,2,3.problem 1,2,3 are also infinite. Kindly xpkain
@tanusreeghosh7484
@tanusreeghosh7484 7 жыл бұрын
nikita anand 1,2, 3 has also infinite power but m, n, q all three are different.. That's why, while making a nfa u only need to make a loop for their given value.. M, n, q may have different values.. So machine doesn't need to remember or compare any previous value.. But in case of 8th question, value of n is equal in a, b both. So, there need of comparison occurs.. I think that's it.. I am getting this point from Sir's explanation for 8th question..
@abhinavrana8157
@abhinavrana8157 5 жыл бұрын
1 and 2 will be Not Regular Languages
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Lec-31: Pumping lemma for regular languages in TOC with examples
12:00
Gate Smashers
Рет қаралды 1 МЛН
Regular Languages
6:37
Neso Academy
Рет қаралды 996 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 85 М.
Pumping Lemma (For Regular Languages) | Example 1
14:16
Neso Academy
Рет қаралды 1,2 МЛН
Pumping Lemma (For Regular Languages)
8:08
Neso Academy
Рет қаралды 1,3 МЛН
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН