Final answer:
To convert FSMs to regular expressions, the Fsmtoregex algorithm and the heuristic method can be used. The choice of which state to remove first is critical.
Step-by-step explanation:
The question is asking to convert Finite State Machines (FSMs) to regular expressions. For Part A, the full algorithm Fsmtoregex shown in class must be used, including null transitions.
For Part B, the heuristic method can be used. When converting FSMs to regular expressions, carefully consider which state to remove first, as it can significantly impact the resulting expression.