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

Which of the following term is related to top down parsing?

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

The correct option is C Left recursion

Left recursion is related to top down parsing.

The production is left-recursive if the leftmost symbol on the right side is the same as the non- terminal on the left side.

Top-down parsingis a parsing strategy where one first looks at the highest level of the parse tree and works down the parse tree by using the rewriting rules of a formal grammar. LL parsers are a type of parser that uses a top-down parsing strategy.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Properties of Multiplication under Integers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon