Find Follow Function | First and Follow in Compiler Design

preview_player
Показать описание

➡ Do not miss our Bestseller Courses:

➡ Contact Us:
📞Call on: +91-8000121313

➡ Our One Shot Semester Exam Videos: 👇

➡ Free Subject-Wise Complete PlayList: 👇
#knowledgegate #GATE #sanchitjain

*********************************************************
Рекомендации по теме
Комментарии
Автор

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

anshukumari
Автор

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!

prateekshukla
Автор

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

maheshnarayankar
Автор

The ANSWER for the "HOME-WORK" QUESTION is YES, "FOLLOW-FUNCTION" has been required even for the case of NULL-PRODUCTION.

soumyadeepbarik
Автор

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

sanjukumarkhanger
Автор

Thku sir for video. With lots of example

shailjagoyal
Автор

Yes the follow is required to solve the problem of null production

knowledge_apna
Автор

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.

WorldFacts-hsrn
Автор

what will be the follow of S and B for below productions??

S-> 1AB/€
A-> 1AC/0C
B-> 0S
C-> 1

cccjtyy
Автор

Yes follow is required in case of null production.

gameclub
Автор

Very nice and easy method I ever studied,

preetitayal
Автор

Sir please make a playlist on machine learning 🙏🙏🙏🙏🙏🙏🙏🙏🙏

learndaily
Автор

SIR PLEASE MAKE COMPLETE PLAYLIST FOR THIS SUBJECT

prateekshukla
Автор

The videos could be more beneficial if you solve both first() & follow() of following questions simultaneously.

soumyadeepbarik
Автор

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 ♥

maheshnarayankar
Автор

Jiss ka koi nhi uss ka $ hai kya baat hai ji.

soumyadeepbarik
Автор

Sir what is first and follow of
S->SS+|SS*|a

Quickets
Автор

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

WorldFacts-hsrn
Автор

sir can you reconsider C in D (at 13:24)

mayanknegi
Автор

Sir your follow (C) also should include "h" .

fgaming-pubgmobile