...
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024

ISRO CS-2023

Question 64
Consider the NFA with epsilon-transitions below, which is meant to accept strings corresponding to a lexical token id. Here the token digit corresponds to the extended regular expression [0-9]and letter to [a-z A-Zl. In the diagram, a small incoming edge indicates a start state while a double circle indicates a final state. Which of the following extended regular expressions corresponds to the token id?
isro-23-q64
A
letter (letter|digit)*

B
(letter | digit)* letter
C
(letter | digit)*
D
letter (letter* | digit*)
Correct Answer: A
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!