Testing Calculations

17
Connor Hartley P7 Unit 42 Page 1 of 17 Testing of Calculations P7: How I checked the accuracy of calculations Test Plan Test No. Purpose of Test Method (Manual working out for calculations) Expected Result Actual Result Page No. (Ref) Sales Worksheet Tests 1 Test the value of total monthly sales for April 2010. (Apr-10 to Mar-11 also tested; formula’s copied across). 8700 + 5600 + 12700 + 7700 + 19900 + 18700 + 5700 + 6600 + 7700 + 4700 98000 98000 16 2 Test the value of total monthly sales for March 2011. 9300 + 7000 + 9100 + 7300 + 20000 + 19300 + 4800 + 6600 + 8300 + 5300 97000 97000 16 3 Test the value of total yearly sales for Comic A. (Titles A-J tested; formula’s copied across). 8700 + 8600 + 8900 + 9000 + 9200 + 9400 + 9200 +9150 + 9200 + 9100 + 9250 + 9300 109000 109000 16 4 Test the value of total yearly sales for Comic J. 4700 + 4650 + 4800 + 5000 + 5100 + 5300 + 5250 + 5250 + 5250 + 5100 + 5350 + 5300 61050 61050 17 5 Test the value of average monthly sales for April 2010. (Apr-10 to Mar-11 also tested; formula’s copied across). 8700 + 5600 + 12700 + 7700 + 19900 + 18700 + 5700 + 6600 + 7700 + 4700 = 98000 98000 / 10 = 9800 9800 9800 17 6 Test the value of average monthly sales for March 2011. 9300 + 7000 + 9100 + 7300 + 20000 + 19300 + 4800 + 6600 + 8300 + 5300 = 97000 97000 / 10 = 9700 9700 9700 17 7 Test the value of average yearly sales for Comic A. (Titles A- J tested; formula’s copied across). 8700 + 8600 + 8900 + 9000 + 9200 + 9400 + 9200 +9150 + 9200 + 9100 + 9250 + 9300 = 109000 109000 / 12 = 9083.3333 9083 (0 d.p) 9083 (0 d.p) 18 8 Test the value of average yearly sales for Comic J. 4700 + 4650 + 4800 + 5000 + 5100 + 5300 + 5250 + 5250 + 5250 + 5100 + 5350 + 5300 = 61050 / 12 = 5087.5 5088 (0 d.p) 5088 (0 d.p) 18 9 Test the maximum monthly sales in April 2010. (Apr-10 to Mar- 11 also tested; formula’s copied across). 8700, 5600, 12700, 7700, 19900, 18700, 5700, 6600, 7700, 4700 19900 19900 18 10 Test the maximum monthly sales in March 2011. 9300, 7000, 9100, 7300, 20000, 19300, 4800, 6600, 8300, 5300 20000 20000 19 11 Test the maximum yearly sales for Comic A. (Titles A-J tested; formula’s copied across). 8700, 8600, 8900, 9000, 9200, 9400, 9200, 9150, 9200, 9100, 9250, 9300 9400 9400 19 12 Test the maximum yearly sales for Comic J. 4700, 4650, 4800, 5000, 5100, 5300, 5250, 5250, 5250, 5100, 5350, 5300 5350 5350 19 13 Test the minimum monthly sales in April 2010. (Apr-10 to Mar- 11 also tested; formula’s copied across). 8700, 5600, 12700, 7700, 19900, 18700, 5700, 6600, 7700, 4700 4700 4700 19 14 Test the minimum monthly sales in March 2011. 9300, 7000, 9100, 7300, 20000, 19300, 4800, 6600, 8300, 5300 4800 4800 20 15 Test the minimum yearly sales for Comic A. (Titles A-J tested; formula’s copied across). 8700, 8600, 8900, 9000, 9200, 9400, 9200, 9150, 9200, 9100, 9250, 9300 8600 8600 20

Transcript of Testing Calculations

Page 1: Testing Calculations

Connor Hartley P7 Unit 42

Page 1 of 17

Testing of Calculations

P7: How I checked the accuracy of calculations

Test Plan

Test No.

Purpose of Test Method (Manual working out for calculations)

Expected Result

Actual Result

Page No. (Ref)

Sales Worksheet Tests

1 Test the value of total monthly sales for April 2010. (Apr-10 to

Mar-11 also tested; formula’s copied across).

8700 + 5600 + 12700 + 7700 + 19900 + 18700 + 5700 + 6600 + 7700 + 4700

98000 98000 16

2 Test the value of total monthly sales for March 2011.

9300 + 7000 + 9100 + 7300 + 20000 + 19300 + 4800 + 6600 + 8300 + 5300

97000 97000 16

3 Test the value of total yearly sales for Comic A. (Titles A-J tested;

formula’s copied across).

8700 + 8600 + 8900 + 9000 + 9200 + 9400 + 9200 +9150 + 9200 + 9100 + 9250 + 9300

109000 109000 16

4 Test the value of total yearly sales for Comic J.

4700 + 4650 + 4800 + 5000 + 5100 + 5300 + 5250 + 5250 + 5250 + 5100 + 5350 + 5300

61050 61050 17

5 Test the value of average monthly sales for April 2010. (Apr-10 to Mar-11 also tested; formula’s copied across).

8700 + 5600 + 12700 + 7700 + 19900 + 18700 + 5700 + 6600 + 7700 + 4700 = 98000 98000 / 10 = 9800

9800 9800 17

6 Test the value of average monthly sales for March 2011.

9300 + 7000 + 9100 + 7300 + 20000 + 19300 + 4800 + 6600 + 8300 + 5300 = 97000 97000 / 10 = 9700

9700 9700 17

7 Test the value of average yearly sales for Comic A. (Titles A-

J tested; formula’s copied across).

8700 + 8600 + 8900 + 9000 + 9200 + 9400 + 9200 +9150 + 9200 + 9100 + 9250 + 9300 = 109000 109000 / 12 = 9083.3333

9083 (0 d.p)

9083 (0 d.p)

18

8 Test the value of average yearly sales for Comic J.

4700 + 4650 + 4800 + 5000 + 5100 + 5300 + 5250 + 5250 + 5250 + 5100 + 5350 + 5300 = 61050 / 12 = 5087.5

5088 (0 d.p)

5088 (0 d.p)

18

9 Test the maximum monthly sales in April 2010. (Apr-10 to Mar-

11 also tested; formula’s copied across).

8700, 5600, 12700, 7700, 19900, 18700, 5700, 6600, 7700, 4700

19900 19900 18

10 Test the maximum monthly sales in March 2011.

9300, 7000, 9100, 7300, 20000, 19300, 4800, 6600, 8300, 5300

20000 20000 19

11 Test the maximum yearly sales for Comic A. (Titles A-J tested;

formula’s copied across).

8700, 8600, 8900, 9000, 9200, 9400, 9200, 9150, 9200, 9100, 9250, 9300

9400 9400 19

12 Test the maximum yearly sales for Comic J.

4700, 4650, 4800, 5000, 5100, 5300, 5250, 5250, 5250, 5100, 5350, 5300

5350 5350 19

13 Test the minimum monthly sales in April 2010. (Apr-10 to Mar-

11 also tested; formula’s copied across).

8700, 5600, 12700, 7700, 19900, 18700, 5700, 6600, 7700, 4700

4700 4700 19

14 Test the minimum monthly sales in March 2011.

9300, 7000, 9100, 7300, 20000, 19300, 4800, 6600, 8300, 5300

4800 4800 20

15 Test the minimum yearly sales for Comic A. (Titles A-J tested;

formula’s copied across).

8700, 8600, 8900, 9000, 9200, 9400, 9200, 9150, 9200, 9100, 9250, 9300

8600 8600 20

Page 2: Testing Calculations

Connor Hartley P7 Unit 42

Page 2 of 17

16 Test the minimum yearly sales for Comic J.

4700, 4650, 4800, 5000, 5100, 5300, 5250, 5250, 5250, 5100, 5350, 5300

4650 4650 20

17 Test the ‘Monthly Sales Target’ value.

98000 + 98350 + 99300 +98700 + 98750 + 99640 + 98500 + 96420 + 99200 + 99830 + 99900 + 97000 = 1183590 1183590 / 12 = 98632.5

98633 98633 20

Revenue Worksheet Tests

18 Test the ‘New Cover Price’ for March 2011 after a 10% increase; on the Revenue worksheet.

2.5 * 1.1 = 2.75 2.75 2.75 21

19 Test the revenue value generated by Comic A in April 2010. (All revenue values up to Feb-11

used the same formula and were copied across.)

8700 * 2.5 = 21750 21750 21750 21

20 Test the revenue value generated by Comic A in March 2011, after the magazine price increase. (Formula copied down, so

titles A-J also tested here).

9300 * 2.75 = 25575 25575 25575 21

21 Test the Total Yearly Revenue of Comic A.

21750 + 21500 + 22250 + 22250 + 23000 + 23500 + 23000 + 22875 + 23000 + 22750 + 23125 + 25575 = 274825

274825 274825 22

22 Test the Average Monthly Revenue of Comic A.

21750 + 21500 + 22250 + 22250 + 23000 + 23500 + 23000 + 22875 + 23000 + 22750 + 23125 + 25575 = 274825 274825 / 12 = 22902.083333

22902.08 22902.8 22

23 Test the Maximum Monthly Revenue values of Comic A.

21750, 21500, 22250, 22250, 23000, 23500, 23000, 22875, 23000, 22750, 23125, 25575

25575 25575 22

24 Test the Minimum Monthly Revenue values of Comic A.

21750, 21500, 22250, 22250, 23000, 23500, 23000, 22875, 23000, 22750, 23125, 25575

21500 21500 22

25 Test the Total Monthly Revenue of comics sold in April 2010.

21750 + 14000 + 31750 + 19250 + 49750 + 46750 + 14250 + 16500 +19250 + 11750

245000 245000 23

26 Test the Average Monthly revenue generated by comics sold in April 2010.

21750 + 14000 + 31750 + 19250 + 49750 + 46750 + 14250 + 16500 +19250 + 11750 = 245000 245000 / 10 = 24500

24500 24500 23

27 Test the Maximum revenue values of comics sold in April 2010

21750, 14000, 31750, 19250, 49750, 46750, 14250, 16500, 19250, 11750

49750 49750 23

28 Test the Minimum revenue values of comics sold in April 2010.

21750, 14000, 31750, 19250, 49750, 46750, 14250, 16500, 19250, 11750

11750 11750 24

Expenses Worksheet Tests

29 Test the total expense of Printer and Paper in April 2010.

245000 * 0.15 36750 36750 25

30 Test the total expense of Distribution in April 2010.

245000 * 0.15 36750 36750 25

31 Test the total expense of 245000 * 0.30 73500 73500 25

Page 3: Testing Calculations

Connor Hartley P7 Unit 42

Page 3 of 17

Retailer in April 2010.

32 Test the total expense of author in April 2010.

245000 * 0.05 12250 12250 26

33 Test the total expense of Editing in April 2010.

245000 * 0.1 24500 24500 26

34 Test the total expense of Publisher in April 2010.

245000 * 0.25 61250 61250 26

35 Test the total expense of the License fee in April 2010.

10000/12 = 833.33 833.33 * 10 = 8333.33

8333.33 8333.33 27

36 Test the Total Yearly Expense of Printer and Paper

36750.00 + 36881.25 + 37237.50 + 37012.50 + 37031.25 + 37365.00 + 36937.50 + 36157.50 + 37200.00 + 37436.25 + 37462.50 + 40012.50

447,483.75

447,483.75

27

37 Test the Average Yearly Expense of Printer and Paper

447,483.75 / 12 37,290.31 37,290.31 27

38 Test the Maximum Yearly Expense of Printer and Paper

36750.00, 36881.25, 37237.50, 37012.50, 37031.25, 37365.00, 36937.50, 36157.50, 37200.00, 37436.25, 37462.50, 40012.50

40012.50 40012.50 28

39 Test the Minimum yearly Expense of Printer and Paper

36750.00, 36881.25, 37237.50, 37012.50, 37031.25, 37365.00, 36937.50, 36157.50, 37200.00, 37436.25, 37462.50, 40012.50

36157.50 36157.50 28

40 Test the Total Monthly Expense in April 2010

36750 + 36750 + 73500 + 12250 + 24500 + 61250 + 8333.33

253,333.33

253,333.33

28

41 Test the Average Monthly Expense in April 2010

253,333.33/7 36,190.48 36,190.48 28

42 Test the Maximum Monthly Expense in April 2010

36750, 36750, 73500, 12250, 24500, 61250, 8333.33

73500 73500 29

43 Test the Minimum Monthly Expense in April 2010.

36750, 36750, 73500, 12250, 24500, 61250, 8333.33

8333.33 8333.33 29

Page 4: Testing Calculations

Connor Hartley P7 Unit 42

Page 4 of 17

Evidence Sales Tests – Evidence

Test 1:

This value is found be adding together all the sales values for each comic in April 2010.

Test 2:

This value is found by adding together all the sales values for each comic in March 2011.

Test 3:

This value is found by adding together all the sales of comic A, throughout the year.

Page 5: Testing Calculations

Connor Hartley P7 Unit 42

Page 5 of 17

Test 4:

This value is found by adding together all the sales of comic J, throughout the year.

Test 5:

Adding together all of the total monthly sales in April 2010, gives the figure of 98000. You then divide that by the total number of comics to get an average.

Test 6:

Adding together all of the monthly sales for March 2011, give the figure of 97000. You then divide that value by the total number of comics to get an average.

Page 6: Testing Calculations

Connor Hartley P7 Unit 42

Page 6 of 17

Test 7:

Adding together the total number of yearly sales of Comic A, gives you the value of 109000. You then divide this by 12 (the total number of months), to receive an average.

Test 8:

Adding together the total number of yearly sales of Comic J, gives you the value of 61050. You then divide this by 12 (the total number of months), to receive an average.

Test 9:

The screenshot shows the sales values for April 2010. You can see from this data that the highest sales figure here is 19900.

Page 7: Testing Calculations

Connor Hartley P7 Unit 42

Page 7 of 17

Test 10:

The screenshot shows the sales values for March 2011. You can see from this data that the highest sales figure here is 20000.

Test 11:

The screenshot shows the sales values of comic A throughout the year. You can see from this data that 9400 is the highest sales value.

Test 12:

The screenshot show the sales values of comic J throughout the year. You can see from this data that 5350 is the highest sales value.

Test 13:

The screenshot shows the sales values for April 2010. You can see from this data that the lowest sales figure here is 4700.

Page 8: Testing Calculations

Connor Hartley P7 Unit 42

Page 8 of 17

Test 14:

The screenshot shows the sales values for March 2011. You can see from this data that the lowest sales figure here is 4800.

Test 15:

The screenshot shows the sales values of comic A throughout the year. You can see from this data that 8600 is the lowest sales value.

Test 16:

The screenshot shows the sales values of comic J throughout the year. You can see from this data that 4650 is the lowest sales value.

Test 17:

To find the Monthly Sales Target, you must first find the sum of all the total sales for each month (As seen above). This value is then divided by the total of months, 12.

Page 9: Testing Calculations

Connor Hartley P7 Unit 42

Page 9 of 17

Revenue Tests – Evidence

Test 18:

To find the new cover price for March 2011, I multiplied the original of £2.50 by 10% (or 1.1).

Test 19:

To find the revenue generated by Comic A in April 2010, I took the sales of Comic A in that month, 8700, and multiplied it by the magazine cover price, 2.50.

Test 20:

To find the revenue generated by Comic A in March 2011, I took the corresponding sales value of 9300 and multiplied it by the new cover price value of 2.75.

Page 10: Testing Calculations

Connor Hartley P7 Unit 42

Page 10 of 17

Test 21:

To find the total revenue of Comic A, I added up the values for the total revenue generated each month for that comic.

Test 22:

Test 23:

Here you can see from the revenue data above for Comic A, that £25575.00 is the maximum value generated.

Test 24:

Here you can see from the revenue data above for Comic A, that £21500.00 is the minimum value generated.

Page 11: Testing Calculations

Connor Hartley P7 Unit 42

Page 11 of 17

Test 25:

To find the total revenue generated by comic sales in April 2010, I added together the revenue for each comic in that month to receive a total value of 245,000.

Test 26:

To find the average revenue generated in April 2010, I found the sum of all the revenues in that month and divided by how many comic there was (10).

Test 27:

To find the maximum revenue generated in April 2010, you can clearly see in this data set that the highest value is: 49750.

Page 12: Testing Calculations

Connor Hartley P7 Unit 42

Page 12 of 17

Test 28:

To find the minimum revenue generated in April 2010, you can clearly see in this data set that the lowest value is: 11750.

Page 13: Testing Calculations

Connor Hartley P7 Unit 42

Page 13 of 17

Expenses Tests - Evidence

Test 29:

To find the total expense of Printer and Paper in April 2010, I took the total revenue generated for that month and calculated 15% of that value, by multiplying by 0.15

Test 30:

To find the total expense of Distribution in April 2010, I took the total revenue generated for that month and calculated 15% of that value, by multiplying by 0.15

Test 31:

To find the total expense of the Retailer in April 2010, I took the revenue generated for that month (245000) and calculated 30% of that value, by multiplying by 0.3

Page 14: Testing Calculations

Connor Hartley P7 Unit 42

Page 14 of 17

Test 32:

To find the total Expense of the Author in April 2010, I took the revenue generated for that month and calculated 5% of that value, by multiplying by 0.05.

Test 33:

To find the total Expense of Editing in April 2010, I took the revenue generated for that month and calculated 10% of that value, by multiplying by 0.1.

Test 34:

To find the total expense of Publishing in April 2010, I took the revenue generated for that month and calculated 25% of that value, by multiplying by 0.25.

Page 15: Testing Calculations

Connor Hartley P7 Unit 42

Page 15 of 17

Test 35:

To find the total Expense of the License Fee in April 2012, I took the cost of one comic’s total license fee of £10,000 and divided by the number of months, 12. This give me 833.33; I then multiplied this by the total number of comics (10), to get the answer.

Test 36:

To calculate the Total Yearly Expense of Printer and Paper, I added all the expense values for each month to find a total.

Test 37:

To calculate the Average Yearly Expense of Printer and Paper, I divided the total expense by the total number of months (12).

Page 16: Testing Calculations

Connor Hartley P7 Unit 42

Page 16 of 17

Test 38:

From the set of expenses values for printer and paper, you can see that the highest value is: 40,012.50

Test 39:

From the set of expenses values for printer and paper, you can see that the lowest value is: 36,157.50

Test 40:

To calculate the total monthly expense in April 2010, I added together the expenses for all the different services in that month.

Test 41:

To calculate the average monthly expense in April 2010, I took the total expenses for that month and divided it by the number of services(7)

Page 17: Testing Calculations

Connor Hartley P7 Unit 42

Page 17 of 17

Test 42:

From the set of expenses values for April 2010, you can see that the highest value is: 73500

Test 43:

From the set of expenses values for April 2010, you can see that the lowest value is: 8333.33