Professional Documents
Culture Documents
Sample2 2014-15 T1 With Solutions
Sample2 2014-15 T1 With Solutions
Marks Awarded
Question 1 13
Question 2 12
TOTAL 25
1
IS102 Computer as an Analysis Tool
2
IS102 Computer as an Analysis Tool
Joe’s Market sells three kinds of food product: vegetables, fruits, and drinks. Table 1
shows 15 food items that Joe’s Market sells and their prices. Table 2 shows the price
ranges and discount amounts (in percentage). The store offers discount coupons to all
customers. If the final bill amounts to between $30 and $49.99 (both inclusive) then the
customer will receive 5% off coupon. Table 3 shows the template for a customer receipt.
It lists all food items, their quantities, and item-specific total in dollars.
Table 4
Part A (1 mark)
Create a formula in Cell J17 to compute the “Subtotal” over all food items purchased.
Provide the formula for Cell J17.
=SUMPRODUCT(I2:I16*C2:C16) or
=SUM(J2:J16)
3
IS102 Computer as an Analysis Tool
Part B (1 mark)
Convert Table 2 into a Lookup Table as shown in Table 4 and complete the table below.
Part C (1 mark)
Given the customer’s “Subtotal” as computed in Part A, determine the correct Joe’s
Discount Coupon amount in Cell I19, using the Lookup Table (Table 4) from Part B.
Provide the formula for Cell I19.
=LOOKUP(J17,E9:E14,F9:F14) or
=VLOOKUP(J17,E9:F14,2,TRUE) or
=INDEX(F9:F14,MATCH(J17,E9:E14,1))
Part D (2 marks)
Joe’s Market offers TGIF coupon. If the customer transaction occurs on a Friday, the
store offers an additional 5% off coupon if the total bill (before applying Joe’s Discount
Coupon) is at least $50 and if the total number of food items purchased is at least five.
Determine the correct TGIF coupon amount in Cell I20. Provide the formula for Cell I20.
=IF(AND(WEEKDAY(TODAY())=6,J17>=50,SUM(I2:I16)>=5),5%,0%)
Part E (3 marks)
Suppose that you have a budget of $150 for this week’s grocery shopping. Because
potatoes and oranges are offered at a reduced price this week, Joe’s Market is limiting
the number of potatoes to maximum five per purchase and the number of oranges to
maximum eight per purchase. Additionally, your baby sister wants three apples.
Formulate the above problem as a linear programming problem to maximize the amount
you can spend without exceeding your shopping budget. Complete the following:
4
IS102 Computer as an Analysis Tool
Constraints:
I21 <= 150
I2:I16 = Integer
I4 <= 5
I7 = 3
I8 <= 8
Part F (1 mark)
What is the subtotal and total for the optimal solution?
Part G (2 marks)
The sales of onion have increased over the past six months (Month 1 through Month 6 as
shown in Table 5, create Table 5 in a new worksheet). Find the linear relationship
between month and onion sales (quantity) using the data provided in Table 5. Complete
the table below with your forecast (Cell B8:B13).
Table 5
5
IS102 Computer as an Analysis Tool
y = 36.857x + 507.33
Part H (2 marks)
At the beginning of each month, Joe’s Market sends out a Happy Birthday Discount
coupon via SMS to customers who meet all the following conditions:
1) Customer’s birthday occurs in the current month,
2) Customer’s loyalty points exceed 3000 points, and
3) Customer’s last visit to Joe’s Market occurred in the last three months (90
days).
Joe’s Market stores customer information as shown in Table 6 (create Table 6 in a new
worksheet).
Table 6
6
IS102 Computer as an Analysis Tool
Each passenger takes a few seconds to board the bus. Younger passengers usually take
lesser time while older passengers may take a bit more time. Average boarding time per
passenger follows a uniform distribution given in Table 7 (equal likelihood of each
average boarding time occurring).
Bus will depart once boarding is completed (either the capacity of the bus is reached or
there are no more passengers in the departure lounge). Ticket is currently priced at
$2.50 per passenger. Based on the historical data, passengers arriving at the station
during 5 minute interval follow the distribution given in Table 8.
Table 8
Table 7
Figure 1
7
IS102 Computer as an Analysis Tool
Part A (6 marks)
Create a spreadsheet model using the template given above; fill in the formulas for the
cells indicated below. Note that the formulas must work when using the fill function.
E7 = MIN($G$2, G6 + D7)
=MIN(D8+G7,$G$2) 0.5
Passengers waiting + newly arrived, up to the capacity of the station
F7 = MIN($D$2, E7)
=MIN($D$2,E8) 1
As many of the waiting passengers as the bus capacity allows
G7 = E7 - F7
=E8-F8 0.5
Waiting passengers - those who caught the bus
I7 = MAX(0, E6 + D7 - $G$2)
=MAX(D8+G7-$G$2,0) 1
As many of the waiting passengers as the bus capacity allows
= C7 + TIME(0, 0, F7 * SMALL($L$16:$M$19,
RANDBETWEEN(1, COUNT($L$16:$M$19))))
=F8*INDEX($O$11:$P$14,RANDBETWEEN(1,4),RANDBETWEEN
= C7 + F7 * INDEX($L$16:$M$19,
J7 2
(1,2))/(3600*24)+C8
RANDBETWEEN(1,4), RANDBETWEEN (1,2))/(3600*24)
Part B (2 marks)
The management would like to understand the impact of departure lounge (Cell G2)
capacity on the average number of people queuing at the station. Perform “what-if”
analysis to identify the average number of passenger in queue if we vary the departure
lounge capacity to 100 and 200 respectively. You need to simulate the model for at least
1000 times to get reliable results.
Departure
Average number of passenger in queue Marks
lounge capacity
100 40 +/-
35 5to 37 1
200 50 10
60 +/- to 54 1
8
IS102 Computer as an Analysis Tool
Part C (1 mark)
What is the average revenue per day based on departure lounge capacity of 40
passengers?
Part D (3 marks)
What is the impact of changing departure lounge capacity from 100 to 200 on daily
revenue? Briefly explain your answer.
No impact.
Because increasing departure lounge capacity without increasing bus
frequency or bus capacity only result in more passengers left queuing in the
departure lounge.
End of Paper