Machine-translated by Google. Questions are authored in English.
Top

Discussion

The fields of a record type are usually kept in

  • A.the same scope as the variables of the enclosing block
  • B.the activation record of the procedure that declares them
  • C.a list in the order the record is used rather than declared
  • D.a table of their own attached to the record's type entry

Answer: D

Correct answer: a table of their own attached to the record's type entry

The fields form a scope of their own: two records may both have a field called next without conflict, and a field name means nothing outside its record. Giving each record type its own table expresses that directly, and the table also carries the offsets computed during declaration processing.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.