ACtE07 · Chapter 7Theory of Computation & Graphics🏛️ Past Licensure QuestionID: 3650b480
Which of the following is NOT a component of a Context-Free Grammar (CFG) 4-tuple ?
Which of the following is NOT a component of a Context-Free Grammar (CFG) 4-tuple ?
Multiple Choice Options
- A
Terminals ()
- B
Non-terminals / Variables ()
- C
Production rules ()
- D✓ Correct Option
Transition states ()
Detailed Technical Solution & Explanation
A Context-Free Grammar is formally defined as a 4-tuple , where is a finite set of non-terminals, is a finite set of terminals, is a relation of production rules (), and is the start symbol. 'States' belong to automata (Finite Automata or Pushdown Automata), not grammars.
Option Analysis:
•
Option A (Terminals ()): Fundamental alphabet symbols of the language.
•
Option B (Non-terminals / Variables (V)): Syntactic variables used in production rules.
•
Option C (Production rules (R)): Rewrite rules governing string derivations.
•
Option D (Transition states (Q)): Correct (NOT part of CFG). States are part of automata, not grammar tuples.
Reference: Demo · Set 4NEC Licensure Syllabus