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

The derivation will be called a _________ derivation if the non-terminal symbol replaced at every step is the left most non-terminal symbol in the string.

A
Left shifting
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Left recursion
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Leftmost
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
Left pushdown
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C Leftmost

The derivation will be called a leftmost derivation if the non-terminal symbol replaced at every step is the left most non-terminal symbol in the string.

Derivation:-

A derivation is basically a sequence of production rules, in order to get the input string. During parsing, we take decisions for some sentential form of input:

Leftmost derivation:-

If the sequential form of an input is scanned and replaced from left to right, it is called left-most derivation. The sequential form derived by the left-most derivation is called the left-sequential form.


907411_917456_ans_21bd66fd8b804a309d7dbedf6f7397e1.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Chemical Reactions of Amines
CHEMISTRY
Watch in App
Join BYJU'S Learning Program
CrossIcon