Difference between revisions of "Section C 2020"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
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.
 
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.
  
Line 16: Line 18:
 
[[2020 - Simulation]]
 
[[2020 - Simulation]]
  
=Events=
+
=Questions=
The skeleton program should be able to create the following events:
+
* About 'private', 'protected' variables
==Add Household Event==
+
* About the use of 'this'
==Cost of Fuel Change Event==
+
* About constructors
==Reputation Change Event==
+
* About the use of 'static'
==Cost Change Event==
+
* About LargeSettlement overriding the constructor of Settlement
 +
* About the use of 'ref' for reference parameters

Latest revision as of 10:13, 3 September 2020

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