Lec-49: Left Most & Right Most Derivation in CFG | TOC

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มิ.ย. 2024
  • 👉Subscribe to our new channel: / @varunainashots
    In this video Varun sir explains What is derivation and then he explains Left most & Right most Derivation in CFG.
    0:00 - Introduction
    0:44 - Derivation
    ►Theory of Computation (Complete Playlist):
    • TOC(Theory of Computat...
    Other subject-wise playlist Links:
    --------------------------------------------------------------------------------------------------------------------------------------
    ►Design and Analysis of algorithms (DAA):
    • Design and Analysis of...
    ►Database Management System:
    • DBMS (Database Managem...
    ► Software Engineering:
    • Software Engineering
    ►Artificial Intelligence:
    • Artificial Intelligenc...
    ►Computer Networks:
    • Computer Networks (Com...
    ►Operating System:
    • Operating System (Comp...
    ►Structured Query Language (SQL):
    • Structured Query Langu...
    ►Discrete Mathematics:
    • Discrete Mathematics
    ►Compiler Design:
    • Compiler Design (Compl...
    ►Number System:
    • Number system
    ►Cloud Computing & BIG Data:
    • Cloud Computing & BIG ...
    ►Programming in C :
    • C Programming
    ►Data Structure:
    • Data Structure
    ►Computer Architecture :
    • Computer Organization ...
    ►Graph Theory (Complete Playlist):
    • Graph Theory
    ►Digital Logic:
    • Digital Logic (Complet...
    ---------------------------------------------------------------------------------------------------------------------------------------
    Our social media Links:
    ► Subscribe to us on TH-cam: / gatesmashers
    ►Subscribe to our new channel: / @varunainashots
    ► Like our page on Facebook: / gatesmashers
    ► Follow us on Instagram: / gate.smashers
    ► Follow us on Instagram: / varunainashots
    ► Follow us on Telegram: t.me/gatesmashersofficial
    ► Follow us on Threads: www.threads.net/@gate.smashers
    --------------------------------------------------------------------------------------------------------------------------------------
    ►For Any Query, Suggestion or notes contribution:
    Email us at: gatesmashers2018@gmail.com

ความคิดเห็น • 138

  • @siddharthmagadum16
    @siddharthmagadum16 3 ปีที่แล้ว +327

    You are not only helping for gate exam preperation, but also for the 3rd sem students too . Thank you !

    • @peralacharanraj7699
      @peralacharanraj7699 2 ปีที่แล้ว +22

      Power of English language is
      In ur comment if you remove 'only' then your total intention changes to negative 😅

    • @nanda_8
      @nanda_8 2 ปีที่แล้ว +18

      @@peralacharanraj7699 Bhai exam ki tension me hasa diya mujhe

    • @nupurdayma3072
      @nupurdayma3072 ปีที่แล้ว +3

      Agree with you my DBMS exam was easy becoz of you sir

    • @stardomoutfit
      @stardomoutfit ปีที่แล้ว

      3rd Sem NMIMS

    • @rachnarachna6413
      @rachnarachna6413 ปีที่แล้ว

      Right

  • @Starwork09
    @Starwork09 2 ปีที่แล้ว +17

    Now you are gaining lot of subscriber...... HAPPY TO SEE this .... Hopefully 1-MILLION Comming soon ❤️ Love YOU VARUN SIR....

  • @FARHANKHAN-oe6mv
    @FARHANKHAN-oe6mv ปีที่แล้ว +5

    Reaching this lecture in just 2 days from starting, your teaching style is osm bhaiya ❤️❤️❤️

  • @wrestlingkingdomll591
    @wrestlingkingdomll591 4 ปีที่แล้ว +24

    Great Explanation Sir now I m confident for my examination

  • @mitalithakur4829
    @mitalithakur4829 ปีที่แล้ว +4

    No words sir👏.... You are really really amazing person in Computer Science field.... There are also lots of channels available in yt but none one can explain like u 💫❣️..... Thanks for giving us so accurate information about each topic ✨✨....

  • @mohitgehlot20
    @mohitgehlot20 3 ปีที่แล้ว +6

    Sir par kahan hai aapke..
    Bas aishrwaad lena
    Very helpful sir!
    Referred dbms ,toc, CN and Found useful and understable..
    Great ..we need Teachers more like you in this 🌎💪👍👍👍👍👍

  • @amberalam5444
    @amberalam5444 ปีที่แล้ว +5

    following you since 2 years but today I watch your subscribers and just shocked ( You deserve many more!!!)
    Why people don't follow a good thing!😒
    But tbvh you are the one who is doing an honest job here!❤
    May Allah Bless uh more and more

  • @shyamkatta8812
    @shyamkatta8812 3 ปีที่แล้ว +4

    U r simply a saviour thank u so much🙏🏻

  • @hardikpatil5569
    @hardikpatil5569 4 ปีที่แล้ว +10

    Sir
    Please upload more videos per day in quarantine period.
    I have almost watched all of your videos
    Waiting for more n other subjects please

  • @p.g4879
    @p.g4879 ปีที่แล้ว +2

    Sir please do complete this toc series. It's really helpfull and Thank you so much for the wonderful explaination.

  • @gauravbhosle281
    @gauravbhosle281 4 ปีที่แล้ว +10

    Sir then difference kya aaya left most or right most me.....
    Or baki ke topics TOC ke aayenge es series me....

  • @apurvajogdand2643
    @apurvajogdand2643 3 ปีที่แล้ว +2

    Seriously ur amazing...thnx alot for supporting 🙂😊

  • @simranarora6794
    @simranarora6794 4 ปีที่แล้ว +2

    fantastic explanation as usual..

  • @vibhor3049
    @vibhor3049 4 ปีที่แล้ว +6

    Great video sir. *Please add more examples* , atleast 2-3.

  • @asrarnaseem1075
    @asrarnaseem1075 ปีที่แล้ว +1

    You know what I can give lectures now after Watching ur TOC playlist

  • @Dentorvess01
    @Dentorvess01 2 ปีที่แล้ว +3

    Today is my exam, and i see the video before 4 hours.
    Thank you so much 🖤

  • @pranitsarode7281
    @pranitsarode7281 ปีที่แล้ว +1

    Thankyou so much 🙌 it's really helpful for me

  • @MasterMEMER-cn2nr
    @MasterMEMER-cn2nr 8 หลายเดือนก่อน

    Sir! You are the Dawn of the Computer Science Thank you

  • @PowerPhysicalAcademy
    @PowerPhysicalAcademy 4 ปีที่แล้ว +1

    Sir your classes very useful for me

  • @akankshasharma5602
    @akankshasharma5602 3 ปีที่แล้ว

    Wow 🔥...
    Thank you sir ❤️

  • @gamecrusher2088
    @gamecrusher2088 2 ปีที่แล้ว

    Best Explanation❤️

  • @yuvasreeakula2589
    @yuvasreeakula2589 2 ปีที่แล้ว

    Happy teachers day sir your videos are helping me a lot

  • @Alpha_Monk3
    @Alpha_Monk3 ปีที่แล้ว +1

    great lecture ...thankyouuu

  • @dipayankanrar1145
    @dipayankanrar1145 7 หลายเดือนก่อน

    You are my favourite teacher form youtube...........

  • @chiragshetty2245
    @chiragshetty2245 2 ปีที่แล้ว

    Varun Paaji You are the Best!!

  • @ghardaritips1158
    @ghardaritips1158 3 ปีที่แล้ว

    Great explanation

  • @tanzeeltaga2723
    @tanzeeltaga2723 5 หลายเดือนก่อน

    Great Work 🥰

  • @mahii6727
    @mahii6727 2 หลายเดือนก่อน

    I think you are underrated.itna zabardast prhaty ho hr subject ap...aur itny km followers and views...afsos hota hy apki views dekh kr....mera bss chaly to mn apki hr video ko 10 10 mrtaba like kr doon

  • @eshmalkhang8845
    @eshmalkhang8845 2 ปีที่แล้ว

    samjh to aty haiy kam az kam English to upper sa jaty haiy welldone sir ur amazing

  • @sratnamanjari244
    @sratnamanjari244 3 ปีที่แล้ว

    Thank You so much Sir 😊

  • @vinitasingh1117
    @vinitasingh1117 4 ปีที่แล้ว

    Thank you so much sir

  • @shrutidwivedi2435
    @shrutidwivedi2435 ปีที่แล้ว +2

    Thank you sir ❣️

  • @ubaidaliawan6894
    @ubaidaliawan6894 4 ปีที่แล้ว

    Thank you sir....

  • @mariammustafa3900
    @mariammustafa3900 2 ปีที่แล้ว

    Excellent 😊

  • @pratibharajput3162
    @pratibharajput3162 3 ปีที่แล้ว

    very useful video sir

  • @apnachannel1025
    @apnachannel1025 7 หลายเดือนก่อน

    Thnku sir you are the best tutor

  • @adeshjadhav3650
    @adeshjadhav3650 3 ปีที่แล้ว

    U are great yaar😘😘😘😘

  • @ishabagga831
    @ishabagga831 9 หลายเดือนก่อน

    Thanks sir bahut acha samjya apne

  • @simransingh6137
    @simransingh6137 2 ปีที่แล้ว +1

    Thank you sir

  • @shreyashchoudhary4576
    @shreyashchoudhary4576 3 ปีที่แล้ว

    Great!

  • @abdurrehmankhan4349
    @abdurrehmankhan4349 2 ปีที่แล้ว

    Sir you are great

  • @usamawaxir8992
    @usamawaxir8992 ปีที่แล้ว

    good explanation ❤

  • @yehumang8361
    @yehumang8361 4 ปีที่แล้ว

    nc explanation sir.

  • @sharusingingshaik5443
    @sharusingingshaik5443 4 ปีที่แล้ว +1

    Thank ..........u sir

  • @nirmaladulal2291
    @nirmaladulal2291 ปีที่แล้ว

    Thank you sir😊

  • @Uddbaga
    @Uddbaga 4 ปีที่แล้ว

    thanku sir :)

  • @ShahidKhan-lk5ke
    @ShahidKhan-lk5ke 4 ปีที่แล้ว

    Sir please. Give more videos for developing more knowledge.

  • @anmolpandey7840
    @anmolpandey7840 2 ปีที่แล้ว +1

    thanks sir

  • @ShakeelAhmad-ef1wp
    @ShakeelAhmad-ef1wp 2 ปีที่แล้ว +1

    Thank you sir, ap ka lecture samaj agia.
    Sir Mera aik Question hain, Sir ap nay (S------->AB) grammar li huwi hain
    to sir ap nay (A) variable say aaA production nekali hain
    to kia hum (A) variable aaaA, aA production nekal saktay hian.?

  • @aminykr447
    @aminykr447 ปีที่แล้ว

    Tysm🥺

  • @devyashnamdev1734
    @devyashnamdev1734 6 หลายเดือนก่อน

    00:48 Understanding derivation and language production from grammar
    01:36 Derivation can be done in two ways: leftmost derivation or rightmost derivation.
    02:24 Leftmost and rightmost derivations focus on different variables
    03:12 Produced A, AA, and lambda in left
    04:00 B, B and lambda are the key variables in the traversal
    04:48 Derivation tree helps in deriving strings from a grammar
    05:36 The process involves opening and substituting variables in the rightmost position.
    06:22 Derivation tree helps determine if a string belongs to a language

  • @roopsiagrawal399
    @roopsiagrawal399 4 ปีที่แล้ว

    Sir,Please make video on CFG to GNF and CFG to CNF conversion

  • @erdhamo2791
    @erdhamo2791 2 ปีที่แล้ว

    Whaaa whaaaaaaaaaa ❤️❤️

  • @tejupotlapally8624
    @tejupotlapally8624 3 ปีที่แล้ว +1

    You are my floki😭😍... thankyou!!

  • @rajgaurav4338
    @rajgaurav4338 ปีที่แล้ว +2

    Bhai aap Computer Science ke Bhagwan Ho.

  • @arpitgoyal0003
    @arpitgoyal0003 2 ปีที่แล้ว +4

    In rightmost derivation, the input is scanned and replaced with the production rule from right to left. So *in rightmost derivation, we read the input string from right to left.*

  • @erdhamo2791
    @erdhamo2791 2 ปีที่แล้ว

    Love from gujrat sirji

  • @rachnarachna6413
    @rachnarachna6413 ปีที่แล้ว

    Thnku sir

  • @vaishalishinde6833
    @vaishalishinde6833 ปีที่แล้ว +2

    Sir , make a video ambiguous and unambiguous grammer please

  • @franciskp9117
    @franciskp9117 2 ปีที่แล้ว

    Consider the following context-free grammar:
    (a) A1 → A2 id(A4)
    (b) A2 → id
    (c) A2 → A2∗
    (d) A4 → A3|epsilon
    (e) A3 → A2 id, A3|A2 id
    The terminals in this grammar are id, (, ), ∗, where $ is the end-of-input marker, and the non-terminals are A1, A2, A3, A4.
    Input string id∗∗ id(id∗∗∗∗ id) belongs to the language generated by the above grammar.
    Question: How can we check if the above grammar is left or right associative ?
    Thanks in advance

  • @ntanetstudies8452
    @ntanetstudies8452 4 ปีที่แล้ว +2

    Sir plz suggest me important topics in system software and software engineering for ugc net 2020 exam...plz sir waiting for ur reply

  • @rashminagar4318
    @rashminagar4318 3 ปีที่แล้ว

    pls try to complete the series!!

  • @jiteshtokas2229
    @jiteshtokas2229 4 ปีที่แล้ว +1

    sir A-> aaA,lemda kab tk krna hai A->lemda leke apne 3rd level pe hi terminate kyu kia?

  • @csstudent693
    @csstudent693 4 หลายเดือนก่อน

    I understand only yours video 😊

  • @ARICChowdhury2023
    @ARICChowdhury2023 4 ปีที่แล้ว

    Sir please do videos on Artificial intelligence

  • @user-su9fv7hx7i
    @user-su9fv7hx7i 7 หลายเดือนก่อน

    tnx

  • @joyeslugun4008
    @joyeslugun4008 ปีที่แล้ว +1

    why parse tree string read left to right?

  • @pareekshithsandiri
    @pareekshithsandiri 4 หลายเดือนก่อน

    sir i have a doubt in right most derivation, why did you take lamda on right side because we have to derive right most string na.

  • @jayshrikhamk97
    @jayshrikhamk97 3 ปีที่แล้ว +1

    Thanks🧡

  • @hamzarafi5387
    @hamzarafi5387 2 ปีที่แล้ว

    so shouldn't we stop when we lamda if not then what's the point of LMD RMD

  • @yehumang8361
    @yehumang8361 4 ปีที่แล้ว

    sir aap online aye the baad continue kyu nhi kiya?

  • @aryansawant011
    @aryansawant011 3 หลายเดือนก่อน

    Hello sir, Should both trees always be identical?

  • @abbashuzefamotiwala
    @abbashuzefamotiwala 3 หลายเดือนก่อน +1

    How to deal with these type of question when the grammar is given.?
    Give strings that cannot be generated from the context-free grammar.

  • @BABYGIRLLL557
    @BABYGIRLLL557 5 หลายเดือนก่อน

    Sir yeh LMD and RMD sirf non-terminal pe use karte hai na??

  • @jyothisai1
    @jyothisai1 4 ปีที่แล้ว

    sir gate k liye aapka lectures kaafi h Kya Jo subjects aap upload Kar Rh ho???

  • @cheenakshibansal5318
    @cheenakshibansal5318 2 ปีที่แล้ว

    Sir can i suggest something sir pls subject wise previous year questions from 2004-2020 ke question krwa dijye

  • @shahzadafathurrahmanbscs-2773
    @shahzadafathurrahmanbscs-2773 ปีที่แล้ว

    saying competitive exam is permanent😂❤

  • @kalyanisingh3942
    @kalyanisingh3942 11 หลายเดือนก่อน

    Sir dono condition me tree same hi banegi left most derivation and right most derivation....

  • @ImMdSarkar.
    @ImMdSarkar. 15 วันที่ผ่านมา

    What's actual difference b/w LMD & RMD?

  • @PowerPhysicalAcademy
    @PowerPhysicalAcademy 4 ปีที่แล้ว

    Sir plz is topic k baad computer graphics krvana plz

  • @KeseKhushboo
    @KeseKhushboo 7 หลายเดือนก่อน

    construct context free grammar to accept the language L equals to a^n + 2 b^m+ 1 |n = m will you explan this my exams aare coming

  • @brandscollection3438
    @brandscollection3438 3 ปีที่แล้ว

    sir thore mushkil question bhi solve krna sikhaye paper me jb krne beth jate ha tu kuch nae ata jitna easy ap btate ha utna halwa nae ata paper me

  • @arvindarora5645
    @arvindarora5645 ปีที่แล้ว +3

    Anyone from CU?

  • @tushar090
    @tushar090 2 ปีที่แล้ว

    stop kb krna h lambda laga k end m ya kasa pta chalgya

  • @southmoviesmelody
    @southmoviesmelody 7 หลายเดือนก่อน

    Show that the following grammar is ambiguous
    S-> iCtS
    S-> iCtSes
    S-> a
    C-> b

  • @boombruhgaming88
    @boombruhgaming88 หลายเดือนก่อน

    Uttrakhand technical University

  • @fearlessff6453
    @fearlessff6453 2 ปีที่แล้ว

    but your answer pf left most derivation tree and right hand derivation tree are same no difference between them

  • @dipankarchowdhury2625
    @dipankarchowdhury2625 7 หลายเดือนก่อน

    মাইরি বলছি দাদা, আপনি না থাকলে পুরো পেছন মারা খেয়ে যেতাম পরীক্ষায়❤️

  • @eshmalkhang8845
    @eshmalkhang8845 2 ปีที่แล้ว

    haiy shukar haiy ap Urdu ma lecture daity haiyn

  • @raviahairwar4304
    @raviahairwar4304 8 หลายเดือนก่อน

    Sir Jo Capital A and B hai woh kha gye

  • @csworld9319
    @csworld9319 2 ปีที่แล้ว +2

    Sir aap saare video me yahi bolte hai ki ye competitive exam or college yaa university exam me babut puche jaate hai. Kabhi to bol diya karo ki ye naa to competitive exam me or naa hi college or university exam me nhi aayega 😁😁😁
    #DoNotStudy 😁😁

  • @yanhashah7307
    @yanhashah7307 2 ปีที่แล้ว

    Sir apna num mil sakta hen?

  • @shouvikdutta2825
    @shouvikdutta2825 3 ปีที่แล้ว +1

    aaA->aaaaA this step is missing here.

  • @yatharthleekha7878
    @yatharthleekha7878 ปีที่แล้ว +4

    Bhaii tere kitne aaye the toc mein mujhe nahi lagta tune first try mein clear kiya hoga 4 baar to backlog aaayi hogi tujhe TOC mein khud padh le phir mujhe pada nahi to teri vajah se meri college mein pehli back aayegi aise lag raha hai mujhe.....'

  • @mitalithakur4829
    @mitalithakur4829 ปีที่แล้ว +2

    No words sir👏.... You are really really amazing person in Computer Science field.... There are also lots of channels available in yt but none one can explain like u 💫❣️..... Thanks for giving us so accurate information about each topic ✨✨....

  • @ratnakantahanse2661
    @ratnakantahanse2661 3 ปีที่แล้ว

    Thank you sir....

  • @NobitaDoraemon4ever
    @NobitaDoraemon4ever 3 ปีที่แล้ว

    Thank you sir

  • @hiteshbiroria7786
    @hiteshbiroria7786 3 ปีที่แล้ว

    Thank u sir........

  • @anshrastogi9430
    @anshrastogi9430 2 ปีที่แล้ว

    Thank you sir