Which statement is correct?

  1. bag has index column

  2. bag permits duplicate element values

  3. bag does not permits duplicate element values

  4. None


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of a bag data structure.

A bag is a collection of elements where duplicate elements are allowed. Therefore, the correct statement is:

Option B) A bag permits duplicate element values - This statement is correct because a bag allows multiple occurrences of the same element.

Find more quizzes: