4.21. DFA for strings of the form a3bwa3

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • Technical lectures by Shravan Kumar Manthri.
    Watch Top 100 C MCQ's
    • Top 100 MCQs in C ("Wa...
    Watch Technical C programming
    • Technical C coding : p...
    Watch Data Warehousing & Data Mining
    • 1. Multi-Dimensional ...
    Watch Design & Analysis of Algorithms
    • 1. Introduction to the...
    Watch Formal Languages & Automata theory
    • 1. Introduction to Aut...
    Contact me @ fb : shravan.kites@gmail.com
    Like us on fb: CSE GURUS
    This video explains DFA problems with explanation. #ShravankumarManthri#CSEGURUS #ShravankumarManthri#CSEGURUS

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

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

    at the last for q7 state self loop with a is wrong as it fails to satisfy the condition a3bwa3

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

      Can u give one example?

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

      aaabaaaba

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

      I think there should be a transition of a,b to the dummy state instead of a self loop with a.

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

      @@nithinrajchittath7820 no bro the self loop is correct ......if u input a string like aaabbababbbaaaaaaaaaaaaa still it end with 'aaa'. Thats all there is no need to a dummy state from q7

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

      @@satheesh3266 now that I think about it yes I think you are right.
      Thanks man👍

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

    Here q6 will be the final state. The solved DFA is for a^3bwa^4.

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

    Isnt this going like a big clumsy chain?
    Why dont you use self state for q1?

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

      For the self loop, you will get b after any number of a. Here, b should come after only 3 consecutive a.