Computing Lab Exercise1-15
Computing Lab Exercise1-15
Computing Lab Exercise1-15
Exercise 1
To develop a student’s mark sheet using the column headings: Reg no, name, subjects, average, rank, result, total, grade.
Aim:
To create a marksheet for students and to calculate the given column headings using excel formula.
Output:
STUDENT'S MARKSHEET
Reg No. Name English Maths Science S. Science Hindi Average Rank Result Total Grade
13889001 Anish 71 88 67 77 82 77 14 PASS 385 B
13889002 Bharani 77 98 83 87 92 87.4 5 PASS 437 A
13889003 Deepika 80 77 69 90 76 78.4 13 PASS 392 B
13889004 Girish 90 80 83 92 90 87 6 PASS 435 A
13889005 Gowri 97 88 91 88 92 91.2 3 PASS 456 O
13889006 Jagadeesh 85 84 94 83 89 87 6 PASS 435 A
13889007 Jagran 70 83 96 87 92 85.6 8 PASS 428 A
13889008 Devika 95 96 98 81 84 90.8 4 PASS 454 O
13889009 Vishnu 78 90 71 87 91 83.4 9 PASS 417 A
13889010 Kabil 84 70 73 91 67 77 14 PASS 385 B
13889011 Kannan 79 77 75 93 82 81.2 11 PASS 406 A
13889012 Kavitha 75 92 81 88 76 82.4 10 PASS 412 A
13889013 Kayal 90 76 85 74 73 79.6 12 PASS 398 B
13889014 Liya 98 90 89 93 94 92.8 1 PASS 464 O
13889015 Hari 94 97 98 84 87 92 2 PASS 460 O
Graph:
STUDENTS MARKSHEET
500 460 464 454 456
417 428 435 435 437
450 398 412 406 392
385 385
400
350
MARKS
300
250
200
150
100
50
0
NAME
Formula used:
❖ AVERAGE : =AVERAGE(C4:G4)
❖ RANK : =RANK(K4,$K$4:$K$18)
❖ RESULT : =IF(H4>=65,"PASS","FAIL")
❖ TOTAL : =SUM(C4:G4)
❖ GRADE : =IF(H4>90,"O",IF(H4>80,"A",IF(H4>70,"B")))
Result:
By using the above formula,the marks of the students are calculated.
DATE : 08/11/2021 EMPLOYEE PAYSLIP
Exercise 2
To calculate the income tax of employees and to create an employment pay slip the column headings: Emp no, name,designation, BP, DA, MA, HRA, GP, PF,
NET PAY, Tax Percentages:
DA->30-40% HRA->7-9% PF->12% CA->3-4% MA->5% OF
OF BP OF BP OF BP OF BP OF BP
Aim:
To create a employee payslip and to calculate it with the given coloumn headings and percentages using excel formula.
Output:
EMPLOYEE PAYSLIP
DA CA MA HRA PF
Emp No. Name Designation BP GP NETPAY
33% 4% 5% 8% 12%
1 ANU LECTURER 45000 14850 1800 2250 3600 67500 5400 62100
2 ANISH PROFESSOR 55000 18150 2200 2750 4400 82500 6600 75900
3 PREM CLERK 30000 9900 1200 1500 2400 45000 3600 41400
4 VIDYA SENIOR MANAGER 70000 23100 2800 3500 5600 105000 8400 96600
5 HARI ASS. PROFESSOR 50000 16500 2000 2500 4000 75000 6000 69000
6 AJAY PROFESSOR 55000 18150 2200 2750 4400 82500 6600 75900
7 SAM MANAGER 60000 19800 2400 3000 4800 90000 7200 82800
8 TARUN CLERK 30000 9900 1200 1500 2400 45000 3600 41400
9 MEENA SENIOR MANAGER 70000 23100 2800 3500 5600 105000 8400 96600
10 LIYA LECTURER 45000 14850 1800 2250 3600 67500 5400 62100
Graph:
EMPLOYEE PAYSLIP
120000
96600 96600
100000
82800
80000 75900 75900
69000
62100 62100
NETPAY
60000
41400 41400
40000
20000
0
0
Name ANU ANISH PREM VIDYA HARI AJAY SAM TARUN MEENA LIYA
NAME
Formula Used:
Result:
By using the above formulae,the income tax payslip for each employee is calculated.
DATE : 08/11/2021 ELECTRICITY BILL
Exercise 3
To develop electricity bill calculator using the column headings: SR NO, NAME, PREVIOUS READING, CURRETN READING, UNIT CONSUMED, ELECTRICITY
CHARGE, SUR CHARGES, BILL PAYABLE.
CHARGES: UNIT CONSUMED
RATE PER UNIT
<=100 10
101 to 200 12
>200 15
SUR CHARGE -5% of electricity charges.
Aim:
To create an electricity bill for the given coloumn heading using excel formulas.
Output:
ELECTRICITY BILL
SR NO. NAME PREVIOUS READING CURRENT READING UNIT CONSUMED ELECTRICITY CHARGE SUR CHARGE(5%) BILL PAYABLE
1134001 SAMI 8391 8500 109 1308 65.4 1373.4
1134002 TISHA 6940 7500 560 8400 420 8820
1134003 JOHN 5200 5365 165 1980 99 2079
1134004 SUMON 9415 9560 145 1740 87 1827
1134005 TOMY 14391 15000 609 9135 456.75 9591.75
1134006 PUJA 6850 6980 130 1560 78 1638
1134007 ANKIT 14784 14900 116 1392 69.6 1461.6
1134008 VISHNU 9601 9630 29 290 14.5 304.5
1134009 TIPU 17320 17950 200 2400 120 2520
1134010 HARI 7630 7780 150 1800 90 1890
Graph:
ELECTRICITY BILL
12000
9591.75 9922.5
10000
8820
8000
BILL
6000
NAME
4000 BILL
2079 1827 1890
1373.4 1638 1461.6
2000
304.5
0
1 2 3 4 5 6 7 8 9 10
NAME
Formula used:
❖ Unit consumed : =E4-C4
❖ Electricity charge : =IF(G4<=100,G4*10,IF(G4<=200,G4*12,IF(G4>200,G4*15)))
❖ Sur charge : =I4*5%
❖ Bill payable : =SUM(I4:L4)
Result :
The electricity bill is calculated by using the above formulas and the graph is plotted for the above calculated data.
DATE : 15/11/2021 EXPENSES OF STATIONARY ITEMS
Exercise 4
Consider the problem of preparing a stationary order for the month of March. The item description, quantity and cost per item are available. The total cost per item is to be
calculated and the final cost per item involves a sales tax of 2% over the total cost. The gross total and the net total are to be displayed.
Aim:
To calculate the expenses of the stationary order for the month of march.
Output:
S.NO DESCRIPTION QUANTITY COST PER ITEM TOTAL COST SALES TAX(2%) NET TOTAL
1 NOTE PAD 202 12.85 2595.7 51.914 2647.614
2 HIGHLIGHTER PEN 280 2.95 826 16.52 842.52
3 BALL POINT PEN BLUE 520 2.5 1300 26 1326
4 BALL POINT PEN BLACK 340 2.5 850 17 867
5 BALL POINT PEN RED 250 3.5 875 17.5 892.5
6 BALL POINT PEN GREEN 220 4 880 17.6 897.6
7 CELLO TAPE 75 6.75 506.25 10.125 516.375
8 WRITING PAD 100 9.25 925 18.5 943.5
9 PENCIL SHARPENERS 150 3.95 592.5 11.85 604.35
10 CRAYONS 125 14.95 1868.75 37.375 1906.125
11219.2 224.384 11443.584
Graph:
STATIONARY LIST
3000
2647.614
EXPENSES OF MONTH
2500
1906.125
2000
1500 1326
NAME
Formula used:
Result:
Therefore, the expenses of the stationary items for the month of march are calculated and the graph is been plotted.
DATE: 15/11/2021 FAVOURITE FILMS
Exercise 5
Create a chart to compare the favourite films data for 15–25-year-olds only (be careful not to include any unnecessary blanks rows or columns in your selected data). Format
this chart so that it is a pie chart, with the Barbarella slice "exploded" and each segment labelled:
Aim:
To develop a pie chart with exploded slice and each segment labelled.
Output:
FAVOURITE FILMS
BARBARELLA 31% 9% 5%
KUNG FU PANDA 6% 7% 10%
AVENGERS 10% 21% 7%
ANGRY BIRD 9% 17% 21%
FROZEN II 4% 12% 9%
TOY STORY 11% 4% 4%
DUMBO 7% 5% 11%
DESPICABLE ME 6% 1% 5%
FANATASIA 3% 17% 19%
MADAGASCAR 13% 7% 9%
Graph:
Result:
The views are tabulated and chart for the movies viewed between 15-25 yrs. is drawn.
DATE : 19/11/2021 PREDICTION OF LABOUR COST
Exercise 6
Create a spreadsheet to predict total labour costs for a shop per day, given the following information:
There will be 3 grades of staff – managers, counter staff and cleaning staff. There will be 2 shifts – day and night
Hourly pay rates per grade per shift will be as follows: Total hours per day will be follows:
Create formulae to show the total wages by labour type and time period - your final spreadsheet should have a structure similar to the one shown below: The
rates and hours for provincial stores (the dark unknown world outside London) will be different:
Copy your spreadsheet twice to get spreadsheets for London, Provinces and Total. Create formulae giving the total wage bill for each region and sum them
to get the total wage figure per day.
Aim:
To calculate the total labour cost in London and Provinces by using the concept of array formula.
Output:
SHEET 1:(FOR LONDON)
Graph:
400
336
350
294 300
300 280 280 280
240 231
250 212.5 212.5 LONDON
187.5
180
200
WAGES 168 162 PROVINCES
144 153 144
126 136.5
150 115.5
100
50
0
SAMI TISHA JOHN SUMON TOMYNAMEPUJA ANKIT VISHNU TIPU HARI
Formula used:
Result:
By using the concept of matrix and array formula, we have calculated the labour cost in London and provinces and compared the difference in wages by
plotting the graph.
DATE : 19/11/2021 COUNT THE ERRORS
Exercise 7
Aim:
To create and count the errors by using array formula.
Output:
Formula used:
Result:
By using the array formula, errors are been obtained and counted.
DATE : 19/11/2021 CAR SALES
Exercise 8
For a car sales company, create a combination chart that combines the yearly sales comprised of two or more charts in a single chart.
Aim:
To create a combination chart for yearly sales of car companies.
Output:
YEARLY SALES
S.NO. CAR COMPANY
2019 2020 2021
Result:
Thereby, the combination charts have been potted for the above given data.
DATE : 19/11/2021 RANDOM FUNCTIONS
Exercise 9
Aim:
To generate the random numbers using the functions of excel.
Output:
RANDOM FUNCTIONS
RAND () RANDBETWEEN () RANDDECIMAL ()
0.98720819 73 570.4952743
0.793180382 5 536.123178
0.105413631 29 531.9578842
0.495439508 122 500.7142716
0.000937053 178 501.1162733
0.966971595 167 571.7199782
0.813338812 147 569.9217715
0.683046628 200 539.9317422
0.0299854 91 525.5811562
0.687438653 40 545.3171374
Formula used:
❖ Rand (): =RAND ()
❖ Rand between (): =RANDBETWEEN (1,200)
❖ Rand decimal (): =RAND () *100+500
Result:
The random numbers have been generated.
DATE : 22/11/2021 DEPARTMENTAL STORES
Exercise 10
To develop product quality checker in departmental stores using column headings: PRODUCT ID, PRODUCT NAME, EXPIRED DATE, STATUS, DAYS
LEFT, PRICE, NO OF QUANTITY, and AMOUNT. You need to display the word “expired” or “usable” in status column and no of days that one product is
already expired in days left column Amount should be calculated as (price * no of quantity).
Aim:
To develop a table for the departmental stores with the given column headings for checking the quality of products.
Output:
DEPARTMENTAL STORES
PRODUCT ID PRODUCT NAME MFG DATE MONTHS EXPIRED DATE STATUS DAYS LEFT PRICE NO OF QUANTITY AMOUNT
1 PEANUTS 24-04-2021 24 23-04-2023 USABLE 508 130 250 32500
2 RICE 10-01-2021 36 09-01-2024 USABLE 769 55 50 2750
3 GROUNDNUT OIL 25-02-2019 2 24-04-2019 EXPIRED -952 180 70 12600
4 BAR SOAP 15-07-2020 12 14-07-2021 EXPIRED -140 60 10 600
5 BATH OIL 12-10-2020 24 11-10-2022 USABLE 314 110 25 2750
6 PASTE 10-03-2020 6 09-09-2020 EXPIRED -448 35 110 3850
7 SHAMPOO 30-12-2019 12 29-12-2020 EXPIRED -337 240 45 10800
8 URAD DAL 21-11-2018 3 20-02-2019 EXPIRED -1015 150 90 13500
9 TOMATO KETCHUP 12-07-2021 6 11-01-2022 USABLE 41 200 65 13000
10 VINEGAR 20-06-2019 24 19-06-2021 EXPIRED -165 10 35 350
TOTAL 92700
Graph:
DEPARTMENTAL STORES
35000 32500
30000
25000
20000
AMOUNT 13500
15000 12600 13000
10800
10000
2750 2750 3850
5000
600 350
0
PRODUCT NAME
Formula used:
Result:
The quality status is obtained and checked for above items in the departmental stores.
DATE : 22/11/2021 FREQUENCY DISTRIBUTION
Exercise 11
To develop a frequency distribution table of 50 students and marks scored by them. The table should consist of the following details. I. Max II. Min III. No of
classes IV. Range V. Class interval VI. Upper limit VII. Frequency VIII. Sum of free IX. Freq range. Create a bar chart for the above created table.
Aim:
To develop a frequency distribution table for students for the above data and to create a bar chart for it.
Output:
CLASS
LOWER LIMIT UPPER LIMIT INTERVAL FREQUENCY
0 10 0-10 2
10 20 10-20 1 MAX 97
20 30 20-30 1 MIN 8
30 40 30-40 10 CLASS WIDTH 10
40 50 40-50 12 NO OF CLASSES 6
50 60 50-60 9 2^K 64
60 70 60-70 4 RANGE 89
70 80 70-80 4 NUMBER OF DATA 50
80 90 80-90 5 SUM OF FREQUENCY 50
90 100 90-100 2 FREQUENCY RANGE 11
Graph:
FREQUENCY DISTRIBUTION
14
12
12
10
9
FREQUENCY
10
8
6 5
4 4
4
2 2
2 1 1
0
0-10 0- 0 20-30 30-40 40-50 50-60 60-70 70-80 80-90 90-100
CLASS INTERVAL
Formula used:
Result:
Hence, the frequency distribution table is obtained for the above data and graph is plotted.
DATE : 22/11/2021 EMPLOYEE SALARY SHEET
Exercise 12
To create a salary sheet of 25 employees and perform simple mathematical functions such as SUM, MAX, MIN, AVERAGE, MEDIAN, MEAN, SD.
Aim:
To create salary sheet for 25 employees and to calculate simple mathematical functions in excel.
Output:
EMPLOYEE PAYSLIP
80000 71850 71850
70000
60000
50000 35750 35750
SALARY 40000 31050
23750 23050 25927
30000 18750 20750 16250
15050138001280014250 14000 11800 1100012750725115050 14000
20000 7200 6977 7200 7251
10000
0
NAME
Formula used:
Result:
The salary sheet for 25 employees is calculated by using the simple mathematical functions and the graph is plotted.
DATE : 22/11/2021 STACKED BAR CHARTS
Exercise 13
Output:
140%
51%
120%
100%
QUANTITY
80%
48% FAC C
FAC B
60%
FAC A
16%
40%
14%
17%
10% 50% 9%
20% 16%
10% 9%
20%
10% 10% 10%
0%
UNITS CONSUMED COST OF RAW DIRECT INDIRECT PROFIT
MATERIALS EXPENDITURE EXPENDITURE
PARTICULARS
Result:
For the above given data, percentages are calculated and graph is obtained.
DATE : 22/11/2021 MULTI-LEVEL PIECHARTS
Exercise 14
Aim:
To create multilevel pie charts using excel.
Output:
TRANSPORT |
IRRIGATION&POWER
26% IRRIGATION&POWER | 23%
| 30% TRANSPORT |
34%
MINERALS |
16% MINERALS | 24%
PLAN CHART
VILLAGE AND SMALL
INDUSTRIES AGRICULTURE
5% VILLAGE AND SMALL 14%
INDUSTRIES
9%
AGRICULTURE
19%
TRANSPORT IRRIGATION&POWER
TRANSPORT 26% 23%
34%
IRRIGATION&POWER
MINERALS 30%
16%
MINERALS
24%
Result:
The pie chart is obtained for the above-mentioned information.
DATE : 26/11/2021 MATRICES
Exercise 15
By using a 3x3 matrix perform the matrix operations: Organization of data, add, subtract, transpose of a matrix, multiply a matrix by a scalar, inverse of a square matrix
and determinant of a square matrix
Aim:
To perform the above matrix operations by using excel formula.
Output:
MATRIX A MATRIX B
4 8 -1 7 5 -1
21 -13 5 8 6 4
-7 2 -6 17 -9 12
Formulas used:
❖ Addition Of Matrices: = (A14:C16) +(F14:H16)
❖ Subtraction Of Matrices: = (A21:C23) -(F21:H23)
❖ Transpose Of a Matrix: =TRANSPOSE (A28:C30)
❖ Multiply A Matrix by Scalar: =7*(A35:C37)
❖ Inverse Of a Matrix: =MINVERSE (A42:C44)
❖ Determinant Of a Matrix: =MDETERM (A49:C51)
❖ Multiplication Of Two Matrices: =MMULT (A56:C58, F56:H58)
Result:
The following matrix operations are performed and values are obtained.