Q1. Finite Automaton (FA/FSM)
- Machine with finite states recognizing a regular language.
Q2โ3. FA vs TG vs GTG
- FA: transitions labeled with single letters; deterministic.
- TG: transitions may be strings; allows null transitions.
- GTG: transitions can be regular expressions.
Q4. Union of FAโs
- FA1 โช FA2 accepts all strings accepted by FA1 or FA2.
Q6. Creating RE from a Language
- Finite: list all words separated by +
- Infinite: use *, + for patterns.
- Example: Strings starting with a โ a(a+b)*
Q7โ10. FA vs NFA
- FA: one transition per letter per state.
- NFA: multiple/no transitions possible per letter per state; all FAโs are NFAโs.
Q11. Understanding FA/NFA Traversal
- Start from initial state; follow transitions; accept if ends in final state.