Question:medium

What type of automaton is mainly used for simple pattern matching?

Show Hint

The "grep" command in Linux and the Lexical Analyzer in a compiler both use Finite Automata (specifically DFA) to quickly identify tokens and patterns.
Updated On: Jul 4, 2026
  • DFA
  • PDA
  • Turing machine
  • Grammar
Show Solution

The Correct Option is A

Solution and Explanation

Was this answer helpful?
0

Top Questions on Regular expressions and finite automata