1,869 views

1 Answer

4 4 votes
Grammar is a generating device means "it defines the rules/productions for generating valid strings which collectively form a language."

Analogy-In English grammar statements follow rules as- Subject Verb Object. eg- She eats the apple.

Automata is cognitive device means "it reads the language generated by Grammar using its transitions"

Analogy- You are automata as- eg- "She eats the apple." You will read this and accept it. However, If I say "She eat the apple" , this is wrong as per English grammar and you will not accept this.
Position:
Show:

Related questions

1 1 vote
1 answers 1 answer
1.1k
1.1k views
stillhere asked Sep 10, 2023
1,079 views
Consider the set of all binary strings where the difference between the number of 0’s and number of 1’s is even. The minimum number of states in a DFA that accepts the gi...