What does the 'Sparseness' of an array mean?

2023

What does the 'Sparseness' of an array mean?

  1. A.

    The array is full

  2. B.

    The array is empty

  3. C.

    The array contains a lot of zeros or nulls

  4. D.

    The array is out of memory

Attempted by 874 students.

Show answer & explanation

Correct answer: C

In computer science, a sparse array is an array in which most of the elements are zero (or null or any default value).

Explore the full course: Cocubes Preparation