Section C 2020

From TRCCompSci - AQA Computer Science
Jump to: navigation, search

Click here for Section C 2021

This section is to document the skeleton program. Section C will be questions relating to the actual code within the program and could relate to specific methods, variables, programming skills, or theory topics.

Classes

The skeleton program has the following classes:

2020 - Household

2020 - Settlement

2020 - LargeSettlement

2020 - Outlet

2020 - Company

2020 - Simulation

Questions

  • About 'private', 'protected' variables
  • About the use of 'this'
  • About constructors
  • About the use of 'static'
  • About LargeSettlement overriding the constructor of Settlement
  • About the use of 'ref' for reference parameters