Exactly that is what I was about to comment . Or you can say if we follow the tree structure then the + operation will be perform earlier the * operation .
just wait for 2-3 days and see how your subscriber count will take a huge jump. becoz its exam time here :) (and you deserve every bit of it) you are our only hope in exams. THANK YOU FOR DOING GOD's WORK.
So, finally i got a one stop solution of my compiler design examination. Firstly, due to this pandemic, neither we could avail the books nor there were proper video lectures available on youtube to help me out in this subject. One of my friend suggested me this channel and surprisingly, watching the first video of this video series, made me realize that its going to be enough for my complete subject. The way this teacher has explained the concepts, his clear understanding as well as the clear vocalization of the subject had a huge impact. No doubt, this is the best of the series, i have ever watched in terms of Engineering subjects. No words to express my gratitude. Students like me who love to reach in depth of a subject, you have given a one stop solution. I cannot stop ravishing and thanking you "SIR"🤩. God bless😇
6:12 + production is defined below the production of * so it has higher priority than *, as a result the answer will be (5*(3+4)) = 35. Please cross check!!!!!
When grammars are annotated with Semantic rules, we can club Syntax analyzer and Semantic analyzer phase into a single phase. So we can create the syntax tree and verify the semantics at the same time
please sir make and complete a playlist in software engineering .... and make a software modeling (UML) tutorial basic to advanced ... please sir ....please
You have to assume two more semantic rules in order to get 35, viz. S -> A {S.val = A.val} A -> B {A.val = B.val} If you assume the semantic rules as given in the example, i.e., S -> A {S.val = S.val * A.val} A -> B {A.val = A.val + B.val} then 5 # 3 & 4 becomes 0, assuming initial values of A & S are 0; otherwise the value of the input expression cannot be determined. In the 19th lecture, Sir included those two semantic rules that I've written at the top.
Sir ek doubt hai plzz reply me as soon as possible Aap sir kisi example mei "&" ko "+" consider kr rhe hoo Or kisi example mei "&" ko "*" I can't understand what will i consider in some other questions plz reply me if its possible
Sir, O/P will be 35.
According to the grammar's rule, + is having the highest priority than *.
So, 5*7 = 35.
Yes
@ Grow ad yes answer will be 35 according to SDT
Yes output will be 35
Yes
Exactly that is what I was about to comment . Or you can say if we follow the tree structure then the + operation will be perform earlier the * operation .
Sir ans is 35
According to bottom up approach ist addition then multiplication
just wait for 2-3 days and see how your subscriber count will take a huge jump. becoz its exam time here :) (and you deserve every bit of it) you are our only hope in exams. THANK YOU FOR DOING GOD's WORK.
So, finally i got a one stop solution of my compiler design examination.
Firstly, due to this pandemic, neither we could avail the books nor there were proper video lectures available on youtube to help me out in this subject.
One of my friend suggested me this channel and surprisingly, watching the first video of this video series, made me realize that its going to be enough for my complete subject.
The way this teacher has explained the concepts, his clear understanding as well as the clear vocalization of the subject had a huge impact.
No doubt, this is the best of the series, i have ever watched in terms of Engineering subjects.
No words to express my gratitude. Students like me who love to reach in depth of a subject, you have given a one stop solution. I cannot stop ravishing and thanking you "SIR"🤩. God bless😇
Her ek lecture k neechey same comment paste karne ka faida ?
@@ghulammurtazagmdahar ap hr lecture k comments dekhty ho😂😂
You are legend Sir the way you teach is ultimately easy to understand great help.Love from Pakistan.
First liked your video then i started watching it. Respect you alot sir ji
Haattt bhag yaha se
6:12
+ production is defined below the production of * so it has higher priority than *, as a result the answer will be (5*(3+4)) = 35.
Please cross check!!!!!
Dude, how do u know it? Suggest me some videos or something on compiler design. I literally don't know anything about cd😢
𝙽𝚘 𝚜𝚒𝚛 𝚊𝚗𝚜 𝚒𝚜 𝚌𝚘𝚛𝚛𝚎𝚌𝚝
When grammars are annotated with Semantic rules, we can club Syntax analyzer and Semantic analyzer phase into a single phase. So we can create the syntax tree and verify the semantics at the same time
The answer for this should be 35 and not 19 because the precedence of operators increases as we go down the parse tree.
yep
Thanks buddy I didn't know anything about compiler design😂, I would have just followed his answer 😭. Please correct the mistake in description sir.
Great teaching. You always nail it.
Stay Blessed Brother ❤️
Haven't seen great teacher like you before sir ji ☺️❤️
Most awaited video🔥🔥☀️☀️
thanks sir for being consistent we love u
i absolutely love you energy, it never let me get bored during your lectures, thankyou so much🎀🎀
Great Teaching. Just clarifying that the answer to the last question is 35 rather than 19 because & has more precedence than #
Sir in last question answer is 5*(3+4)=35 according to how you have drawn the parse tree.
3:21 practical part of video starts here. before this, it's theory
Thank you for teaching in Hinglish
thanku sir ......for giving such a amazing videos for learn
Best explanation....
Thanks a lot Sir!!!😊
Thank you so much sir for this video 😊😀 ... You are an amazing teacher ☺️.... Hat's off to you 👍👍
In Which sem r u currently in !?
wow i dont know hindi but u r teaching was insane
Huge thanks to you by learning from your many playlists finally im just about enter in final year of BS ♥️♥️
Same
Finals starting next week,,7th sem BSCS
@@rajab4187 em too✌
Sir kia hmy question me rules or cfg ya given hoga ya srif string ?
Killed it 🔥
Nice explanation
Hello sir. Woh last mai tree ke according, + pehle krna tha. Toh, 5*(3+4) hoga woh shayad. Matlab 35.
Thank you sir 🙏
Sir aap kya all rounder ho 😅😅 her kuch padha dete ho
Sir ek Engineer hain brother
Very helpful
thank you so much :)
Great job sir 🔥🔥
Sir the output will be 35 as first we have to add 3&4 =7 then multiply 5#7 =35
No he did it correctly the output is 19
@@Zynbahxn No. + is lower than * in the tree. Hence of higher precedence.
Thank you
Sir plzzz make on video on bootstraping topic.....plz🙏
Greate teaching
Thank you sir
please sir make and complete a playlist in software engineering .... and make a software modeling (UML) tutorial basic to advanced ... please sir ....please
@khalida didi apki ab tab 8th semester khatam ho chhuka hoga 🤔 can you guide me please didi 😞
Sir, according to your 19th lecture and grammer's rule ans. should be 35 becoz of + has higher priority...
Sir, plz clear the confusion🙏
You have to assume two more semantic rules in order to get 35, viz.
S -> A {S.val = A.val}
A -> B {A.val = B.val}
If you assume the semantic rules as given in the example, i.e.,
S -> A {S.val = S.val * A.val}
A -> B {A.val = A.val + B.val}
then 5 # 3 & 4 becomes 0, assuming initial values of A & S are 0; otherwise the value of the input expression cannot be determined.
In the 19th lecture, Sir included those two semantic rules that I've written at the top.
Sir ek doubt hai plzz reply me as soon as possible
Aap sir kisi example mei "&" ko "+" consider kr rhe hoo
Or kisi example mei "&" ko "*"
I can't understand what will i consider in some other questions plz reply me if its possible
Sir pahle + kyon nahi hua?
I think + has higher precedence.
True o/p should be 35.
Yes
❤❤❤
How inherited attributes of SDD are use to represent the context in which a particular programming language construct is used?
Thanks sir
Sir please make video on dependency graph
Sir,please upload more video of compiler design
The result of the parse tree is 35.
Sir please upload all this lectures asap
The answer is wrong as + comes below in productions it will be evaluated first (in bottom up fashion). therefore correct ans will be 35.
Sir & having higher precendance than # so & calculated first so acc to me o/p should be 35.
why is & having higher precedence, please clear my doubt
sir hair styling tips dedo....padhana vadhana toh hota rahega.
SDT main infix to postfix converstion pr lecture ni bny sir kya ?
Third phase semantic analysis phase meaning chaking
Sar sdt se Facebook ko hack se kya connection hota h
I want a vedio on type checking
Sir plz theory bhi bataya karo sir
Sir according to parse tree answere 35 hai
sir aapko itna saara kuch kaise pata hai?
teri tarah nalayak nhi tha ye college me islye bhag yaha chomu
@@shivanshthakur4538🤣
accoding to the parse tree it will be 35
🤣2:11 you can write whole story on paper😃😃
Not satisfied with this video 😅
Same
Tqs sir
Need next video ASAP
35 is correct
No problem
according to the tree it should have been 5*(3+4) -> 35.
Sir Answere 35 ayega.
I wish I could understand Indian accent.
+ will be calculated first then *
2:29
Sir live start KRiye sir
answer should be 35
Abrey ye lexical value kahan se aai
Uploaded 1second ago
Wrong answer. output will be 35 because '+' has more precedence than '*' according to the grammar.
* has more precedence than +
@@khilii conventionally yes, but here it is opposite because of the grammar rules
Answer is 35 not 19
❤
Anderson Barbara Wilson Scott Garcia Matthew
3:44 am
Try and make tutorials in English next time.
speak in english we donot unerstand your language.
Ok, that's not English.
Thank u sir gand phatti padi thi
Kyu Bhai exam ke ek din pehle padh rha that kya😅
SPEAK ENGLISSHHHHHHHH!!!!!!!!!
𝚂𝚒𝚛 𝚊𝚗𝚜 𝚒𝚜 𝚊𝚕𝚠𝚊𝚢𝚜 𝚛𝚒𝚐𝚑𝚝 𝚊𝚗𝚜 𝚒𝚜 19 𝚒𝚜 𝚌𝚘𝚛𝚛𝚎𝚌𝚝 𝚊𝚗𝚜
thanks sir
Thanks sir
Thank you sir