SAE Practical File VN (Updated)
SAE Practical File VN (Updated)
Index
S.NO Name of Practical Page No Date Signature
Enter the marks of 20 students in the given order
1 Serial number, Name of the student, Name of the college
as header ,Class as header,Subject-1,Subject -2,Subject -
3,Subject -4
Calculate the following:
a. Total marks of all the subjects
b. Percentage of marks for each of the students
c. Allotment of grades based on the criterion.
If the marks are more than 75% then the result is
“Pass” else “Fail”
Now in other column allot the grades based on the
following criterion:
If the marks are more than 90% then grade is
“A”
If the marks are more than or equal to 75 and less
than 90% then the grade is “B” else the grade if
“C” provided that the result is “Pass”
For the following set of data representing the age in years
of the residents of a given building, compute mean,
median and mode of the ungrouped data.
2
19 17 15 20 23 41 33 21 18 20 18
33 32 19 18 20 17 22 55 19 22 25
28 30 44 19 20 39 55 62
Also,
(a) Construct a frequency distribution with interval
of 15-19, 20-24, 25-29, 30-34, 35-39….
(b) Compute the mean, median and mode of the
grouped data.
Print the output.
Expenses (y) 11 13 14 16 16 15 15 14 13 13
x (Hours of Training) 15 16 17 18 19 20
y (Reduction in Errors, %) 48 51 50 65 72 76
6
From the following table, calculate the following
City Number of Number of
Schools candidates
New Delhi 300 30000
Mumbai 450 45000
Bengaluru 500 48000
Chennai 480 67000
Trivandrum 459 77000
The average number of students in the entire
distribution.
The standard deviation of the distribution.
The correlation coefficient between the number of
schools and the number of candidates.
The regression equation between number of
students and number of candidates.
T/R 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
1 10 20 30 40 50 60 70 80 90 100
10 100 200 300 400 500 600 700 800 900 100
0
Ans.
OBJECTIVE: To learn the usage of conditional statements.
THEORY: In this practical we have used the SUM, Average, AND and IF Functions to
calculate the data. The =SUM()function add values. You can add individual values, cell
refrences or ranges or a mix of all three. For example: =SUM (A2:A10) Adds the values in
cells A2:A10.
The =AVERAGE() function is a premade function in excel, which calculates the average of a
range based on one, or more true or false condition. It is typed= AVERAGEIF :
=AVERAGEIF(average_range, criteria_range1, criteria1,....).
Use the IF Function, one of the logical functions, to return one value if a condition is true and
another value if its false. For example: =IF(A2>B2,”Over Budget”,”OK”) =IF(A2=B2,B4-
A4,””).
AND =IF(AND(Something is True, Something else is true), Value if True, Value if false) OR
=IF(OR(Something is True, Something else is True), Value if True, Value if false) OR
=IF(OR(Something is True, Something else is true), Value if True, Value if False)NOT
=IF(NOT(Something is True),Value if True, Value if False).
PROCEDURE:
1. Enter the data of 20 students in the order provided in the question.
2. After entering the marks of all the subjects calculate the total marks in the next column
using the SUM formula (=SUM (number1:number2)).
3. Now using the AVERAGE formula (=AVGERAGE (number1:number2)) calculate the
average marks of each student.
4. The calculated total marks, will now be used to find the percentage of the students. For
calculating the percentage the formula used is ((I5/500)*100).
5. The allotment of the grades will be on the basis of the percentage secured by each student.
For eg: If the marks are more than 90% it will be awarded by ‘A’ grade, if the marks are
more than 80% the student will be given ‘B’ grade and so on.
Formula used: =IF(K5>90,"A",(IF(K5>80,"B",(IF(K5>70,"C",(IF(K5>60,"D",
(IF(K5>50,"F",(IF(K5>30,"F",))))
6. By the overall grading the student will be declared PASS or FAIL. (= (IF
(K5>=50,"PASS","FAIL"))).
OUTPUT:
Q2. For the following set of data representing the age in years of the residents of a given
building, compute mean, median and mode of the ungrouped data.
19 17 15 20 23 41 33 21 18 20 18 33 32 19 18 20
17 22 55 19 22 25 28 30 44 19 20 39 55 62
Also,
(a)Construct a frequency distribution with interval of 15-19, 20-24, 25-29, 30-34, 35-
39….
(b)Compute the mean, median and mode of the grouped data.
Print the output.
Ans.
OBJECTIVE: To learn to calculate mean, median, mode and statistical data.
THEORY: In this Practical we learned about calculation of statistical data using mean,
median and mode.
1. Mean: The mean, also known as the average, is calculated by summing up all the values in
a dataset and then dividing the sum by the total number of values.
2. Median: The median is the middle value of a dataset when it is arranged in ascending or
descending order. If the dataset has an odd number of values, the median is the middle value.
If the dataset has an even number of values, the median is the average of the two middle
values.
3. Mode: The mode is the value that appears most frequently in a dataset. A dataset may have
one mode, more than one mode (multimodal), or no mode if all values occur with equal
frequency.
Once you understand these concepts, you can implement them in Excel using appropriate
formulas. For example:
- Mean: You can use the AVERAGE function in Excel to calculate the mean of a dataset.
- Median: You can use the MEDIAN function in Excel to find the median of a dataset.
- Mode: Excel does not have a built-in function to directly calculate the mode, but you can
use a combination of functions like MODE, MODE.SNGL, or MODE.MULT depending on
your specific needs.
By applying these functions to your dataset in Excel, you can analyze and compute the
desired statistical measures effectively.
PROCEDURE:
1. Enter the provided data in the excel sheet.
2. From the given data calculate the Mean using the AVERAGE formula (=AVERAGE
(number1:number2)), Median using the MEDIAN FORMULA (=MEDIAN
(number1:number2)) and Mode using the MODE formula (=MODE(number1:number2)).
3. Now, to calculate the frequency distribution enter the class interval of the data.
4. After entering the class interval, go to “Data” menu tab and see the “Data Analysis”
option. From the data analysis option choose histogram, now fill the required data in that
option such as input, class interval etc.
5. Once you provide all the required data you will be given BIN Value of the data, Frequency
of the interval given and a Histogram chart for the visual representation as the result.
OUTPUT:
Q3. For the following set of numbers compute the (1) Standard Deviation, (2)
Coefficient of variation and (3) Variance. Print the output.
19 17 15 20 23 41 33 21 18 20 18 33 32 19 18 20
17 22 55 19 22 25 28 30 44 19 20 39 55 62
Ans.
OBJECTIVE: To learn to compute Standard deviation, Coefficient of variation and Variance
in Excel using different formulas.
PROCEDURE:
1. Enter all the given numbers in a column of the excel sheet.
2. To compute the standard deviation of the given numbers use the STANDARD
DEVIATION formula (=STDEVP (A2:A31)).
3. Now to calculate the coefficient of variation of the numbers, first calculate the average of
the numbers using the AVERAGE formula.
4. Once the average is calculated, both standard deviation and average will be used in the
formula to calculate coefficient of variation (=Standard deviation/ Average).
5. At last calculate the variance using the VARIANCE formula (=VAR (A2:A31)).
OUTPUT:
Q6.
From the following table, calculate the following
City Number of Number of
Schools candidates
New Delhi 300 30000
Mumbai 450 45000
Bengaluru 500 48000
Chennai 480 67000
Trivandrum 459 77000
The average number of students in the entire distribution.
The standard deviation of the distribution.
The correlation coefficient between the number of schools and the number of
candidates.
The regression equation between number of students and number of candidates.
Ans.
OBJECTIVE: To learn how to use mathematical functions like Average, Standard Deviation,
Correlation and Regression in Excel.
PROCEDURE:
1. From the data given in the table find the average number of students, using the
AVERAGE formula.
2. Next, using the STANDARD DEVIATION formula, calculate the standard deviation of
the distribution which includes both the no. of schools as well as the no. of candidates.
3. For computing the correlation coefficient between the no. of schools and candidates
(=CORREL (C3:C7,D3:D7)) will be used.
4. At last to present the regression equation, go to “data” menu tab and select “data analysis”
from that option choose regression and enter the required information in the blanks, with this
the summary output will be displayed which will contain many statistical information of the
data in the table.
OUTPUT:
Ans.
OBJECTIVE: The objective is to lear using Pivot Tables in Excel for these calculations and
to summarize and analyse large datasets.
THEORY: Using pivot tables in Excel is a powerful technique for summarizing, analyzing,
and presenting large datasets in a more manageable and insightful way. Here's the theory
behind it:
1. Data Organization: Before creating a pivot table, ensure your data is well-organized with
clear headers and consistent formatting.
2. Understanding Pivot Tables: A pivot table is a data summarization tool that allows you to
extract meaningful insights from your dataset. It enables you to rearrange and summarize data
dynamically.
3. Creating a Pivot Table: To create a pivot table in Excel, follow these general steps:
- Select any cell within your dataset.
- Go to the "Insert" tab and click on "PivotTable" (or use the keyboard shortcut Alt + N +
V).
- Choose the range of data you want to analyze.
- Decide where you want the pivot table to be placed (either a new worksheet or an existing
one).
- Drag and drop fields from your dataset into the rows, columns, and values areas of the
pivot table to organize and summarize your data.
4. Customizing Pivot Tables: Excel allows you to customize pivot tables by:
- Changing the layout and design of the table.
- Applying filters to focus on specific subsets of data.
- Adding calculated fields or items to perform additional calculations.
- Using slicers to visually filter data.
5. Analyzing Data: Once you've created a pivot table, you can:
- Summarize data by different categories or variables.
- Calculate totals, averages, counts, or other aggregate functions.
- Visualize trends and patterns using pivot charts (which can be created directly from pivot
tables).
- Drill down into details for further analysis.
By mastering pivot tables in Excel, you can efficiently analyze and present complex datasets,
uncovering valuable insights that drive informed decision-making.
PROCEDURE:
1. Enter all the correct data required for the analysis, in the excel sheet.
2. Once the data is entered, select your data, then go to Insert > PivotTable. A new worksheet
will be created with a blank PivotTable.
3. Now, Drag the Location field to the Rows area and the Nationality field to the Values area.
This will give you the answer to the first part i.e the number of nationality per location.
4. For the next part, Drag the Department field to the Rows area and the Location field also to
the Rows area, below Department. Drag the Clients field to the Values area. It will default
to Count of Clients, which gives you the number of clients per department per location.
5. Lastly for the number of nationalities per client per location. Drag the Client field to
the Rows area and Location field also to the Rows area, below Client. Now, drag
the Nationality field to the Values area. It will default to Count of Nationality.
OUTPUT: