Find Follow Function | First and Follow in Compiler Design

  Рет қаралды 35,500

KnowledgeGATE by Sanchit Sir

KnowledgeGATE by Sanchit Sir

Күн бұрын

Пікірлер: 73
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 9 ай бұрын
For complete Compiler Design, check out this video: kzbin.info/www/bejne/hYKmm5Shn6h9q5Y
@anshukumari4195
@anshukumari4195 Жыл бұрын
I think answer of last practice question will be: Follow(S)={$} Follow(B)={a,b,h} Follow(C)={$,a,b,h} Follow(D)={$,a,b,h} Follow(E)={$,a,b,h} By mistake sir forgot to calculate D->EC Answe of HW question is YES
@prateekshukla8336
@prateekshukla8336 Жыл бұрын
Sir I think Follow(C) and Follow(E) must be {$,a,b,h} because here u forgot to consider productions D->EC | b | epsilon and E ->CDb | epsilon while finding follow of C. Please correct me if I am wrong!
@chaitanyasharma8707
@chaitanyasharma8707 Жыл бұрын
yes u r right 👍👍
@rahiljakir
@rahiljakir Жыл бұрын
correct
@raazmatrixgaming4876
@raazmatrixgaming4876 Жыл бұрын
No, i think you are wrong, cuz in Follow(C), if we take D->EC | b | epsilon and E ->CDb | epsilon (which sir has missed), we will have D as follow of C, for which first(D)={a,b} which is already included. Even though, sir missed this step in explanation, the answer is still right!!! **Correct if wrong**
@prateekshukla8336
@prateekshukla8336 Жыл бұрын
@@raazmatrixgaming4876 Follow(C) will be {b, First(E), Follow (D), First(D)} which is equal to {b, a, $, h} after evaluating each of them considering every production.
@vehugupta937
@vehugupta937 Жыл бұрын
@@prateekshukla8336 yes its right 👍
@maheshnarayankar6515
@maheshnarayankar6515 Жыл бұрын
At 12:24 , FOLLOW(C) must be { b U FIRST(E) U FOLLOW(D) U FIRST(D) } , which result's in {$,a,b,h} . Could you please look at this problem @KNOWLEDGE GATE
@gamersgame43
@gamersgame43 11 ай бұрын
yes true
@WorldFacts-hs9rn
@WorldFacts-hs9rn 4 ай бұрын
Sir one mistake Follow(D)={$,b} only kun k sir BD lka hy tu D ka follow B kesy hua agr DB huta tu wo follow huta tab ham (a,h,b) ko consider krty first of B ko.
@sanjukumarkhanger5832
@sanjukumarkhanger5832 Жыл бұрын
Sir, Your teaching style is excellent. U are great sir. I am requesting you to share a video on LL(1), SLR, LR & LALR. Please sir
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Thanks a lot dear ❤ You can check out our complete course on Compiler Design for all the topics, sharing the course link below: www.knowledgegate.in/learn/CompilerDesign-SanchitSir
@soumyadeepbarik5711
@soumyadeepbarik5711 Жыл бұрын
The ANSWER for the "HOME-WORK" QUESTION is YES , "FOLLOW-FUNCTION" has been required even for the case of NULL-PRODUCTION.
@shailjagoyal9569
@shailjagoyal9569 Жыл бұрын
Thku sir for video. With lots of example
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
You're most welcome dear❤ Keep learning & supporting! 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
@preetitayal4294
@preetitayal4294 Жыл бұрын
Very nice and easy method I ever studied,
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Thank you dear @preeti❤ keep learning & supporting! Do visit our website www.knowledgegate.in for more amazing videos & contents👍
@maheshnarayankar6515
@maheshnarayankar6515 Жыл бұрын
very well explained sir , was trying from past 2 days to learn from different videos ,but understood only after watching your's , thank you so much ♥
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Glad you liked it dear @Mahesh❤Do like, subscribe & share the video, you can also visit our website www.knowledgegate.in for more amazing videos & contents👍😊
@maheshnarayankar6515
@maheshnarayankar6515 Жыл бұрын
Sir could you please look at 12:24 , I think you have made mistake while solving
@knowledge_apna
@knowledge_apna Жыл бұрын
Yes the follow is required to solve the problem of null production
@kathanparekh6135
@kathanparekh6135 11 ай бұрын
A) YES Great explanation Sir...
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 11 ай бұрын
Thank you! Keep learning & stay connected! You can also check out our website www.knowledgegate.in for more amazing videos & contents👍😊
@Abhishek-f6d
@Abhishek-f6d 9 ай бұрын
what will be the follow of S and B for below productions?? S-> 1AB/€ A-> 1AC/0C B-> 0S C-> 1
@gameclub1910
@gameclub1910 Жыл бұрын
Yes follow is required in case of null production.
@soumyadeepbarik5711
@soumyadeepbarik5711 Жыл бұрын
The videos could be more beneficial if you solve both first() & follow() of following questions simultaneously.
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Ok dear will try to consider your suggestion, stay connected👍😊
@ahmedraza6257
@ahmedraza6257 9 ай бұрын
So good concepts are clear now
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 9 ай бұрын
Great, keep learning👍
@HARSH-uh9nc
@HARSH-uh9nc Жыл бұрын
Homework question:- option A
@prateekshukla7243
@prateekshukla7243 Жыл бұрын
SIR PLEASE MAKE COMPLETE PLAYLIST FOR THIS SUBJECT
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
Dear Prateek, for complete course on Compiler Design, please check out the course link below: www.knowledgegate.in/learn/CompilerDesign-SanchitSir
@piyalisanyal1677
@piyalisanyal1677 Жыл бұрын
Yes
@WorldFacts-hs9rn
@WorldFacts-hs9rn 4 ай бұрын
one mistake...sir ny BD ko kr diya ya tu nhii follow kr rha tu yhn b ka first nhii kr skty sirf $ aye ga agar D k agy B huta tb follow krta iss trah DB Follow(D)={b,$} this is correct follow of D
@f16gaming-pubgmobile95
@f16gaming-pubgmobile95 Жыл бұрын
Sir your follow (C) also should include "h" .
@dheerajkhachariawas3477
@dheerajkhachariawas3477 Жыл бұрын
Absolutely right
@learndaily964
@learndaily964 Жыл бұрын
Sir please make a playlist on machine learning 🙏🙏🙏🙏🙏🙏🙏🙏🙏
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
We have a complete course for Machine Learning and Data Science already prepared - www.knowledgegate.in/learn/home/dataScience-MachineLearning
@soumyadeepbarik5711
@soumyadeepbarik5711 Жыл бұрын
Jiss ka koi nhi uss ka $ hai kya baat hai ji.
@vikasgupta7686
@vikasgupta7686 Жыл бұрын
yes
@Quickets
@Quickets Жыл бұрын
Sir what is first and follow of S->SS+|SS*|a
@coder5985
@coder5985 Жыл бұрын
Yes sir
@mayanknegi5328
@mayanknegi5328 Жыл бұрын
sir can you reconsider C in D (at 13:24)
@fatimasyeda5389
@fatimasyeda5389 Жыл бұрын
Yes you are right there is a mistake , sir ne follow of C mai , 4th production wala C consider hi nai kiya , jiski wja se follow of D include hona tha , follow of C mai
@soumyodeepdey5237
@soumyodeepdey5237 Жыл бұрын
@@fatimasyeda5389 Haa Follow (C,D) = {$ , h , a , b} hona chahiye na?
@khushivaish7125
@khushivaish7125 Жыл бұрын
@@soumyodeepdey5237 yes
@soumyodeepdey5237
@soumyodeepdey5237 Жыл бұрын
@@khushivaish7125 R u studying for GATE?
@dheerajkhachariawas3477
@dheerajkhachariawas3477 Жыл бұрын
Yes absolutely
@Ounknown098
@Ounknown098 Жыл бұрын
Yes but mistake in follow d
@harbhajansingh9882
@harbhajansingh9882 Жыл бұрын
CD also here E->CD
@ashishvinod2193
@ashishvinod2193 10 ай бұрын
yes
@Redhuji653
@Redhuji653 Жыл бұрын
Option a
@itszahidz
@itszahidz Жыл бұрын
Sir where is E ka fist🤔
@mekadoor1415
@mekadoor1415 Жыл бұрын
12:49 while find the follow of c Why we didn`t choose the occurance at the production of D->EC and E ->CDb
@naincypriya7017
@naincypriya7017 Жыл бұрын
Same question but I think in those cases they are not following
@rahiljakir
@rahiljakir Жыл бұрын
@@naincypriya7017 sir made mistake
@WanderwithHarshaa
@WanderwithHarshaa Жыл бұрын
Sir made mistake we have to consider that then follow of C ,D, E will be same.
@itszahidz
@itszahidz Жыл бұрын
12:45 😢😢
@tusharbhalelu9108
@tusharbhalelu9108 Жыл бұрын
NO
@learndaily964
@learndaily964 Жыл бұрын
Sir please make a playlist on machine learning 🙏🙏🙏🙏🙏🙏🙏🙏🙏
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Жыл бұрын
You can get it on our website. Here you go: www.knowledgegate.in/learn/dataScience-MachineLearning
@JGyanRaj
@JGyanRaj Жыл бұрын
Yes
@zilesingh6349
@zilesingh6349 Жыл бұрын
Yes
What is LL(1) Parser | LL1 Parsing Algorithm | Top down Parsing | Compiler Design
21:07
KnowledgeGATE by Sanchit Sir
Рет қаралды 44 М.
Find First Function | First and Follow in Compiler design
15:21
KnowledgeGATE by Sanchit Sir
Рет қаралды 24 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 20 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,3 МЛН
First and Follow in Compiler Design 🔥🔥
31:04
Perfect Computer Engineer
Рет қаралды 98 М.
Lecture 17  6 examples to find First and Follow | Most Important for exams
20:34
shortcut trick to find FIRST and Follow in Compiler |FIRST and FOLLOW  in compiler
26:49
LS Academy for Technical Education
Рет қаралды 19 М.
FIRST() and FOLLOW() Functions
11:53
Neso Academy
Рет қаралды 294 М.
3.4 Left Factoring: Non deterministic CFG to Deterministic CFG in Hindi
11:24
KnowledgeGATE by Sanchit Sir
Рет қаралды 58 М.
Bottom Up Parsers Part-1 | Parsing | Shift Reduce Parser | Compiler Design
23:39
KnowledgeGATE by Sanchit Sir
Рет қаралды 46 М.
LL ( 1 ) Parser | Predictive Parser 🔥🔥
36:04
Perfect Computer Engineer
Рет қаралды 117 М.