Section C 2020

From TRCCompSci - AQA Computer Science
(Redirected from Section C 2019)
Jump to: navigation, search

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