CBSE Class 12 Informatics Practices Question 6 of 73

Data Visualization using Matplotlib — Question 6

Back to all questions
6
Question

Question 6

Assertion (A): In histogram, X-axis is about bin ranges whereas Y-axis talks about frequency.

Reasoning (R): The bins (intervals) must be adjacent and are often (but are not required to be) of equal size.

  1. Both A and R are true and R is the correct explanation of A.
  2. Both A and R are true but R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.
Answer

Both A and R are true and R is the correct explanation of A.

Explanation
A histogram's X-axis shows the bin ranges, which are intervals for the data, and the Y-axis shows the frequency of data points within each bin. These bins must be adjacent to each other and are often of equal size, although they don't have to be.