Section C AS 2017

From TRCCompSci - AQA Computer Science
Revision as of 14:14, 2 March 2017 by Admin (talk | contribs) (Improvements)
Jump to: navigation, search

Introduction

Questions will use the Skeleton Program and the Preliminary Material, and you will be expected to carry out tasks on the skeleton program in your examination.

This page will identify some of the alterations / improvements that can be made to the skeleton program. It is important to explain what problem the alteration is tackling, and explain how to make the improvement itself.

Improvements

The number of years should be between 0 and 5 but no validation takes place

In InitialiseField the question to load an existing file only accepts Y and not y

Change ReadFile so it asks to re-enter the filename if it was incorrect

You can read a file but can't write a file to save it

Add code to have Severe Snow in SimulateWinter

Add code to have Severe Flood in SimulateAutumn