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

Discussion

Which of the following are applications of a multidimensional array?

  • A.Matrix-Multiplication
  • B.Minimum Spanning Tree
  • C.Finding connectivity between nodes
  • D.All the above

Answer: D

Correct answer: All the above

A two-dimensional array is the natural representation of a matrix, so matrix multiplication uses one directly. Graph algorithms such as minimum spanning tree and connectivity between nodes commonly store the graph as an adjacency matrix, which is again a two-dimensional array. All three qualify.

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

Post your comment

Please log in or register to post a comment.