2017 Unit 1 Traditional Scenario
2017 Unit 1 Traditional Scenario
Surname
Other Names
Candidate Signature
A Population Model
This scenario is one of four available. Each of the four scenarios is available in a separate
Candidate Booklet. You must complete two of the four scenarios.
4512/CB4
2
Studying populations of animals and plants in the wild can take a very long time, so scientists use
computer models to help them in their studies.
You have been asked to create a simple population model to investigate how a greenfly population
changes. Greenflies are a common insect that are considered to be a pest by gardeners because they
damage roses and other garden plants.
© Thinkstock
The life cycle of greenfly is complex and the model you have been asked to create will model only some
aspects of the greenfly life cycle. In the summer, the population consists only of females and each
female gives birth only to females.
4512/CB4
3
2. At any one time there are three types of individual in the population:
3. The model lasts for a set number of new generations. At the end of each generation:
4. Each type of individual has a survival rate. The survival rate is used to calculate the number of
individuals that survive at the end of each generation. This number can be a value between 0 and 1.
• A survival rate of 0 means no individuals of that type survive at the end of the generation.
• A survival rate of 1 means all the individuals of that type survive at the end of the generation.
• A survival rate of 0.25 means that a quarter of the individuals of that type survive to the next
generation.
The number of individuals surviving to the next generation is calculated using the formula:
5. Adult greenfly have a birth rate. The birth rate is used to calculate the number of juveniles that adults
produce each generation. This number can be a fraction, so a birth rate of 1.5 means that, on
average, each adult produces 1.5 juveniles each generation.
The number of juveniles born each generation is calculated using the formula:
Turn over ►
4512/CB4
4
Example data
Table 1 shows the data that are used by the model to generate the results in Figure 1.
Table 1
Initial population
Type of greenfly Survival rate
(1000s)
Juvenile 10 1
Adult 10 1
Senile 10 0
Figure 1 shows the way the model works for five new generations.
Figure 1
(population numbers are in thousands)
10
0 10 10 30
x2
1 20 10 10 40
2 20 20 10 50
3 40 20 20 80
4 40 40 20 100
5 80 40 40 160
4512/CB4
5
Tasks
1. Develop a main menu for the program. The options on the main menu should be:
2. Develop the part of the program that allows the user to set the Generation 0 values for the:
3. Develop the part of the program that will display the Generation 0 values for juveniles, adults and
seniles, the birth rate and the survival rates. The program should then return to the menu.
4. Develop the part of the program that runs the model, displaying the number of juveniles, adults
and seniles and the total population size for each generation from 0 to the number of new
generations entered. The program should then return to the menu.
5. The model needs an export feature to save the data so that it can be used in another
application (such as a spreadsheet package).
Develop your program so that when the user chooses to export the data:
After this option has been completed, the program should return to the menu.
Turn over ►
4512/CB4
6
6. In a real population, if the total population becomes too high, the survival rates will decrease
because of disease.
When the total population size reaches a disease trigger point, disease will take effect.
When the total population size falls below this trigger point, disease will have no effect.
The effect of disease is unpredictable. To simulate this effect a disease factor is applied to the
survival rates of juveniles and seniles.
• The disease factor is represented by a random percentage between 20% and 50%.
• To calculate the new number of juveniles and seniles in the next generation, the following
formula is used:
New number of individuals = Current number of individuals * survival rate * disease factor
Extend your menu from Task 1 to include an option to enter the total population disease trigger
point.
Extend your program to allow for the effect of disease in calculating the population sizes. Disease
will reduce the survival rates of juveniles and seniles only.
4512/CB4
7
In addition
1. Your Portfolio
You are free to use whatever programming tools and techniques are available to you.
What your teacher will be looking for and how to provide that evidence for your Portfolio
In preparing you for this unit of work, your teacher will have provided you with more information
about the section headings below.
Turn over ►
4512/CB4
8
Your Portfolio is where you keep the evidence that you have produced.
You should imagine that the Portfolio is to be used by another person who is interested in how you
produced your solution. It is to help them to do something similar. It is important that you organise
work for the Portfolio as shown below.
• You must keep all the work you produce in hard copy in a Portfolio (or save your work
electronically which you will later copy onto a CD or DVD). Your teacher will have instructed
you on what to do.
• If you are putting hard copy printouts in your Portfolio, make sure that you number each page
and fasten them all together. Take your work out of any plastic sleeves before you hand it in to
your teacher for marking.
• Each page should have your name, centre number and candidate number clearly shown on it.
• Your work must comprise (in the order shown):
It is vital for assessment and moderation purposes that the sections are the same as those
shown above and in the same order.
When you have completed this scenario, assemble the work into a single document.
4512/CB4