Wednesday, 3 May 2017

TOC Differences between DFA and NDFA



The following table lists the differences between DFA and NDFA.
DFA
NDFA
The transition from a state is to a single particular next state for each input symbol. Hence it is called deterministic.
The transition from a state can be to
Multiple next states for each input symbol. Hence it is called non-deterministic.
Empty string transitions are not seen in
DFA.
NDFA permits empty string transitions.

Backtracking is allowed in DFA.
In NDFA, backtracking is not always
Possible
Requires more space. Requires less space. A string is accepted by a DFA, if it transits to a final state.
A string is accepted by a NDFA, if at least one of all possible transitions ends in a final state.

4 comments:

  1. Thanks for sharing information and UGC Net Application Form 2017 is releasing as soon at official site.

    ReplyDelete
  2. NTA conducts JEE Main examination twice in a year. When appearing for the exam, candidates should be fully prepared according to the prescribed JEE Main Syllabus 2020. The syllabus will contain all the important topics. Therefore, applicants should not skip any topic from it. Moreover, students are advised to consider the syllabus of JEE Main 2020 at the time of preparation so as to obtain a good score.

    ReplyDelete
  3. Computer Science - Computer science is a scientific and practical approach to computation and its application. It contains two core parts hardware and software. Hardware is the physical machine where we run computer applications. Hardware has evolved and has made it possible for computing devices to become faster, smaller and more efficient. The software can be very complex. It combines algorithms, data structure, the input, output, and the intermediate storage of data. Computer science also deals with a graphical user interface which makes software programs more user-friendly. Today computers are an integral part of our lives. For more visit: Computer Mobile Info

    ReplyDelete