Toc 2
Toc 2
c. Symbols: The basic units from which strings are formed. They are elements of an
alphabet.
e. Regular Languages: These are the simplest class of formal languages. They can be
represented by regular expressions and recognized by finite automata.
For all three, you can create a transition table showing the state transitions based on
inputs, and you can draw a transition diagram where states are nodes and edges
represent transitions.
3. Union/Intersection Theorem
Union Theorem: The union of two regular languages is also regular.
Intersection Theorem: The intersection of two regular languages is also regular.
4. Difference Between DFA and NFA
o DFA: Has exactly one transition for each symbol in the alphabet from any state.
o NFA: Can have zero, one, or multiple transitions for each symbol.
9. DFA Representation
A DFA can be represented as a 5-tuple (Q, Σ, δ, q₀, F), where:
o Q: Set of states
o Σ: Input alphabet
o δ: Transition function
o q₀: Start state
o F: Set of accept states
Unit 4: Undecidability