Consider the following definition of a lexical token id for an identifier in a programming language, using extended regular expressions: aligned letter & [A-Za-z] \\ digit & [0-9] \\ id & letter (letter digit)* aligned Which one of the following Non-deterministic Finite-state Automata with -transitions accepts the set of valid identifiers? (A double-circle denotes a final state)
Topic-wise GATE CS PYQs with verified steps
