This simple Question was asked in Interview. Why is associative arrays preferred over dynamic arrays in scoreboard?

In reply to Samruddh:

This question is a little misleading and vague. It’s not that associate arrays are blatantly preferred over dynamic arrays in scoreboards. Rather, scoreboards typically have use cases where an associative array would be beneficial. See this post.
Some scoreboard scenarios for associative arrays:

  • tracking out-of-order transactions
  • creating lookup tables
  • creating sparse memories