DIZNR INTERNATIONAL

GATE 1991 Subject – Theory Of Computation Topic -Finite Automata.

GATE 1991 Subject – Theory Of Computation Topic -Finite Automata.

https://www.gyanodhan.com/video/7B3.%20GATE%20CSEIT/Theory%20of%20Computation/627.%20CSEIT%20-%20GATE%201991%20%20%20Subject%20-%20Theory%20Of%20Computation%20%20%20Topic%20-Finite%20Automata....mp4

 Finite Automata – GATE 1991 (Theory of Computation)

Finite Automata (FA) is a key topic in Theory of Computation (TOC) and is used to recognize Regular Languages. It is one of the fundamental models of computation.

 Definition of Finite Automata

A Finite Automaton (FA) is formally defined as a 5-tuple (Q, Σ, δ, q₀, F), where:

 Types of Finite Automata

Finite Automata can be classified into two main types:

Type Description Recognizes
DFA (Deterministic Finite Automata) Exactly one transition per input symbol from each state Regular Languages
NFA (Nondeterministic Finite Automata) Multiple transitions for the same input symbol or ε-moves Regular Languages

Both DFA and NFA recognize the same class of languages (Regular Languages).

 Example of DFA

Language: Strings over {0,1} that end with 1.

DFA Representation:

States: {q0, q1}
Alphabet: {0,1}
Start State: q0
Final State: q1
Transitions:

State Input 0 Input 1
q0 q0 q1
q1 q1 q1

Explanation:

 Example of NFA

Language: Strings containing 10 as a substring.

NFA Representation:

States: {q0, q1, q2}
Alphabet: {0,1}
Start State: q0
Final State: q2
Transitions:

State Input 0 Input 1
q0 q0 q1
q1 q2
q2 q2 q2

Explanation:

 GATE 1991 Question on Finite Automata

Q: Which of the following statements is true?
(A) Every NFA can be converted to an equivalent DFA.
(B) NFA can recognize more languages than DFA.
(C) There exists an NFA for which no equivalent DFA exists.
(D) DFA and NFA recognize different sets of languages.

Correct Answer: (A) Every NFA can be converted to an equivalent DFA.
Explanation: DFA and NFA are equivalent in power, meaning any language recognized by an NFA can also be recognized by a DFA. The subset construction algorithm is used to convert an NFA to an equivalent DFA.

 Summary

Finite Automata recognizes Regular Languages.
DFA has unique transitions, while NFA allows multiple transitions.
Both DFA and NFA are equivalent in power but differ in complexity.
Used in compilers, text searching, and pattern recognition.

 Do you need more solved GATE questions or examples?