Difference between revisions of "Section C 2020"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Game Commands)
 
(13 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.
  
==Game Commands==
+
=Classes=
*[[2019_get_command |Get]]
+
The skeleton program has the following classes:
*[[2019_use_command |Use]]
+
 
*[[2019_go_command |Go]]
+
[[2020 - Household]]
*[[2019_read_command |Read]]
+
 
*Examine
+
[[2020 - Settlement]]
*Open
+
 
*Close
+
[[2020 - LargeSettlement]]
*Move
+
 
*Say
+
[[2020 - Outlet]]
*Playdice
+
 
*Quit
+
[[2020 - Company]]
  
==Classes==
+
[[2020 - Simulation]]
*Place
 
*Character
 
*Item
 
  
==Methods==
+
=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

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