GFQR1026-Test Revision
GFQR1026-Test Revision
Seat Number: _________ Hand in this test paper BEFORE you leave!!!!!!
Preparation
1. Start Google Chrome and access the “Datafile Download / Answer Files Submission” page with
the URL: http://www.comp.hkbu.edu.hk/~collect3
2. Download the file edata00.xlsx, and save it as eans00.xlsx in D:\
3. Start MS Excel 2019 and open the file D:\eans00.xlsx.
©COMP, HKBU 2023. All Rights Reserved. This content is copyright protected and shall not be shared,
uploaded or distributed.
Page 1 of 4
Pivot Table and Pivot Chart
11. Select the cell A1 in ‘raw data’ worksheet, create 2 standard pivot tables (using Player table) and
2 corresponding pivot charts according to the following:
a. Pivot table 1 and pivot chart 1
• Rename the worksheet as “Pivot 1”
• Show the average defensive rebound for different teams (show the team names)
• Format the values to Number with 0 decimal place
• Rename the column to Average Defensive Rebound
• Sort the value (average defensive rebound) in descending order
©COMP, HKBU 2023. All Rights Reserved. This content is copyright protected and shall not be shared,
uploaded or distributed.
Page 2 of 4
12. Save your file eans00.xlsx
Using Solver
13. Go to the worksheet Solver
14. Enter four dummy values (1) for the order quantity in the cells C12:F12
15. Go to the cell H7, use a function to calculate the total capital used for the fruit store by using the
range C7:F7 and C12:F12.
16. Go to the cell H8, use a function to calculate the total storage used for the fruit store by using the
range C8:F8 and C12:F12.
17. Go to the cell J12, use a function to calculate the total profit for the fruit store by using the range
C4:F4 and C12:F12.
18. The decision is to find out how much to order for each kind of fruits with the following constraints,
and the objective is to maximize the total profit.
a. The amount of capital and storage for the fruits cannot exceed the amount of capital
and storage available (in J7 and J8 respectively).
©COMP, HKBU 2023. All Rights Reserved. This content is copyright protected and shall not be shared,
uploaded or distributed.
Page 3 of 4
b. We must buy at least 10 items for each kind of fruits
c. The order quantity must be integer (whole number)
19. Check the box “Make Unconstrained Variables Non-Negative” and select “Simplex LP” when
solving the problem.
20. Keep the solver solution in order to show how many fruits should be ordered and the total profit.
21. Save your file eans00.xlsx and exit MS Excel 2019.
©COMP, HKBU 2023. All Rights Reserved. This content is copyright protected and shall not be shared,
uploaded or distributed.
Page 4 of 4