COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Access link points to the
A
Current activation record
B
Parent activation record
C
Child activation record
D
None of the other options
Explanation: 

Detailed explanation-1: -Optional control link− It points to the activation record of the caller. Actual Parameter− It is used by the calling procedure to supply parameters to the called procedure.

Detailed explanation-2: -An access link is a pointer to each activation record that obtains a direct implementation of lexical scope for nested procedures. In other words, an access link is used to implement lexically scoped language.

Detailed explanation-3: -The dynamic link points to the top of the ARI of the caller. The static link points to the bottom of the ARI of the callee’s static parent.

There is 1 question to complete.