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

Discussion

The information about an array used in program will be stored in

  • A.Symbol Table
  • B.Activation Record
  • C.Dope Vector
  • D.Both A and B

Answer: C

Correct answer: Dope Vector

A dope vector is the descriptor the implementation keeps for an array: its base address, element size, number of dimensions and the bounds of each. It is what makes address computation and bounds checking possible. The symbol table holds compile-time names and types; an activation record holds a call’s local storage.

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

Post your comment

Please log in or register to post a comment.