Lec-19: How to Evaluate Arithmetic Expression using SDT | Syntax Directed Translation Example

  Рет қаралды 317,606

Gate Smashers

Gate Smashers

Күн бұрын

Пікірлер: 125
@fotatofottu3926
@fotatofottu3926 2 жыл бұрын
Small mistake in the right side of tree where T - num - 7 it must be T - F - num - 7
@blackstormworld9669
@blackstormworld9669 2 жыл бұрын
Thank you brother ❤️
@pratyushsrivastava179
@pratyushsrivastava179 Жыл бұрын
Exactly i am going to do that comment but I found that.
@priyamprasad624
@priyamprasad624 Жыл бұрын
Koi nai answer same hi he
@ramashahani8567
@ramashahani8567 11 ай бұрын
i was gonna say the same.
@sksahinparvej5500
@sksahinparvej5500 9 ай бұрын
ye to common hai, aise jayega sabko pata hai usne just step jump kiya hai
@AhadAli-bb3xj
@AhadAli-bb3xj 3 жыл бұрын
No other teacher can match Sir.....in terms of teaching....!🔥🔥🔥
@masumpatel1291
@masumpatel1291 9 ай бұрын
trust me , our teachers teach us after learning from you
@kanakyadav2498
@kanakyadav2498 3 жыл бұрын
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😇
@as_if
@as_if 9 ай бұрын
I've seen this same comment in multiple videos of his
@abhilasharashiyan7660
@abhilasharashiyan7660 3 жыл бұрын
Sir vdo dekhne se phle hi like or comment krhi hu bcz aap bhaut bhaut accha pdhte ho thnku sir
@mylifemymemories6858
@mylifemymemories6858 3 жыл бұрын
scientific assistance A post ke liye TOC subject syllabus me hai ya nahi ? plz bataye.
@abhilasharashiyan7660
@abhilasharashiyan7660 3 жыл бұрын
@@mylifemymemories6858 no
@mylifemymemories6858
@mylifemymemories6858 3 жыл бұрын
@@abhilasharashiyan7660 but i reffer previous year question paper there is some questions of toc.
@mahbubalam2172
@mahbubalam2172 Жыл бұрын
Although we pay the university. But the truth is that there is no university in the world greater than KZbin. Because you are on KZbin.
@khizraakhlak2487
@khizraakhlak2487 5 ай бұрын
Thank you so much sir your teaching method is very easy may Allah pak bless you alot of success
@rananoman3374
@rananoman3374 2 жыл бұрын
why expand E in 2nd term sir
@DbCo0pEr
@DbCo0pEr 2 жыл бұрын
because there are two '&' operators in the input, so you have to somehow make two '&' in the parse tree. Simililarly for '@'
@bhaskarsuhag5289
@bhaskarsuhag5289 5 ай бұрын
It means we’ve to expand the tree as much as we have these terminals !
@madhugarg8383
@madhugarg8383 3 жыл бұрын
Sir why we further expand E
@lalitkumar8445
@lalitkumar8445 Жыл бұрын
Hi sir, if we apply this bottom up method or short trick on lecture 17 question (5#3&4) then answer will be 35 but your answer is 19 there......pls clarify which answer will be correct one?
@gauravkodape3169
@gauravkodape3169 11 ай бұрын
Exactly I was also going through this doubt
@marvashahzadi240
@marvashahzadi240 3 жыл бұрын
To much informative lecture THANK YOU SO MUCH SIR
@moumitamondal1754
@moumitamondal1754 Жыл бұрын
we have to write the steps in exam? or like you did means we traverse the expression? If I use the short technique for my exam will i get full marks for that o i have to do the same you did
@SHAHIDRAZA-do9xe
@SHAHIDRAZA-do9xe 3 жыл бұрын
Best teacher
@animationcrust1993
@animationcrust1993 3 жыл бұрын
I am in 5th sem and...i can easily get this next sem subject ☺️
@khalidrashid9135
@khalidrashid9135 3 жыл бұрын
But I have compiler
@sunitasatpute8293
@sunitasatpute8293 Жыл бұрын
🥰🥰🥰👌👌🙏🙏🙏
@sportsworld4863
@sportsworld4863 3 жыл бұрын
Super Excellent Sir g.........Love and Respect from Pakistan.........
@viplavanand5228
@viplavanand5228 3 жыл бұрын
can anybody explain which rules to take first while making tree is there any rule or we have to make tree according to the input string then how to decide ?
@toshityagi2018
@toshityagi2018 3 жыл бұрын
Same question
@3dDigitalArtToday
@3dDigitalArtToday Жыл бұрын
see the given input or i should say the "Operators" , see , first use the top or first rule that is 'E=E&T' then after that the first operator that comes in input is '&' so use the rule that has an '&' in it after that on the right side of '&' we have 'T' here, make that T produce an '@' sign using the rule that contains @ in it because the second operator is '@' in the input, now on the left of secound rule we used with & in it , it has a 'E' , make that E produce a number since the given input contains a number in it on the first place and similarly on the right side do the same.......if you got this hint , i guess you know now how to do it.... i'm sorry but i guess i can make u understand better only if you were right here in front of me.
@as_if
@as_if 9 ай бұрын
A bottom up approach helps. Reducing into variables from terminals seemed easier while forming the parse tree.
@sakshikatiyar7091
@sakshikatiyar7091 3 жыл бұрын
No words for praise you sir ......🙏🙏🙏🙏🙏🙏 Thank u so much sir 💗😎🙏
@020hamza2
@020hamza2 Жыл бұрын
U thought very well will do with full procedure but I can check my solution with trick
@ankitagarwal4729
@ankitagarwal4729 2 жыл бұрын
brillant teacher sir ji
@Anirbansinha24
@Anirbansinha24 3 жыл бұрын
At 3:06 sir how did u put "T -- num" directly?? Shouldn't it be " T -- F -- num"?
@muhammadtabish6361
@muhammadtabish6361 3 жыл бұрын
right my question is also same
@asifhabib9502
@asifhabib9502 3 жыл бұрын
my question is also same , no difference.
@narendraregar8483
@narendraregar8483 3 жыл бұрын
by mistake
@RJtheHELL
@RJtheHELL 3 жыл бұрын
He did it by mistake but also when you will put T->F->num ulitmately T will be assigned the same value
@samridhiarora4014
@samridhiarora4014 2 жыл бұрын
Getting the point 🙏
@Vivek_LALLA_2.0
@Vivek_LALLA_2.0 Жыл бұрын
Yes 🤣
@shahinparween3496
@shahinparween3496 3 жыл бұрын
Thank you sir for excellent explanation
@anonymoussaiyan7555
@anonymoussaiyan7555 2 жыл бұрын
Yes Sir I am getting the Point
@ayushgupta8545
@ayushgupta8545 3 жыл бұрын
chaa gaye sir jiii🤘🤘🤘🤘🤘🤘
@lovishchawla6234
@lovishchawla6234 2 жыл бұрын
Sir isme joh right side m T@F likha hai n usme joh further T ko likha hai phele F aayega and then num
@mylifemymemories6858
@mylifemymemories6858 3 жыл бұрын
scientific assistance A post ke liye TOC subject syllabus me hai ya nahi ? plz bataye.
@The_Inquisitive_Boy
@The_Inquisitive_Boy 3 жыл бұрын
Thanks a lot sir really explained very well...
@user-ph3ks7mh8l
@user-ph3ks7mh8l Жыл бұрын
why you extend that E again by E & T (2nd step) when you were making that tree? can someone explain me?
@soni.himansh
@soni.himansh 3 жыл бұрын
Sir, please complete COMPILER DESIGN SERIES
@vaishnavijahagirdar5116
@vaishnavijahagirdar5116 3 жыл бұрын
Sir plz operating system ka ek revision video bana do plz!!
@PetBuddies
@PetBuddies 2 жыл бұрын
ji vai!! got the point. crystal clear, thank you
@Starwork09
@Starwork09 2 жыл бұрын
3:03 Small mistake in the right side of tree where T - num - 7 it must be T - F - num - 7
@ratnakantahanse2661
@ratnakantahanse2661 3 жыл бұрын
Thank you sir ❤️❤️❤️.... May GOD BLESS YOU SIR 🙏🙏🙏🙏❤️❤️❤️...
@sakshisolanki2226
@sakshisolanki2226 3 жыл бұрын
Thank you so much 😍
@khadijaafzaal5088
@khadijaafzaal5088 3 жыл бұрын
thanks sir bht acha baty h.
@tobehonest5633
@tobehonest5633 2 жыл бұрын
hello sir i am confused by one thing is syntax directed definition (SDD) and syntax directed translation (SDT) same things?
@santasardar8660
@santasardar8660 2 жыл бұрын
yes
@farieamow7896
@farieamow7896 3 жыл бұрын
Thanks.
@shubhampancheshwar8421
@shubhampancheshwar8421 Жыл бұрын
Small Mistake In The Right Hand Side Of Tree Where T - num - 7 It Must Be T - F - num - 7
@stutisflairs9622
@stutisflairs9622 2 жыл бұрын
Sir I guess it should be T - F - num - 7 there?
@crispytek6783
@crispytek6783 9 ай бұрын
TYSM!!!!
@preetiyadav8140
@preetiyadav8140 3 жыл бұрын
Thanks sir 👍
@mohdhusainkhan2207
@mohdhusainkhan2207 3 жыл бұрын
Thnku sir......
@nofriendgamer6331
@nofriendgamer6331 3 жыл бұрын
Sir ap ny tree bohat acha explain kiya hai Thanks
@nofriendgamer6331
@nofriendgamer6331 3 жыл бұрын
You are a best sir
@tfaclasses1.080
@tfaclasses1.080 2 жыл бұрын
Nice shortcut.... Superb!!! :)
@AyushRaj-po4xi
@AyushRaj-po4xi 5 ай бұрын
wo sir ne wanha pe + ko * likh diya samjha do thoda
@tarunverma3335
@tarunverma3335 3 жыл бұрын
Sir you are the cheat code to crack competitive exams
@ayushnegi5123
@ayushnegi5123 Жыл бұрын
amazing
@khalidrashid9135
@khalidrashid9135 3 жыл бұрын
U r great sir
@shtakshigoel5759
@shtakshigoel5759 3 жыл бұрын
Hello thanks for the lectures .. Is this the complete course for GATE compiler ? Last three phases need to be covered or this much is enough ?
@pratyakshsinha6292
@pratyakshsinha6292 2 жыл бұрын
CD is of only 4 marks in gate, so I believe this would be enough. Although you should research yourself as well to make sure it is enough.
@Vivek_LALLA_2.0
@Vivek_LALLA_2.0 Жыл бұрын
Nope
@leoraphael8933
@leoraphael8933 2 жыл бұрын
Man's out here saving grades like superman
@sabajutt5073
@sabajutt5073 2 жыл бұрын
Thank u so much sir
@DEVANSHGOEL-dq1wh
@DEVANSHGOEL-dq1wh 2 жыл бұрын
Thank you sir
@a-87shreyashajaychoudhary28
@a-87shreyashajaychoudhary28 2 жыл бұрын
Thanks!
@supriyeanand900
@supriyeanand900 3 жыл бұрын
Sir E And T ko 2 baar Expand Quon kiyen??
@fakeuser18145
@fakeuser18145 3 ай бұрын
Thnkew u r our sahara🥲😩🌸
@HarshSingh-hk9vs
@HarshSingh-hk9vs 3 жыл бұрын
Sir semantic rule Jo hai hme khud likhna hoga Kya ya question me hoga AGR hme khud likhna hai to hme kse PTA hoga ki @/& ke place pr * ...hai ya Ni plz answer
@AyushRaj-po4xi
@AyushRaj-po4xi 5 ай бұрын
sir aap acha pdha lete ho
@sumitjaiswal5196
@sumitjaiswal5196 3 жыл бұрын
Thank u sir❤❤
@Chandankumar-qw6hb
@Chandankumar-qw6hb 2 жыл бұрын
Without practice not remember 100% solution 🥺
@100K-Subscribers5
@100K-Subscribers5 2 жыл бұрын
thank u
@sanjanarewadiya8112
@sanjanarewadiya8112 2 ай бұрын
I have one question sir @ki value + kre toh yaha -hi kyo kia
@Streezindahai
@Streezindahai 3 жыл бұрын
No I don't believe in best teachers BUT teri nazaro ne dil ka kiya jo hashar....
@krishnajani9924
@krishnajani9924 3 жыл бұрын
I am sem-3 student please put videos in cursor topic.
@AhmadRaza-gl5xt
@AhmadRaza-gl5xt Жыл бұрын
why E is used 2 times in left side?
@srilayakannath7486
@srilayakannath7486 2 жыл бұрын
Thnksu 😭💕
@Alonkete
@Alonkete 3 ай бұрын
Miss u
@shivaramgoli6333
@shivaramgoli6333 5 ай бұрын
Why he wrote e&t twice in parse tree
@fakeuser18145
@fakeuser18145 3 ай бұрын
Same question
@mrabhishek211
@mrabhishek211 3 жыл бұрын
68 th view
@nikhilkamode9090
@nikhilkamode9090 11 ай бұрын
2:08 vaha E gives T aayega na phirse E &T kaise
@MindMusic123
@MindMusic123 4 ай бұрын
bro you say parsing tak hard questions hain. le me: ap say samjny k bad.....ya b koi hard thy😁😁
@amnasadaf180
@amnasadaf180 2 жыл бұрын
Result = (a - b) + (c / d) + 5 ?
@parasgarg4091
@parasgarg4091 3 жыл бұрын
what about operator +
@FreyXFI
@FreyXFI Жыл бұрын
3:56 AM
@vikasharry976
@vikasharry976 3 жыл бұрын
Sir is hisaab se pichli video mai jo aapne 19 answer nikala hai uska ans 35 hona chaheye....
@Shyara2308
@Shyara2308 Жыл бұрын
There is a mistake i noticeed at 3.27 T directly reudced to num which is not possible , first it reduce to F and then num
@AyushKumar-lf3sl
@AyushKumar-lf3sl 8 ай бұрын
yeaa
@FreyXFI
@FreyXFI Жыл бұрын
T -> F -> num -> 7 (minor mistake but still)
@anzaralim3616
@anzaralim3616 3 жыл бұрын
Agar WO last wala part phele batate to acha hota 😅
@_atom_gaming_
@_atom_gaming_ 2 жыл бұрын
short trick is 10 seconds (:
@anshumanpattanaik1772
@anshumanpattanaik1772 5 ай бұрын
But this grammar is left recursive
@haqinzmamul12
@haqinzmamul12 3 жыл бұрын
No query just want a accepting heart from you
@namitvarshney2142
@namitvarshney2142 3 жыл бұрын
asli dimag to input to dekh ke parse tree banane mai hi hai.
@afrozr9191
@afrozr9191 2 ай бұрын
Std they gave code
@parthgoyal9999
@parthgoyal9999 Жыл бұрын
Tree kaise banaya ye to batao bhai
@AniketKumar-tk4mi
@AniketKumar-tk4mi Жыл бұрын
Bhai any kind of parsing method you can use which are throught in previous lecture Like LR,SLR,CLR OR LL(1)
@AniketKumar-tk4mi
@AniketKumar-tk4mi Жыл бұрын
For small input you can even visualize it simply without using any parse table or method
@AyushRaj-po4xi
@AyushRaj-po4xi 5 ай бұрын
aap koi service join kyun nhii kar lete 🙂
@abhisharma123
@abhisharma123 2 ай бұрын
Apko bure lagre pdhaty hue
@user-si3mf1ys9u
@user-si3mf1ys9u 3 жыл бұрын
gazab log hai yar ye 5 log jinhone dislike kiya, kam se kam kisi ke affects ki respect karna chahiye, guru ko dislike or katrina ki bikini wali pic per like hi like waaah re mere vatan ke logo jara aaankh me bhar lo pani hahahahah .......
@premrauth8416
@premrauth8416 3 жыл бұрын
Thankyou sir 🙏
@jaspalrana5716
@jaspalrana5716 3 жыл бұрын
thank you sir
Lec-20: S-Attributed vs L-Attributed SDT | Types of SDT
10:11
Gate Smashers
Рет қаралды 384 М.
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 4,3 МЛН
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 43 МЛН
Lec-22: Intermediate Code Generation with example
8:12
Gate Smashers
Рет қаралды 446 М.
Lec-23: What is 3-Address Code in Compiler
5:17
Gate Smashers
Рет қаралды 441 М.
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 4,3 МЛН