Bhanu Priya has Published 1449 Articles

Explain Union process in DFA

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:55:09

3K+ Views

The union process in the deterministic finite automata (DFA) is explained below −If L1 and If L2 are two regular languages, their union L1 U L2 will also be regular.For example, L1 = {an | n > O} and L2 = {bn | n > O}L3 = L1 U L2 ... Read More

Construct DFA of a string in which the second symbol from RHS is ‘a’

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:52:53

4K+ Views

A Deterministic Finite automaton (DFA) is a 5-tuplesM=(Q, Σ, δ, q0, F)Where, Q : Finite set called states.Σ : Finite set called alphabets.δ : Q × Σ → Q is the transition function.q0 ϵ Q is the start or initial state.F : Final or accept state.ProblemDesign a finite automaton where ... Read More

Design DFA for language over {0,1} accepting strings with odd number of 1’s and even number of 0’s

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:50:08

5K+ Views

A Deterministic Finite automaton (DFA) is a 5-tuplesM=(Q, Σ, δ, q0, F)Where, Q : Finite set called states.Σ : Finite set called alphabets.δ : Q × Σ → Q is the transition function.q0 ϵ Q is the start or initial state.F : Final or accept state.ProblemConstruct a DFA machine accepting ... Read More

Construct an NFA accepting strings with an even number of 0s or an odd number of 1s

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:47:51

14K+ Views

Non-deterministic finite automata (NFA) also have five states which are same as DFA, but with different transition function, as shown follows −δ: Q X Σ → 2QWhere, Q : Finite set called states.Σ : Finite set called alphabets.δ : Q × Σ → Q is the transition function.q0 ϵ Q ... Read More

Design a DFA machine accepting odd numbers of 0’s or even numbers of 1’s

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:46:13

12K+ Views

A Deterministic Finite automaton (DFA) is a five tuplesM=(Q, Σ, δ, q0, F)Where, Q : Finite set called states.Σ : Finite set called alphabets.δ : Q × Σ → Q is the transition function.q0 ϵ Q is the start or initial state.F : Final or accept state.ProblemConstruct a DFA machine ... Read More

Design a DFA of a string with at least two 0’s and at least two 1’s

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:41:24

4K+ Views

A Deterministic Finite automaton (DFA) is a 5-tuplesM=(Q, Σ, δ, q0, F)Where, Q : Finite set called states.Σ : Finite set called alphabets.δ : Q × Σ → Q is the transition function.q0 ϵ Q is the start or initial state.F : Final or accept state.ProblemConstruct DFA of a string ... Read More

Construct DFA for strings not ending with "THE"

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:39:08

965 Views

A Deterministic Finite automaton (DFA) is a five tuplesM=(Q, Σ, δ, q0, F)Where, Q : Finite set called states.Σ : Finite set called alphabets.δ : Q × Σ → Q is the transition function.q0 ϵ Q is the start or initial state.F : Final or accept state.Accept Strings which are ... Read More

Explain the operation of DFA with block diagram in TOC

Bhanu Priya

Bhanu Priya

Updated on 15-Jun-2021 06:35:41

2K+ Views

The finite automata (FA) is represented as follows in the theory of computation (TOC) −Components of FAThe different components of finite automata are as follows −Input tapeThe input tape has a left end and extends to the right end.It is divided into blocks and each block containing a single symbol ... Read More

Design a TM that perform right shift over ∑ = {0, 1}

Bhanu Priya

Bhanu Priya

Updated on 14-Jun-2021 16:10:53

5K+ Views

ProblemShift the input string right by one place and design a Turing Machine (TM) that can perform right shift over ∑ = {0, 1}.SolutionRefer an algorithm given below to design a TM −Step 1 − Move right side to the last character from the initial character.Step 2 − If the character ... Read More

Design a TM that increments a binary number by 1

Bhanu Priya

Bhanu Priya

Updated on 14-Jun-2021 16:07:09

4K+ Views

Turing’s machine is more powerful than both finite automata and pushdown automata. These machines are as powerful as any computer we have ever built.Formal Definition of Turing MachineA Turing machine can be formally described as seven tuples(Q, X, Σ, δ, q0, B, F)Where, Q is a finite set of states.X ... Read More

Advertisements