Hero image

GCSE Resources

I provide grade 8/9 model answers, case-studies and pieces of work from a student who achieved seven grade 9s in the 2018 GCSEs

I provide grade 8/9 model answers, case-studies and pieces of work from a student who achieved seven grade 9s in the 2018 GCSEs
GCSE Computer Science - example programming task documentation
GCSE-ResourcesGCSE-Resources

GCSE Computer Science - example programming task documentation

(0)
Overview Computer science coursework practice documentation, programmed in Visual Basic Student achieved grade 9 in GCSE computer science in 2018 Task Create a program which models a hare and tortoise race The race is 1000 metres by default; the user can input custom distances between 100 metres and 10 kilometres. It is divided into rounds; each round the tortoise moves 5-10 metres and the hare moves 8-15 metres (by default). The user can input customised ranges. There is a 25% chance that the hare will stop for a rest; each round the hare does not stop, this chance increases by 15%. When the hare does have a rest, this value will reset to 25%. Structure This document contains the following: A brief introduction to the task Planning for data structures and procedures A flowchart Pseudocode Testing tables Final code with comments Evaluation