docx, 1.45 MB
docx, 1.45 MB

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

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have purchased this resource can review it

Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.