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

Discussion

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

  • A.Static table
  • B.Dope vector
  • C.Activation Record
  • D.Both A and C

Answer: B

Correct answer: Dope vector

A dope vector is the run-time descriptor of an array: base address, element size, number of dimensions and the bounds of each. It is what makes address computation, and bounds checking in languages that do it, possible. A symbol table is a compile-time structure of names and types; an activation record holds one 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.