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
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
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!
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**
@@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.
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
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.
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
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👍😊
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
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
For complete Compiler Design, check out this video: ua-cam.com/video/OQCjakjCJu4/v-deo.html
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
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
yes true
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!
yes u r right 👍👍
correct
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**
@@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.
@@prateekshukla8336 yes its right 👍
The ANSWER for the "HOME-WORK" QUESTION is YES , "FOLLOW-FUNCTION" has been required even for the case of NULL-PRODUCTION.
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
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
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.
Thku sir for video. With lots of example
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
A) YES
Great explanation Sir...
Thank you! Keep learning & stay connected! You can also check out our website www.knowledgegate.in for more amazing videos & contents👍😊
Yes the follow is required to solve the problem of null production
Very nice and easy method I ever studied,
Thank you dear @preeti❤ keep learning & supporting! Do visit our website www.knowledgegate.in for more amazing videos & contents👍
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 ♥
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👍😊
Sir could you please look at 12:24 , I think you have made mistake while solving
So good concepts are clear now
Great, keep learning👍
Yes follow is required in case of null production.
what will be the follow of S and B for below productions??
S-> 1AB/€
A-> 1AC/0C
B-> 0S
C-> 1
SIR PLEASE MAKE COMPLETE PLAYLIST FOR THIS SUBJECT
Dear Prateek, for complete course on Compiler Design, please check out the course link below:
www.knowledgegate.in/learn/CompilerDesign-SanchitSir
Homework question:- option A
The videos could be more beneficial if you solve both first() & follow() of following questions simultaneously.
Ok dear will try to consider your suggestion, stay connected👍😊
Yes
sir can you reconsider C in D (at 13:24)
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
@@fatimasyeda5389 Haa Follow (C,D) = {$ , h , a , b} hona chahiye na?
@@soumyodeepdey5237 yes
@@khushivaish7125 R u studying for GATE?
Yes absolutely
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
Sir please make a playlist on machine learning 🙏🙏🙏🙏🙏🙏🙏🙏🙏
We have a complete course for Machine Learning and Data Science already prepared - www.knowledgegate.in/learn/home/dataScience-MachineLearning
yes
Sir what is first and follow of
S->SS+|SS*|a
Yes sir
Jiss ka koi nhi uss ka $ hai kya baat hai ji.
Sir your follow (C) also should include "h" .
Absolutely right
Yes but mistake in follow d
12:49 while find the follow of c Why we didn`t choose the occurance at the production of D->EC and E ->CDb
Same question but I think in those cases they are not following
@@naincypriya7017 sir made mistake
Sir made mistake we have to consider that then follow of C ,D, E will be same.
12:45 😢😢
CD also here E->CD
Option a
yes
Sir where is E ka fist🤔
NO
Sir please make a playlist on machine learning 🙏🙏🙏🙏🙏🙏🙏🙏🙏
You can get it on our website. Here you go: www.knowledgegate.in/learn/dataScience-MachineLearning
Yes
Yes