You are on page 1of 17

Mid Term Exam-2023

Data Analytics - Term II


Time - 120 Minutes Marks - 60
(Closed Book, Closed Internet, Open Laptop)

Name Section Roll No

IMPORTANT INSTRUCTIONS:

1. This is a closed book, closed internet and open laptop exam.


2. For all questions please write down the Excel formula and output of the question in the box provided in every qu
provided in the box shall be evaluated.
3. Please write your name, roll number and section at the appropriate place.
4. Question paper carries 4 questions. Please use only the space provided to answer.
5. All questions are to be answered in this Excel file only. No other file will be evaluated.
6. Any instance of copying or plagiarism, if found, will be highly penalized
7. You need to provide the explanation for every question. The explanation consists of description about all the
sequence of fucntions, reason for taking any function/set of fuctions, and overall approach for anwering any qu
8. No clarifications shall be answered during the exam. If you make any assumption, clearly state that assumption
9. This excel file needs to be submitted after the exam. The work done in this excel file will only be evaluated.
Marks - 60

the box provided in every question. Only answers

ed.

of description about all the steps, all the functions,


roach for anwering any question.
clearly state that assumption.
e will only be evaluated.
INSTRUCTIONS:

Fixed Cost You are investing in a new Theatre of play, 'Kala Mahotsav'. You
Seats following information about the Theatre:
Ticket Price a). The fixed cost of opening the Theatre is Rs. 5 million.
b). The average ticket price is Rs. 100/-.
Occupancy
c). The theatre seats 2,000 people, and there are 365 performan
Performances per year d). Variable cost per performance is Rs. 1000/-.
Years Use a data table to determine how the total profit generated by th
Cost per performance the length of the Theatre run varies between 1 and 5 years, and a
rates vary between 70% and 90%.
Ticket Revenue
Fixed Cost
Variable Cost Data Table
Profit
TIONS: EXPLANATION:

atre of play, 'Kala Mahotsav'. You are given the


e Theatre:
he Theatre is Rs. 5 million.
Rs. 100/-.
ple, and there are 365 performances per year.
nce is Rs. 1000/-.
ow the total profit generated by the Theatre varies as
ries between 1 and 5 years, and average occupancy
%.

10 Marks
City Distance (in Mumbai Delhi Kolkata Chennai Bengaluru Hyderabad
Index KM)
1 Mumbai 0 1416 2046 1336 989 719
2 Delhi 1416 0 1537 2198 2164 1572
3 Kolkata 2046 1537 0 1680 1891 1503
4 Chennai 1336 2198 1680 0 348 627
5 Bengaluru 989 2164 1891 348 0 569
6 Hyderabad 719 1572 1503 627 569 0
7 Ahmedabad 526 944 1962 1848 1495 1223
8 Lucknow 1376 554 995 1967 1935 1343
9 Pune 148 1423 1919 1190 837 562
10 Surat 285 1151 2012 1606 1253 982
11 Indore 584 863 1568 1573 1339 949
12 Bhopal 776 772 1380 1475 1443 852
13 Nellore 1185 2025 1508 175 386 455
14 Ranchi 1711 1287 415 1617 1962 1371
15 Patna 1722 1090 552 2097 2065 1474

opportunity
₹ 100.00
cost per hour

City Time taken Mumbai Delhi Kolkata Chennai Bengaluru Hyderabad


Index (hours)
1 Mumbai 0 20 16 20 15 18
2 Delhi 20 0 11 14 5 6
3 Kolkata 16 11 0 1 13 12
4 Chennai 20 14 1 0 9 13
5 Bengaluru 15 5 13 9 0 14
6 Hyderabad 18 6 12 13 14 0
7 Ahmedabad 14 15 9 2 19 18
8 Lucknow 2 5 4 20 10 15
9 Pune 12 12 19 10 3 19
10 Surat 12 13 13 12 17 18
11 Indore 13 1 5 16 8 15
12 Bhopal 18 13 2 20 18 11
13 Nellore 2 12 17 17 7 14
14 Ranchi 3 16 11 7 13 2
15 Patna 4 2 11 3 9 12

City index Name Distance Travel Cost Opportunity Cost


Total Cost
Ahmedabad Lucknow Pune Surat Indore Bhopal Nellore Ranchi Patna City
Index
526 1376 148 285 584 776 1185 1711 1722 1
944 554 1423 1151 863 772 2025 1287 1090 2
1962 995 1919 2012 1568 1380 1508 415 552 3
1848 1967 1190 1606 1573 1475 175 1617 2097 4
1495 1935 837 1253 1339 1443 386 1962 2065 5
1223 1343 562 982 949 852 455 1371 1474 6
0 1251 657 263 389 587 1694 1600 1532 7
1251 0 1383 1248 792 645 1750 747 538 8
657 1383 0 445 594 786 1038 1580 1676 9
263 1248 445 0 491 644 1449 1672 1590 10
389 792 594 491 0 194 1385 1206 1140 11
587 645 786 644 194 0 1305 1016 950 12
1694 1750 1038 1449 1385 1305 0 1445 1926 13
1600 747 1580 1672 1206 1016 1445 0 325 14
1532 538 1676 1590 1140 950 1926 325 0 15

Ahmedabad Lucknow Pune Surat Indore Bhopal Nellore Ranchi Patna


14 2 12 12 13 18 2 3 4
15 5 12 13 1 13 12 16 2
9 4 19 13 5 2 17 11 11
2 20 10 12 16 20 17 7 3
19 10 3 17 8 18 7 13 9
18 15 19 18 15 11 14 2 12
0 9 19 10 3 13 19 13 19
9 0 10 10 8 1 19 10 12
19 10 0 7 4 3 14 10 3
10 10 7 0 3 20 12 17 7
3 8 4 3 0 16 20 5 12
13 1 3 20 16 0 15 1 13
19 19 14 12 20 11 0 4 1
13 10 10 17 5 14 4 0 1
19 12 3 7 12 9 1 1 0
Penalty2

Penalty1
Per KM Mumbai Delhi Kolkata Chennai Bengaluru Hyderabad Ahmedabad Lucknow
travel cost
Mumbai ₹ - ₹ 5.00 ₹ 10.00 ₹ 10.00 ₹ 5.00 ₹ 5.00 ₹ 19.00 ₹ 15.00
Delhi ₹ 5.00 ₹ - ₹ 13.00 ₹ 20.00 ₹ 9.00 ₹ 5.00 ₹ 18.00 ₹ 15.00
Kolkata ₹ 10.00 ₹ 13.00 ₹ - ₹ 17.00 ₹ 18.00 ₹ 15.00 ₹ 10.00 ₹ 12.00
Chennai ₹ 10.00 ₹ 20.00 ₹ 17.00 ₹ - ₹ 14.00 ₹ 5.00 ₹ 14.00 ₹ 3.00
Bengaluru ₹ 5.00 ₹ 9.00 ₹ 18.00 ₹ 14.00 ₹ - ₹ 12.00 ₹ 18.00 ₹ 9.00
Hyderabad ₹ 5.00 ₹ 5.00 ₹ 15.00 ₹ 5.00 ₹ 12.00 ₹ - ₹ 18.00 ₹ 15.00
Ahmedabad ₹ 19.00 ₹ 18.00 ₹ 10.00 ₹ 14.00 ₹ 18.00 ₹ 18.00 ₹ - ₹ 5.00
Lucknow ₹ 15.00 ₹ 15.00 ₹ 12.00 ₹ 3.00 ₹ 9.00 ₹ 15.00 ₹ 5.00 ₹ -
Pune ₹ 6.00 ₹ 14.00 ₹ 9.00 ₹ 3.00 ₹ 17.00 ₹ 10.00 ₹ 18.00 ₹ 17.00
Surat ₹ 14.00 ₹ 20.00 ₹ 4.00 ₹ 14.00 ₹ 15.00 ₹ 11.00 ₹ 5.00 ₹ 8.00
Indore ₹ 11.00 ₹ 9.00 ₹ 4.00 ₹ 7.00 ₹ 7.00 ₹ 14.00 ₹ 6.00 ₹ 20.00
Bhopal ₹ 11.00 ₹ 3.00 ₹ 14.00 ₹ 10.00 ₹ 12.00 ₹ 4.00 ₹ 17.00 ₹ 9.00
Nellore ₹ 16.00 ₹ 17.00 ₹ 15.00 ₹ 15.00 ₹ 17.00 ₹ 15.00 ₹ 3.00 ₹ 10.00
Ranchi ₹ 1.00 ₹ 6.00 ₹ 15.00 ₹ 18.00 ₹ 13.00 ₹ 16.00 ₹ 9.00 ₹ 6.00
Patna ₹ 5.00 ₹ 12.00 ₹ 3.00 ₹ 3.00 ₹ 7.00 ₹ 5.00 ₹ 10.00 ₹ 4.00

INSTRUCTIONS:

Distance Table contains the distance (in KM) between different cities in India. You will start from Delhi, visit each c
once, and return to Delhi (the starting and ending stations must be the same (Delhi)). In between, you must visit
Ahmedabad immediately after Mumbai. You are not allowed to repeat any city. If you do not follow the proper orde
starting and ending points (Fix one cell for Delhi), you are penalized by Rs. 20,000. Also, if you do not follow the
desired sequence (Ahmedabad after Mumbai); in that case, you will receive an extra penalty of Rs. 30,000. You hav
been provided with the data tables containing the distance between different cities and the cost of travelling. The tim
taken to travel among the cities has also been provided, and each hour spent travelling has an opportunity cost of Rs
attached to it.
In what order should you visit the cities to minimize the total cost? (Mention each possible computation step with
proper formula (in terms of better understanding) in your answer sheet, marking only based on what you mentioned
logically in your answer sheet)

EXPLANATION:
Pune Surat Indore Bhopal Nellore Ranchi Patna
₹ 6.00 ₹ 14.00 ₹ 11.00 ₹ 11.00 ₹ 16.00 ₹ 1.00 ₹ 5.00
₹ 14.00 ₹ 20.00 ₹ 9.00 ₹ 3.00 ₹ 17.00 ₹ 6.00 ₹ 12.00
₹ 9.00 ₹ 4.00 ₹ 4.00 ₹ 14.00 ₹ 15.00 ₹ 15.00 ₹ 3.00
₹ 3.00 ₹ 14.00 ₹ 7.00 ₹ 10.00 ₹ 15.00 ₹ 18.00 ₹ 3.00
₹ 17.00 ₹ 15.00 ₹ 7.00 ₹ 12.00 ₹ 17.00 ₹ 13.00 ₹ 7.00
₹ 10.00 ₹ 11.00 ₹ 14.00 ₹ 4.00 ₹ 15.00 ₹ 16.00 ₹ 5.00
₹ 18.00 ₹ 5.00 ₹ 6.00 ₹ 17.00 ₹ 3.00 ₹ 9.00 ₹ 10.00
₹ 17.00 ₹ 8.00 ₹ 20.00 ₹ 9.00 ₹ 10.00 ₹ 6.00 ₹ 4.00
₹ - ₹ 8.00 ₹ 15.00 ₹ 5.00 ₹ 1.00 ₹ 18.00 ₹ 16.00
₹ 8.00 ₹ - ₹ 12.00 ₹ 3.00 ₹ 2.00 ₹ 1.00 ₹ 13.00
₹ 15.00 ₹ 12.00 ₹ - ₹ 13.00 ₹ 8.00 ₹ 15.00 ₹ 14.00
₹ 5.00 ₹ 3.00 ₹ 13.00 ₹ - ₹ 7.00 ₹ 10.00 ₹ 12.00
₹ 1.00 ₹ 2.00 ₹ 8.00 ₹ 7.00 ₹ - ₹ 16.00 ₹ 4.00
₹ 18.00 ₹ 1.00 ₹ 15.00 ₹ 10.00 ₹ 16.00 ₹ - ₹ 20.00
₹ 16.00 ₹ 13.00 ₹ 14.00 ₹ 12.00 ₹ 4.00 ₹ 20.00 ₹ -

rt from Delhi, visit each city


tween, you must visit
not follow the proper order for
if you do not follow the
ty of Rs. 30,000. You have
cost of travelling. The time
an opportunity cost of Rs. 100

e computation step with


d on what you mentioned

20 Marks
Number of Ads Actual number of Sale Prediction Sales Sqaure of
Running (A) Sales (B) Variance Difference
50 6700 X=
55 7500 Y=
59 8700 Z=
62 8900
75 8800
95 10900
110 11200
125 11400
140 11500
180 12300
Total Square Difference =
INSTRUCTIONS:

The following information was gathered by a marketing manager: the number of advertisements that we
week prior to the collection of each sales data point and the company's sales. This is represented in the c
"Number of ads running" (A) and "Actual number of sales" (B).

Based on the available data, we have derived deciding variables X, Y, and Z, as well as an equation X+
ads running)^Z, which enables us to forecast/predicted sales by considering the quantity of ads that w
week prior.

The value of "Sales Variance" is obtained substracting Predicted Sale from the Actual Sale. As implied b
heading "Square of Difference," it is the square of the "Sales Variance".

The primary aim of a marketing manager is to reduce the sum of all squared differences.

These values X, Y and Z are critical in determining and deriving the sum of squares of the differences. A
variables X, Y, and Z are set to 150, 100, 0.05, respectively.

It is noteworthy that the minimization of the sum of the squares of differences does not impose an

EXPLANATION:
ber of advertisements that were running in the
s. This is represented in the columns labeled

Z, as well as an equation X+Y*(Number of


ng the quantity of ads that were executed the

he Actual Sale. As implied by the column

d differences.

squares of the differences. At the outset, the

erences does not impose any constraints.

10 Marks
Lat Long
WH-1
WH-2

Distance to Distance to Min


City Lat Long Shipments WH-1 WH-2 Distance Dist*Shipped
Mumbai 19.076 72.877 15
Pune 18.52 73.856 8
Nagpur 21.145 79.088 10
Raipur 21.251 81.629 26
Kanpur 26.449 80.331 11
Jaipur 26.912 75.787 18
Dispur 26.143 91.789 13
Durgapur 23.52 87.311 11
Bangalore 12.971 77.594 10
Gandhinagar 23.215 72.636 12
Bhopal 23.259 77.412 14
Delhi 28.704 77.102 11
Panaji 15.49 73.827 8
Chennai 13.082 80.27 17
Ernakulam 9.981 76.299 8
Hyderabad 17.385 78.486 9
Bhubaneswar 20.296 85.824 10
Shimla 31.104 77.173 18
Patna 25.594 85.137 12
Chandigarh 30.733 76.779 10
Ranchi 23.344 85.309 13
Total Distance =
INSTRUCTIONS:
To minimize shipping distance within India, where should LogiSys Shipping
Warehouse
Company strategicallyposition two warehouses for the most efficient packag
Assignment delivery?

The company also wants at least 60% of towns to be close to Warehouse 1 (W


if they aren't, it will cost them 45,000 miles.

India is a vast country. Lying entirely in the Northern hemisphere the main l
extends between latitudes 8.40 to 37.60 and longitudes 68.70 to 97.25. At firs
locations of warehouses were set to the numbers shown in their cells.

Note: You may create/remove any number of column(s)/row(s), if required


solve the problem.

EXPLANATION:

Penalty
ould LogiSys Shipping
most efficient package

ose to Warehouse 1 (WH-1);

hemisphere the main land


68.70 to 97.25. At first, the
n in their cells.

s)/row(s), if required to

20 Marks

You might also like