1.

Which of the following are not quantifiers?(a) Kleene plus +(b) Kleene star *(c) Question mark ?(d) None of the mentionedThis question was posed to me during an internship interview.My query is from Converting Regular Expressions to Automata in division Regular Expressions and Languages of Automata Theory

Answer»

Correct OPTION is (d) None of the mentioned

Easiest explanation: A quantifier after atoken SPECIFIES how often the preceding element is allowed to occur. ?, *, +, {n}, {min, }, {min, MAX} are few quantifiers we use in regexps IMPLEMENTATIONS.



Discussion

No Comment Found

Related InterviewSolutions