Bca 3rd sem                                        Lab No.
2                                 Date:2081/12/06
Roll No:
OBJECT
Calculate the mean, ,median, and mode of the marks obtained by the students from the data given below.
       Marks Group             0-10        10-20         20-30        30-40         50-60        60-70
      No. of students            4           8            11            15           12            3
WORKING EXPRESSION:
Mean:
The mean is the average of the given set of data. Mathematically, it is defined as the sum of all variable
values divided by the number of observations.
For Grouped frequency distribution,
Mean (
Where,
 f= frequency
 x= mid-value of class intervals.
 N= total no. of frequency.
Median
Median is a widely used measure of central tendency. This measure is also called a positional average.
Mathematically, the median is a value that divides the given frequency distribution into two equal parts.
For individual frequency distribution,
Median (Md) = L+ ((N/2-c.f)/f)*h
Where,
L = Lowest value of median class
N=Total no. of observation
 c.f = cumulative frequency before the median class
 f = frequency of the median class
 h = class width
Mode
Mode is another widely used measure of central tendency. This measure is appropriate when we have to
find the most usual value, most common value, idle size, etc.
Mathematically, mode is a value that repeats the maximum number of times in a data set. In other words,
it is a value that has the maximum frequency of the given frequency distribution.
Mode (M0) = most repeated value.
ALGORITHM
        Open SPSS -> click the variable view tab -> define and select the appropriate options of all the
         columns.
        Click the data view tab and enter the given data.
        Click analyze -> Descriptive Statistics -> frequencies.
        Drag the variable of interest (installation time) from the left into the variable box on the right.
        Click the Option and select mean, median, and mode.
        Click Ok
OUTPUT
              Statistics
Mid Value of Marks
            Valid              60
N
            Missing             0
Mean                        34.33
Median                      35.00
Mode                           35
CONCLUSION:
  i.       Hence, the mean of Students marks is found to be 34.33 .
 ii.       The median of Students marks is found to be 35.00
iii.       The most repeated Value is found to be 35 so on.