1.

Which matrix has most of the elements (not all) as Zero?(a) Identity Matrix(b) Unit Matrix(c) Sparse Matrix(d) Zero MatrixThis key question is from Arrays Types topic in portion Arrays Types of Data Structures & Algorithms II got this question in unit test.

Answer»

Right choice is (c) SPARSE Matrix

To EXPLAIN: Sparse Matrix is a matrix in which most of the elements are ZERO. Identity Matrix is a matrix in which all principle DIAGONAL elements are 1 and REST of the elements are Zero. Unit Matrix is also called Identity Matrix. Zero Matrix is a matrix in which all the elements are Zero.



Discussion

No Comment Found

Related InterviewSolutions