1.

What kind of expressions do we used for pattern matching?(a) Regular Expression(b) Rational Expression(c) Regular & Rational Expression(d) None of the mentionedI have been asked this question in an interview for job.This question is from Converting Regular Expressions to Automata in section Regular Expressions and Languages of Automata Theory

Answer»

The correct answer is (c) Regular & RATIONAL Expression

For explanation I would say: In automata theory, Regular Expression(SOMETIMES also called the Rational Expression) is a SEQUENCE or set of CHARACTERS that define a search pattern, mainly for the use in pattern matching with strings or string matching.



Discussion

No Comment Found

Related InterviewSolutions