Difference between revisions of "Section D 2020"
(→Simple Improvements) |
|||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Click here for [[Section D 2021]] | ||
+ | |||
=Section D 2020= | =Section D 2020= | ||
Line 7: | Line 9: | ||
One of the things to notice is that the option menu misses out number 5. So this will be something to add to the skeleton program. This could be to: | One of the things to notice is that the option menu misses out number 5. So this will be something to add to the skeleton program. This could be to: | ||
− | [[2020 - | + | [[2020 - Save a running simulation]] |
− | [[2020 - | + | [[2020 - Process multiple days in one go, ie process a week]] |
− | [[2020 - | + | [[2020 - Create a subclass for SmallSettlement]] |
==Simple Improvements== | ==Simple Improvements== | ||
− | You | + | You may get some simple questions which are often adding validation of some kind: |
[[2020 - Validation on entering text instead of numerical values]] | [[2020 - Validation on entering text instead of numerical values]] | ||
Line 20: | Line 22: | ||
[[2020 - Validation for entering a numerical value in a range]] | [[2020 - Validation for entering a numerical value in a range]] | ||
− | You may also get questions which might involve extending a current feature: | + | [[2020 - Validation for ensuring values can't be negative (eg fuel cost)]] |
+ | |||
+ | You may get some questions to add extra outputs to the user: | ||
+ | |||
+ | [[2020 - Ensure costs are displayed in the format £X.XX]] | ||
+ | |||
+ | [[2020 - Display how many days have passed]] | ||
+ | |||
+ | [[2020 - Display net gain/loss for the companies]] | ||
+ | |||
+ | [[2020 - Display net and average weekly gains/losses for individual outlets]] | ||
+ | |||
+ | ==Standard Improvements== | ||
+ | You may also get questions which might involve extending a current feature such as events: | ||
[[2020 - Add a new event called food scandal, this causes the reputation to fall 20 points]] | [[2020 - Add a new event called food scandal, this causes the reputation to fall 20 points]] | ||
− | [[2020 - Add a new event called | + | [[2020 - Add a new event called weather disaster, this will cause the cost to rise by 20 percent for all companies]] |
+ | |||
+ | [[2020 - Brexit will increase fuel costs by 30% and other costs by 25%]] | ||
+ | |||
+ | [[2020 - Brexit will half the probabilities of households eating out]] | ||
+ | |||
+ | Other extended features could be: | ||
+ | |||
+ | [[2020 - Households essentially use the closest outlet, make it so the outlet must be within a distance of 20]] | ||
+ | |||
+ | [[2020 - Currently no use is made of GetCapacity, make it so an outlet can only have this number of visitor in day]] | ||
+ | |||
+ | [[2020 - The probability of eating out is lower on a monday, and high on a friday, saturday & sunday (eg days MOD 7)]] | ||
+ | |||
+ | [[2020 - Allow outlets to expand by increasing the max capacity]] | ||
+ | |||
+ | [[2020 - Option 5 is missing, it could be to remove a company]] | ||
+ | |||
+ | [[2020 - Option 5 is missing, it could be to merge 2 companies]] | ||
+ | |||
+ | [[2020 - Companies can keep running even though they have a large negative balance, allow companies to go bankrupt and stop trading]] | ||
+ | |||
+ | [[2020 - Allow a company to relocate an outlet for a cost]] | ||
− | [[2020 - Add | + | [[2020 - Add extra categories for example 'Gastro Pub' and 'Fine Dining']] |
Latest revision as of 09:10, 3 September 2020
Click here for Section D 2021
Contents
Section D 2020
Section D of your Unit 1 exam will focus on the skeleton program and improvements to it. The question will specify which part of the program is to be used, and what you need to change. I will create a list of potential improvements, and over time we code each one and document it.
Improvements
Adding Functionality
One of the things to notice is that the option menu misses out number 5. So this will be something to add to the skeleton program. This could be to:
2020 - Save a running simulation
2020 - Process multiple days in one go, ie process a week
2020 - Create a subclass for SmallSettlement
Simple Improvements
You may get some simple questions which are often adding validation of some kind:
2020 - Validation on entering text instead of numerical values
2020 - Validation for entering a numerical value in a range
2020 - Validation for ensuring values can't be negative (eg fuel cost)
You may get some questions to add extra outputs to the user:
2020 - Ensure costs are displayed in the format £X.XX
2020 - Display how many days have passed
2020 - Display net gain/loss for the companies
2020 - Display net and average weekly gains/losses for individual outlets
Standard Improvements
You may also get questions which might involve extending a current feature such as events:
2020 - Add a new event called food scandal, this causes the reputation to fall 20 points
2020 - Brexit will increase fuel costs by 30% and other costs by 25%
2020 - Brexit will half the probabilities of households eating out
Other extended features could be:
2020 - Allow outlets to expand by increasing the max capacity
2020 - Option 5 is missing, it could be to remove a company
2020 - Option 5 is missing, it could be to merge 2 companies
2020 - Allow a company to relocate an outlet for a cost
2020 - Add extra categories for example 'Gastro Pub' and 'Fine Dining'