wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following is most general phase-structured grammar?

A
Regular
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Context-sensitive
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Context-free
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B Context-sensitive

Context-sensitive is most general phase-structured grammar.

A context-sensitive grammar (CSG) is a formal grammar in which the left-hand sides and right-hand sides of any production rules may be surrounded by a context of terminal and nonterminal symbols.

A context-sensitive user interface is one which can automatically choose from a multiplicity of options based on the current or previous state of the program operation. Context sensitivity is almost ubiquitous in current graphical user interfaces, usually in the form of context menus.



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