CBSE Class 12 Informatics Practices
Question 7 of 73
Data Visualization using Matplotlib — Question 7
Back to all questions 7
Question Assertion (A): Bar graph and histogram are same.
Reasoning (R): A bar graph represents categorical data using rectangular bars. A histogram represents data which is grouped into continuous number ranges and each range corresponds to a vertical bar.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
A is false but R is true.
Explanation
Bar charts and histograms are not the same. A bar chart or bar graph is a chart that presents categorical data with rectangular bars, where the heights or lengths of the bars are proportional to the values they represent. On the other hand, a histogram is a type of graph that provides a visual interpretation of numerical data by indicating the number of data points that lie within a range of values, and this corresponds to a vertical bar.