Questions tagged [automata]

Automata Theory, including abstract machines, grammars, parsing, grammatical inference, transducers, and finite-state techniques

Automata (plural of automaton) are abstract models of machines. These machines take an input such as a string of characters and give some output, often an "accept" or "decline" value.

These machines are closely related to . Many languages can be categorized based on the type of automata that can accept them. For instance,

  • regular languages can be recognized by some deterministic finite automata.
  • context-free languages can be recognized by some pushdown automata.
  • recursively enumerable languages can be recognized by some Turing machine.

There are many different types of automata, each with slightly different definitions. A few examples are

  • Deterministic Finite Automata (DFA)
  • Nondeterministic Finite Automata (NFA)
  • Pushdown Automata
  • Infinite Automata
  • Alternating Automata

For instance, a deterministic finite automata $A$ has five parts:

  • a finite set of states $Q$
  • a finite set of input symbols called the alphabet $\Sigma$
  • a transition function $\delta: (Q\times \Sigma)\rightarrow Q$
  • an initial state $q_0 \in Q$
  • a set of accept states $F\subseteq Q$

The automaton $A$ takes in a string $\sigma$ of characters of $\Sigma$. The automaton starts at state $q_0$ and then for each letter of $\sigma$ it moves to another state according to the transition function $\delta$. Once the automaton has used every letter of $\sigma$, if its final state is in $F$, then we say that $A$ accepts $\sigma$.

For questions also about

1841 questions
0
votes
1 answer

How to find the right quotient of a language given two languages?

If $L_1= \{a^n b^m \mid n \geqslant 1, m \geqslant 1 \} \cup \{ba\}$ and $L_2= \{b^m \mid m \geqslant 0 \}$. I am not getting how the DFA for $L_1/L_2$ is constructed in the second figure using the DFA for $L_1$, please tell me the approach.
0
votes
2 answers

How to construct the DFA for the following question?

Given $L=\{ab^5 w b^4 \}$ where $w=\{a,b\}^*$. I am not able to construct it, I tried it but getting problems with the transitions for input symbol a.
0
votes
1 answer

Are these languages Regular or Non-regular?

I have these two languages $L={\{a^n b^m,n≥m+5,m>0}\}$ Where $∑=(a,b)$ $L={\{a^n b^m,n≥m+5,m≤5}\}$ Where $∑=(a,b)$ As you can see that there is only one difference, the condition of m is different. What my question is that, are these languages…
Aniq
  • 327
0
votes
1 answer

Prove that $A/B$ is regular when $A$ is regular and $B$ is regular or not regular.

Prove that $A/B$ is regular when $A$ is regular and $B$ is regular or not regular. $$A/B=\{w: wx\in A\ \text { for some }\ x\in B\}$$ Please give me a clue.
0
votes
1 answer

Difference between $(a|b)^\ast$ and $a^\ast b^\ast$?

What is the difference between $(a|b)^\ast$ and $a^\ast b^\ast$? Can you show more examples of Kleene star and patterns and explain a little bit? I've searched so many sites in Google, but it returns very little results on this topic. I would be…
hey
  • 209
-1
votes
1 answer

How does this language accept all palindromes with the alphabet {a,b}?

$L = \{w \in \{a,b\}^{*}$ such that $w = w^R\}$ It only says that w is the reverse of w. $L = \{ww^R \in \{a,b\}^{*}$ }$ this one says it accepts all palindromes, but the other one doesn't.
george
  • 19
-1
votes
1 answer

pumping lemma for regular languages and DFA with k states

The Formal statement of the pumping lemma for regular languages: Let $L$ be a regular language. Then there exists an integer $p \ge 1$ depending only on $L$ such that every string $w$ in $L$ of length at least $p$ ($p$ is called the "pumping…
Idan
  • 91
-1
votes
1 answer

Construct an NFA over alphabet {, } that accepts all words with more a’s modulo 4 than b’s modulo 3.

Construct an NFA over alphabet {, } that accepts all words with more a’s modulo 4 than b’s modulo 3. For example, “” is accepted as it has two a’s and one b. The word “” is accepted as it has six a’s and four b’s. I must be missing something…
-1
votes
2 answers

If one can decide the set membership problem for a language by means of a computer program, does it state that the language is regular?

So, all languages for which if I can decide the set membership problem by means of computer programs, is it possible, or correct to say that all such languages are regular? If not, why?
-1
votes
1 answer

Design an pushdown automata to recognize the language, L defined by, L = {wcw^c|w € {0,1}* and w^c is the one's complement of w}.

question as image format The answer can be any type of pda which satisfies the conditions
-1
votes
1 answer

which are the initial and final states?

This is the exercise, I guessed I have to add $\{A,C\}$ and $\{A,B\}$ states to the table. When it comes to make the minimization, I don't know which are the final and initial states. Image here:
-1
votes
1 answer

Is set of words a regular language?

Is the set of all words from a regular language A, where every word has a length divided by 2, a regular language? I was trying to find some counterexample, but without results.
-1
votes
1 answer

Is there an automaton with the given properties?

Let us assume that automaton A has the property that at most one transition enters each state. I wonder if such an automaton can recognize a language containing arbitrarily long words?
-1
votes
1 answer

DFA Universality Criteria

I was looking for definite conditions for a DFA to be universal. So far, I've mainly found this: A DFA is universal iff all its states (minimal states) are final. This does not seem enough however: a DFA having a single state, which would be…
-1
votes
1 answer

Creating a minimal dfa from a regular expression

Having a bit of difficult with the following question: Create a minimal dfa for the language $L(r)$ where $r = a^*\bigl((ab+b)^*\bigr)$?
vecoma
  • 1
  • 1
1 2 3
17
18