COMPUTER SCIENCE AND ENGINEERING
THEORY OF COMPUTATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]


String


Function


Regular language


Contextfree language

Detailed explanation1: For every NFA a deterministic finite automaton (DFA) can be found that accepts the same language. Explanation: Therefore it is possible to convert an existing NFA into a DFA for the purpose of implementing a simpler machine.
Detailed explanation2: A DFA can be constructed from an NFA through a general process called “subset construction.” In this process, all sets of states generated by an NFA for any input are considered as states for the DFA. Subset construction is a process for converting any NFA into a DFA and thus is applicable to string matching.
Detailed explanation3: What is the relation between NFAaccepted languages and DFA accepted languages? Explanation: The no of languages accepted by NFA and DFA is equal.
Detailed explanation4: Explanation: The conversion of a nondeterministic automata into a deterministic one is a process we call subset construction or power set construction.
Detailed explanation5: You can construct such DFA by using Thompson or Glushkov construction (among others) to construct an NFA, and then convert it to a DFA. If a language is produced by a DFA, it is regular, and can be described by a regular expression.