Conversion of Mealy Machine to Moore Machine (Example 1)

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024

Комментарии • 43

  • @manishrawat1079
    @manishrawat1079 5 лет назад +79

    new semester, new subject, but NESO is there for you always

    • @anish8202
      @anish8202 Месяц назад

      hello how are you doing now after 5 year which company are you in and your package

  • @javaexpertsa8947
    @javaexpertsa8947 6 лет назад +15

    Can't thank you enough! Everything in this Course is just on point, love it!

  • @paalpaal362
    @paalpaal362 5 лет назад +6

    Thanks for making me understand the topic very easily.

  • @arnabjana2620
    @arnabjana2620 5 лет назад +9

    Excellent explanation, thanks sir

  • @javaexpertsa8947
    @javaexpertsa8947 6 лет назад +12

    I would love to see Data Structures & Algorithm, that's something only a person like you could explain in plain words.

  • @marxman1010
    @marxman1010 3 года назад +7

    What happens if input is an empty string? Output is zero with the initial state. Note the input is from sigma star which includes empty string.

  • @user-ti6rw1ko4m
    @user-ti6rw1ko4m 6 месяцев назад

    Thank you so much for this knowledge from these videos, it has helped me a lot.

  • @Ankit-we8ym
    @Ankit-we8ym 7 лет назад +6

    thanks for teaching us, sir until when the course of toc will be completed by you

  • @parzival_rex_1509
    @parzival_rex_1509 2 года назад +6

    We should get the output 010 for aaa, but in your Mealy Machine, we will get 011.
    Isn't that wrong?

    • @imposter1721
      @imposter1721 Год назад

      we get output 011 for aaa, in both mealy and moore machine.

    • @rahqanshaikh
      @rahqanshaikh Год назад

      @@imposter1721 so wouldn't that make both of them incorrect?

    • @rishabh847
      @rishabh847 Год назад

      ​@@rahqanshaikh 0011 is right for Moore machine

  • @adityaasthana632
    @adityaasthana632 3 года назад +5

    Thank you so much for the Tutorial.
    I have a doubt. what if I give 'aaa' or 'bbb' as input? The Moore Machine will output 11 while there is only one 'aa' or 'bb'.
    I am a bit confused..

  • @arnabnath4782
    @arnabnath4782 Год назад

    thanks for these easy explainatoins........

  • @Rishabh-ed1fb
    @Rishabh-ed1fb 7 лет назад

    thanx for helping us m facing so difficulties in this suubject

  • @dipikayadav8769
    @dipikayadav8769 2 года назад

    If we give input as "abba" as specified in the question that this machine must give output '1' when ever the sequence 'aa' or 'bb' is encountered. Then for input : "abba" it must give output '1'. But the given figure . does not give output as '1'.
    I think for this given ans question must be , print '1' whenever the string end with either 'aa' or 'bb' .

  • @lalitbansal6473
    @lalitbansal6473 5 лет назад +3

    when we write aaa or a more then 2 times or b more then 2 times it give wrong answer may be moore machine over lap but mealy machine give answer correctly so how conversen is correct .please help

    • @fzehra9515
      @fzehra9515 4 года назад

      yeah sir can you please take a look at this (Neso)

    • @shramithsrinivas
      @shramithsrinivas 4 года назад

      No it's correct, the thing is when we give aaa we get input 1 twice because the aa sequence is repeated twice

  • @user-bu8mg7uq3s
    @user-bu8mg7uq3s Год назад

    thank you

  • @pushpdantpurigoswami
    @pushpdantpurigoswami 2 года назад

    Sir please create table after conversation !!!

  • @niconico4785
    @niconico4785 3 года назад

    it also prints 1 after scanning 'aa' for example 'aaa' (or 'bb')
    a a a
    0 0 1 1
    right ?

    • @marxman1010
      @marxman1010 3 года назад

      Right. At state B1, it loops back to B1 with input a.

    • @errorless7921
      @errorless7921 Год назад

      Yes there is problem in aaa or bbb

  • @satadhi
    @satadhi 7 лет назад

    no offence can you do the conversion in terms of transition tables i mean using transition table. Thanks

  • @studentcommenter5858
    @studentcommenter5858 6 лет назад +2

    This example exactly same as the previous lecture except that {a,b} is interchanged with {0,1}. smh.

  • @shushrutgupta
    @shushrutgupta 6 лет назад

    mealy machine have n states while moore machine should have n+1 states but in the example, 5 states are drawn. How it is not wrong?

    • @javaexpertsa8947
      @javaexpertsa8947 6 лет назад

      N doesnt describe the states, it is the output you get back, in combination with the input. So when the Input is in Mealy M: aabb, the output will be (0101). When we give the same Input now in the Moore M. we get the output (0 + "0101"). So Moore M. got n+1.

  • @amanverma-808
    @amanverma-808 6 лет назад

    what will be the output of state A?

    • @javaexpertsa8947
      @javaexpertsa8947 6 лет назад +1

      In this case, it is 0, because the condition says only from 'aa' or 'bb' we get '1'.

  • @myonlynick
    @myonlynick 7 лет назад +1

    test it for input abaaaa it gets trapped in B1 state and prints 3 times one, it should print 2 times one, NOT 3. Thus, it has a wrong logic! Either the question should change or both diagrams need readjustment for B1, C1 states->they should not loop to themselves.Instead they should point to B0, C0 respectively in order to fully fit to the question's requirements.

    • @ujjwalsharma3292
      @ujjwalsharma3292 7 лет назад

      check this input for mealy machine. output are same in both mealey and moore machine. So, conversion is correct. Purpose was to show how to convert.

    • @ChristianBurnsShafer
      @ChristianBurnsShafer 6 лет назад +2

      The input "abaaaa" does in fact have the sequence "aa" in it 3 times. You're making the counting error; not the machine. ab *aa* aa, aba *aa* a, and abaa *aa*

    • @priyanshupatel2089
      @priyanshupatel2089 6 лет назад

      we are getting 3 three times output 1 because it is detecting overlapping sequence..

  • @tarunmohanty2242
    @tarunmohanty2242 4 года назад

    If input is aaaa then what's the output ??

    • @rohitvadhya7153
      @rohitvadhya7153 3 года назад +1

      The output is "00111" as there are three consecutive possibilities of "aa".

  • @ishaghaisas5991
    @ishaghaisas5991 4 года назад

    what if we print 'bbb'? we will get output as 0011

    • @rohitvadhya7153
      @rohitvadhya7153 3 года назад +3

      Yes because there are two consecutive possibilities of "bb".
      If the input string is "bbbb" then we get the output as 00111 as there are three consecutive possibilities of "bb".

    • @shanmugapriya7554
      @shanmugapriya7554 3 года назад

      @@rohitvadhya7153 is this sure one?

    • @rohitvadhya7153
      @rohitvadhya7153 3 года назад +1

      @@shanmugapriya7554Yes 👍