Top "Automata" questions

In theoretical computer science, automata theory is the study of abstract 'mathematical' machines or systems and the computational problems that can be solved using these machines.

NFA/DFA implementation in C#

Does anyone know of any good NFA and DFA implementation in C#, possibly implementing as well conversions between both? What …

c# automata dfa nfa
Design Pattern problem involving N states and transitions between them

I have a problem at hand and I am not getting which design pattern to use. The problem goes as …

java design-patterns automata state-machine
Regular expression to match string of 0's and 1's without '011' substring

I'm working on a problem (from Introduction to Automata Theory, Languages and Computer by Hopcroft, Motwani and Ullman) to write …

regex compiler-construction grammar automata
Design a PDA of all strings of 0's and 1's so that the number of 1's is twice the number of 0's

While practicing for my final exams I found this question in Automata Theory, Language and Computation by J. Hopcroft, R. …

automata computation-theory pushdown-automaton
How can I construct a grammar that generates this language?

I'm studying for a finite automata & grammars test and I'm stuck with this question: Construct a grammar that generates …

grammar context-free-grammar automata
What exactly is the 'pumping length' in the Pumping lemma?

I'm trying to understand what is this 'magical' number 'n' that is used in every application of the Pumping lemma. …

automata pumping-lemma
How to convert NFA/DFA to java?

I have a scenario where I have designed the NFA and using JFLAP I have converted it to DFA. I …

java finite-automata automata state-machine
Formal Context Free Grammar From Context Free Language

How can a formal context free grammar be generated for the following language: {ai bjck | i != j or j != k} …

context-free-grammar automata
Construct DFA for L = {(na(w)-nb(w)) mod 3>0}

As per the title: L = {(na(w)-nb(w)) mod 3>0} Alphabet = {a,b} I found two answers to this …

automata finite-automata dfa
DFA that contains 1101 as a substring

I have to draw a DFA that accepts set of all strings containing 1101 as a substring in it. I tried …

automata dfa