The following is/are an approach to process a regexp:

Đạt Michio

New member
The following is/are an approach to process a regexp:
A. Construction of NFA and subsequently, a DFA
B. Thompson’s Contruction Algorithm
C. Thompson’s Contruction Algorithm & Construction of NFA and subsequently, a DFA
D. None of the mentioned
 
Answer: C
Explanation: A regexp processor translates the syntax into internal representation which can be executed and matched with a string and that internal representation can have several approaches like the ones mentioned.
 

Tìm kiếm

Back
Top