Cfg terminologies

6

Click here to load reader

Transcript of Cfg terminologies

Page 1: Cfg terminologies

CFG terminologiesGroups Members19) Zahoor Ali Khan15) Israr Khan23) Yasir Iqbal

Page 2: Cfg terminologies

CFG terminologiesTerminals Non-Terminals Productions

Page 3: Cfg terminologies

Terminals

The symbols that can’t be replaced by anything are called terminals.

Page 4: Cfg terminologies

Non-Terminals The symbols that must be replaced by other things are called non-terminals.

Page 5: Cfg terminologies

ProductionsThe grammatical rules are often called productions

Page 6: Cfg terminologies

Note The terminals are designated by small letters,

while the non-terminals are designated by capital letters.

There is at least one production that has the non-terminal S as its left side.