The matrix contains m rows and n columns. The matrix is called Sparse Matrix if

2023

The matrix contains m rows and n columns. The matrix is called Sparse Matrix if

Answer: A. total number of zero elements > (m × n)/2A matrix is called a Sparse Matrix if the number of zero elements is greater than half of the total elements in the matrix. Total number of elements in a…

  1. A.

    total number of zero elements > (m × n)/2

  2. B.

    total number of zero elements = m + n /

  3. C.

    total number of zero elements = m

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 787 students.

Show answer & explanation

Correct answer: A

A matrix is called a Sparse Matrix if the number of zero elements is greater than half of the total elements in the matrix. Total number of elements in a matrix with m rows and n columns is m × n. Therefore, the matrix is sparse if the total number of zero elements > (m × n) / 2.

Explore the full course: Bihar Stet Paper Ii Computer Science

Loading lesson…