VibraXX
Live Quiz Arena
🎁 1 Free Round Daily
⚡ Enter Arena
HomeCategoriesLogic & PuzzlesQuestion
Question
Logic & Puzzles

In formal language theory, what distinguishes a context-free grammar from a context-sensitive grammar?

A)Simpler derivation rules only.
B)Finite state machine generation.
C)Production rules' application context.
D)Regular expression usage.

💡 Explanation

A context-free grammar's production rules apply regardless of the surrounding symbols, whereas context-sensitive grammar rules depend on the neighboring context; because of this dependency, context-sensitive grammars are more powerful. Therefore, context defines the key difference, rather than the simplicity, generation, or expression.

🏆 Up to £1,000 monthly prize pool

Ready for the live challenge? Join the next global round now.
*Terms apply. Skill-based competition.

⚡ Enter Arena

Related Questions

Browse Logic & Puzzles