CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following does not belong to the context free grammar?

A
Terminal symbol
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Non-terminal symbol
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Start symbol
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
End symbol
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D End symbol

End symbol does not belong to the context free grammar.

A context-free grammar (CFG) is a set of recursive rewriting rules used to generate patterns of strings. A CFG consists of the following components: a set of terminal symbols, which are the characters of the alphabet that appear in the strings generated by the grammar.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Organised Data
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon