Order PDF of any content from our website with a little minor Fee to donate for hard work. Online MCQs are fully free but PDF books are paid. For details: contact whatsapp +923028700085 Important notes based PDF Books are available in very little price, starting from 500/-PKR; Order Now: contact whatsapp +923028700085

VU Past Papers – CS402 Solved Finite Automata and Transition Graphs Lectures 6โ€“15

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.

Contents Copyrights Reserved By T4Tutorials