Published 2026-11-03
Chapter: Data Handling

Data Handling - Calculating arithmetic mean, mode, and median of ungrouped data and interpreting double bar graphs

In our daily lives, we constantly encounter facts, figures, and numerical records. Whether it is a cricketer’s runs scored across matches, the daily temperature of a city, or your own term-wise examination scores, information collected in numerical form is known as Data.

Raw data, when first collected, is often unorganised and difficult to interpret. Data Handling is the branch of mathematics that teaches us how to collect, organise, summarize, and visually represent data so that meaningful conclusions can be drawn quickly and accurately.

This study guide focuses on two fundamental pillars of data handling in Class 7:

  1. Measures of Central Tendency: Single representative values (Mean, Mode, and Median) that summarize an entire dataset.
  2. Double Bar Graphs: Visual tools used to compare two sets of data side-by-side.

1. In-Depth Conceptual Breakdown

A. Understanding Data and Organization

Before performing mathematical calculations, raw data must be structured.

  • Raw Data: Data collected in its initial, unorganised form.
    • Example: Marks obtained by 5 students in a class test out of 10: 7,4,9,7,67, 4, 9, 7, 6.
  • Observation: Each individual numerical value recorded in a dataset.
  • Array / Sorting: Arranging the observations in ascending (lowest to highest) or descending order.
  • Frequency (ff): The number of times a particular observation occurs in a dataset.

B. Measures of Central Tendency

A single value that represents the central point or central behavior of an entire group of data is called a Measure of Central Tendency (or representative value). The three primary measures are the Arithmetic Mean, Mode, and Median.

                   Measures of Central Tendency
                                │
        ┌───────────────────────┼───────────────────────┐
        ▼                       ▼                       ▼
 Arithmetic Mean              Mode                   Median
 (Sum ÷ Total Count)    (Most Frequent Value)     (Middlemost Value)

1. Arithmetic Mean

The Arithmetic Mean (or simply Mean or Average) is calculated by dividing the sum of all observations by the total number of observations.

Standard Formula:

Mean(xˉ)=Sum of all observationsTotal number of observations\text{Mean} (\bar{x}) = \frac{\text{Sum of all observations}}{\text{Total number of observations}}

Using mathematical summation notation: xˉ=∑xN\bar{x} = \frac{\sum x}{N}

Where:

  • ∑x=x1+x2+x3+⋯+xn\sum x = x_1 + x_2 + x_3 + \dots + x_n (Sum of individual observations)
  • NN = Total number of observations

Key Properties of Arithmetic Mean:

  1. The mean always lies strictly between the minimum and maximum observations of the dataset.
  2. The mean does not necessarily have to be one of the original numbers in the dataset.
  3. It balances the dataset; the sum of deviations of each observation from the mean is always zero.

2. Mode

The Mode of a set of observations is the value that occurs most frequently (i.e., the observation with the highest frequency).

Finding the Mode:

  • For Small Datasets: Arrange the data in ascending order and count which number appears the highest number of times.
  • For Large Datasets: Construct a Tally Marks Frequency Table to determine the observation with the maximum frequency.

Types of Datasets Based on Mode:

  • Unimodal: A dataset with exactly one mode (e.g., 2,3,3,4→Mode=32, 3, 3, 4 \rightarrow \text{Mode} = 3).
  • Bimodal: A dataset with two modes occurring with the same highest frequency (e.g., 2,3,3,4,4,5→Modes=3 and 42, 3, 3, 4, 4, 5 \rightarrow \text{Modes} = 3 \text{ and } 4).
  • Multimodal: A dataset with more than two modes.
  • No Mode: If all values appear an equal number of times (e.g., 1,2,3,41, 2, 3, 4), there is no mode.

3. Median

The Median refers to the value that occupies the exact middle position when the raw data is arranged in ascending or descending order. It divides the dataset into two equal halves: 50% of the observations lie below the median, and 50% lie above it.

Step-by-Step Rule to Find the Median:

  1. Mandatory Step: Arrange the given data in ascending (or descending) order.
  2. Count the total number of observations, NN.

Case 1: When NN is ODD

If the total count of observations NN is an odd number, there is a single middle term.

Median=Value of (N+12)thobservation\text{Median} = \text{Value of } \left(\frac{N + 1}{2}\right)^{\text{th}} \text{observation}

Case 2: When NN is EVEN

If the total count of observations NN is an even number, there are two middle terms. The median is the average (mean) of these two middle terms.

Median=Value of (N2)thobservation+Value of (N2+1)thobservation2\text{Median} = \frac{\text{Value of } \left(\frac{N}{2}\right)^{\text{th}} \text{observation} + \text{Value of } \left(\frac{N}{2} + 1\right)^{\text{th}} \text{observation}}{2}


Comparison of Central Tendencies

FeatureArithmetic MeanModeMedian
DefinitionThe mathematical average of all valuesThe most frequently occurring valueThe middlemost value when sorted
CalculationSum of valuesNumber of values\frac{\text{Sum of values}}{\text{Number of values}}Count frequencies; identify the highestIdentify position using N+12\frac{N+1}{2} or average of middle terms
Effect of OutliersHighly affected by extreme valuesNot affected by extreme valuesNot affected by extreme values
Existence in DataMay or may not be in the given dataAlways one of the given data valuesIs a data value if NN is odd; may be average of two values if NN is even

C. Double Bar Graphs

A Bar Graph uses rectangular bars of uniform width drawn vertically or horizontally with equal spacing to represent numerical data visually.

A Double Bar Graph displays two sets of data side-by-side on the same axes using bars of different colors or patterns.

               DOUBLE BAR GRAPH EXAMPLE SCHEMATIC
   Marks
    100 ┌─┐
        │ │ ┌─┐       ┌─┐
     50 │ │ │ │  ┌─┐  │ │ ┌─┐
        │ │ │ │  │ │  │ │ │ │
      0 └─┴─┴─┴──┴─┴──┴─┴─┴─┴──
          Math     Sci    Eng
        [ Term 1 ■  │  Term 2 ▒ ]

Why Use a Double Bar Graph?

  1. Direct Comparison: It allows immediate visual comparison between two related categories (e.g., Performance in Term 1 vs. Term 2, Sales of Company A vs. Company B).
  2. Efficiency: Combines two datasets into a single chart without needing two separate graphs.

Essential Components of a Double Bar Graph:

  1. Title: Clearly states what the graph represents.
  2. Axes:
    • Horizontal Axis (X-axis): Represents the categorical variable (e.g., Subjects, Months, Students).
    • Vertical Axis (Y-axis): Represents the numerical values (e.g., Marks, Temperature, Sales).
  3. Scale: Defines how many units each grid division on the Y-axis represents (e.g., 1 unit=10 marks1 \text{ unit} = 10 \text{ marks}).
  4. Key / Legend: Indicates which bar pattern/color corresponds to which dataset (e.g., Solid Blue = Term 1, Striped Red = Term 2).
  5. Uniform Width & Spacing: All bars must have equal width, and distance between pairs of bars must be uniform.

2. Real-World Applications

Application 1: Managing Footwear Store Inventory (Mode)

A shoe shop manager wants to order new stock for men’s sports shoes. The shop sells sizes 6,7,8,9,10,6, 7, 8, 9, 10, and 1111.

  • If the manager calculates the Arithmetic Mean of sizes sold, it might equal 8.48.4. However, shoe size 8.48.4 does not exist in manufacturing!
  • Instead, the manager finds the Mode—the shoe size sold most frequently (say, Size 88). The store orders more stock for Size 88 because it represents the highest customer demand.

Application 2: Evaluating Class Performance (Double Bar Graph)

A school principal wants to analyze whether Class 7 improved after mid-term remediation.

  • By plotting a Double Bar Graph comparing Term 1 average marks against Term 2 average marks across Science, Mathematics, English, and Social Science:
    • Bars placed side-by-side immediately show which subjects saw an increase in performance (higher second bar) and which subjects regressed (lower second bar).

Application 3: Income Distribution Analysis (Median vs. Mean)

When a country's government evaluates economic well-being, using the Arithmetic Mean income can be misleading because a tiny number of billionaires skews the average upwards.

  • The Median income is used instead because it reflects the exact middle citizen's income—half the population earns more, and half earns less—uninfluenced by extreme wealth at the top.

3. Step-by-Step Solved Textbook Examples

Example 1: Finding Mean, Mode, and Median for an Odd Dataset

Problem: The runs scored by 1111 players of a cricket team in a match are as follows: 6,15,120,50,100,80,10,15,8,10,156, 15, 120, 50, 100, 80, 10, 15, 8, 10, 15 Find the Mean, Mode, and Median of this data. Are the three values identical?

Solution:

Step 1: Calculate the Arithmetic Mean Mean=Sum of all runsTotal number of players\text{Mean} = \frac{\text{Sum of all runs}}{\text{Total number of players}}

Sum=6+15+120+50+100+80+10+15+8+10+15=429\text{Sum} = 6 + 15 + 120 + 50 + 100 + 80 + 10 + 15 + 8 + 10 + 15 = 429 Total number of observations (N)=11\text{Total number of observations } (N) = 11

Mean=42911=39\text{Mean} = \frac{429}{11} = 39

Step 2: Arrange data in ascending order to find Mode and Median Ascending order: 6,8,10,10,15,15,15,50,80,100,1206, 8, 10, 10, 15, 15, 15, 50, 80, 100, 120

Step 3: Calculate the Mode Count the frequency of each observation:

  • 6→16 \rightarrow 1 time
  • 8→18 \rightarrow 1 time
  • 10→210 \rightarrow 2 times
  • 15→315 \rightarrow 3 times
  • 50,80,100,120→150, 80, 100, 120 \rightarrow 1 time each

Since 1515 occurs the maximum number of times (33 times), Mode=15\text{Mode} = 15

Step 4: Calculate the Median Here, total observations N=11N = 11 (which is an odd number).

Median Position=(N+12)thobservation=(11+12)th=6thobservation\text{Median Position} = \left(\frac{N + 1}{2}\right)^{\text{th}} \text{observation} = \left(\frac{11 + 1}{2}\right)^{\text{th}} = 6^{\text{th}} \text{observation}

Counting to the 6th6^{\text{th}} term in the sorted list (6,8,10,10,15,15,50,80,100,1206, 8, 10, 10, 15, \mathbf{15}, 50, 80, 100, 120): Median=15\text{Median} = 15

Conclusion:

  • Mean =39= 39
  • Mode =15= 15
  • Median =15= 15
  • Are they identical? No, the mean (3939) is different from the mode and median (1515).

Example 2: Finding Median with an Even Number of Observations

Problem: The weights (in kg) of 8 students are: 42,38,55,50,45,48,52,4042, 38, 55, 50, 45, 48, 52, 40. Calculate the median weight.

Solution:

Step 1: Arrange data in ascending order 38,40,42,45,48,50,52,5538, 40, 42, 45, 48, 50, 52, 55

Step 2: Identify NN and locate middle terms Here, total number of observations N=8N = 8 (which is an even number).

The middle terms are the (N2)th\left(\frac{N}{2}\right)^{\text{th}} and (N2+1)th\left(\frac{N}{2} + 1\right)^{\text{th}} observations.

N2=82=4th observation\frac{N}{2} = \frac{8}{2} = 4^{\text{th}} \text{ observation} N2+1=4+1=5th observation\frac{N}{2} + 1 = 4 + 1 = 5^{\text{th}} \text{ observation}

From our sorted array (38,40,42,45,48,50,52,5538, 40, 42, \mathbf{45}, \mathbf{48}, 50, 52, 55):

  • 4th observation=454^{\text{th}} \text{ observation} = 45
  • 5th observation=485^{\text{th}} \text{ observation} = 48

Step 3: Apply the even median formula Median=4th observation+5th observation2\text{Median} = \frac{4^{\text{th}} \text{ observation} + 5^{\text{th}} \text{ observation}}{2}

Median=45+482=932=46.5 kg\text{Median} = \frac{45 + 48}{2} = \frac{93}{2} = 46.5 \text{ kg}

Final Answer: The median weight is 46.5 kg.\mathbf{\text{Final Answer: The median weight is } 46.5 \text{ kg.}}


Example 3: Interpreting a Double Bar Graph Dataset

Problem: The table below shows the marks obtained by a student named Rahul in Term 1 and Term 2 examinations out of 100.

SubjectTerm 1 MarksTerm 2 Marks
English6770
Hindi7265
Mathematics8895
Science8185
Social Science7375

Answer the following questions based on this data:

  1. In which subject has the student improved his performance the most?
  2. In which subject has the performance gone down?
  3. In which subject is the improvement the least?

Solution:

Step 1: Calculate the difference in marks (Term 2 Marks - Term 1 Marks) for each subject

  • English: 70−67=+370 - 67 = +3 (Improvement)
  • Hindi: 65−72=−765 - 72 = -7 (Decline)
  • Mathematics: 95−88=+795 - 88 = +7 (Improvement)
  • Science: 85−81=+485 - 81 = +4 (Improvement)
  • Social Science: 75−73=+275 - 73 = +2 (Improvement)

Step 2: Analyze the calculated differences to answer the questions

  1. Maximum Improvement: The highest positive difference is in Mathematics (+7+7 marks). Answer 1: Mathematics\mathbf{\text{Answer 1: Mathematics}}

  2. Performance Decline: The subject with a negative change is Hindi (dropped by 77 marks). Answer 2: Hindi\mathbf{\text{Answer 2: Hindi}}

  3. Least Improvement: Among the subjects showing positive growth (+3,+7,+4,+2+3, +7, +4, +2), the smallest increase is in Social Science (+2+2 marks). Answer 3: Social Science\mathbf{\text{Answer 3: Social Science}}


4. Common Student Mistakes to Avoid

Mistake 1: Calculating Median Without Sorting Data First

  • Incorrect Method: Given raw data 12,5,20,8,1512, 5, 20, 8, 15, selecting 2020 as the median simply because it is in the middle of the written sequence.
  • Correct Method: Always sort the data in ascending order (5,8,12,15,205, 8, \mathbf{12}, 15, 20) first. The median is 1212.

Mistake 2: Confusing the Median Position with the Median Value

  • Incorrect Method: For N=7N = 7, 7+12=4\frac{7+1}{2} = 4. Writing "Median = 4" as the final numerical answer.
  • Correct Method: 44 is the position index of the term (4th\text{4}^{\text{th}} term). You must find the numerical value located at that 4th4^{\text{th}} position in your sorted data list.

Mistake 3: Misapplying the Median Formula for Even NN

  • Incorrect Method: Calculating N+12\frac{N+1}{2} for an even dataset (e.g., N=6→3.5thN=6 \rightarrow 3.5^{\text{th}} term) and stopping there without finding the mean of the 3th3^{\text{th}} and 4th4^{\text{th}} terms.
  • Correct Method: When NN is even, explicitly take the two middle terms (N2th\frac{N}{2}^{\text{th}} and (N2+1)th(\frac{N}{2}+1)^{\text{th}}) and calculate their arithmetic average: Term1+Term22\frac{\text{Term}_1 + \text{Term}_2}{2}.

Mistake 4: Omitting Scale or Key in Double Bar Graphs

  • Incorrect Method: Drawing double bar graphs without defining what 1 unit1 \text{ unit} on the vertical axis represents, or without a key differentiating Bar 1 from Bar 2.
  • Correct Method: Always write a clear header for your scale (e.g., Scale: 1 cm=10 units\text{Scale: } 1 \text{ cm} = 10 \text{ units}) and provide labeled color/shading boxes for the two datasets.

5. Practice Questions for Self-Assessment

Question 1

Find the Mean, Mode, and Median of the following dataset: 13,16,12,14,19,12,14,13,1413, 16, 12, 14, 19, 12, 14, 13, 14

Solution Working:

  1. Mean: Sum=13+16+12+14+19+12+14+13+14=127\text{Sum} = 13 + 16 + 12 + 14 + 19 + 12 + 14 + 13 + 14 = 127 N=9N = 9 Mean=1279≈14.11\text{Mean} = \frac{127}{9} \approx 14.11

  2. Ascending Order: 12,12,13,13,14,14,14,16,1912, 12, 13, 13, \mathbf{14}, 14, 14, 16, 19

  3. Mode: 1414 appears 33 times (highest frequency). Mode=14\text{Mode} = 14.

  4. Median: N=9N = 9 (odd). Position=9+12=5th term\text{Position} = \frac{9 + 1}{2} = 5^{\text{th}} \text{ term} The 5th5^{\text{th}} term is 1414. Median=14\text{Median} = 14.


Question 2

The mean of five numbers 8,11,x,15, and 208, 11, x, 15, \text{ and } 20 is 1414. Find the value of xx.

Solution Working:

  1. Apply the Mean Formula: Mean=Sum of all observationsN\text{Mean} = \frac{\text{Sum of all observations}}{N}

  2. Substitute given values: 14=8+11+x+15+20514 = \frac{8 + 11 + x + 15 + 20}{5}

  3. Solve for xx: 14×5=54+x14 \times 5 = 54 + x 70=54+x70 = 54 + x x=70−54=16x = 70 - 54 = 16

Answer: x=16\mathbf{\text{Answer: } x = 16}


Question 3

The number of trees planted by two schools (School A and School B) over 4 years is recorded below:

YearSchool ASchool B
2020150120
2021200240
2022250250
2023300380
  1. Calculate the mean number of trees planted per year by School A.
  2. In which year was the difference in trees planted between the two schools the maximum?

Solution Working:

  1. Mean for School A: SumSchool A=150+200+250+300=900\text{Sum}_{\text{School A}} = 150 + 200 + 250 + 300 = 900 N=4N = 4 Mean=9004=225 trees/year\text{Mean} = \frac{900}{4} = 225 \text{ trees/year}

  2. Difference per Year:

    • 2020: ∣150−120∣=30|150 - 120| = 30
    • 2021: ∣200−240∣=40|200 - 240| = 40
    • 2022: ∣250−250∣=0|250 - 250| = 0
    • 2023: ∣300−380∣=80|300 - 380| = 80

    The maximum difference occurred in 2023 (8080 trees difference).


6. Exam Revision & FAQs

Q1. Can a dataset have more than one mode? Can it have no mode?

Answer: Yes. A dataset can have more than one mode if two or more values share the exact same maximum frequency (bimodal or multimodal data). A dataset has no mode if every observation occurs an equal number of times (e.g., in the dataset 2,4,6,82, 4, 6, 8, every number appears once).

Q2. Is the Arithmetic Mean always one of the numbers in the given data?

Answer: No. The mean is a calculated central value and does not have to be an actual observation from the original dataset. For example, the mean of 44 and 77 is 4+72=5.5\frac{4+7}{2} = 5.5, which is neither 44 nor 77.

Q3. When is the Median a better measure of central tendency than the Mean?

Answer: The Median is a better representative measure when the dataset contains extreme values (outliers) that are either extremely high or extremely low compared to the rest of the data. The Mean gets pulled toward extreme values, whereas the Median remains unaffected because it depends solely on position.

Q4. What key features must be included when drawing a Double Bar Graph in examinations to gain full marks?

Answer:

  1. Labeled Axes: Clearly label the X-axis (categories) and Y-axis (numerical quantities).
  2. Chosen Scale: Explicitly write the scale used on the Y-axis (e.g., 1 cm=5 units1 \text{ cm} = 5 \text{ units}).
  3. Key / Legend: Include a key identifying the distinct patterns/colors used for both bar sets.
  4. Equal Spacing & Width: Maintain uniform bar widths and equal spacing between category pairs.

NCERT Study Guide Directory

Textbook solutions, chapter notes & practice worksheets by grade

Interlinked syllabus