Difference between revisions of "Section C 2018"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "__NOTOC__ =Introduction= '''THIS SECTION SHOULD RELATE ONLY TO THE SKELETON PROGRAM FOR SUMMER 2017''' You are advised to spend no more than 15 minutes on this section. Quest...")
 
(Skeleton Program)
Line 8: Line 8:
  
 
=Skeleton Program=
 
=Skeleton Program=
 +
==QueueOfTiles==
 +
This section is to explain what this class does, its methods and data values:
 +
 +
[[QueueOfTiles Purpose]]
 +
 +
[[QueueOfTiles Variables]]
 +
 +
[[QueueOfTiles Constructor]]
 +
 +
[[IsEmpty]]
 +
 +
[[Remove]]
 +
 +
[[Add]]
 +
 +
[[Show]]
 +
 
==Procedures & Functions==
 
==Procedures & Functions==
This section is to explain the subroutines within the skeleton program, use the pages below to explain each class:
+
This section is to explain the subroutines within the skeleton program, use the pages below to explain each routine:
 +
 
 +
[[CreateTileDirectory]]
 +
 
 +
[[DisplayTileValues]]
 +
 
 +
[[LoadAllowedWords]]
 +
 
 +
[[CheckWordIsInTiles]]
 +
 
 +
[[CheckWordIsValid]]
 +
 
 +
[[AddEndOfTurnTiles]]
 +
 
 +
[[FillHandWithTiles]]
 +
 
 +
[[GetScoreForWord]]
 +
 
 +
[[UpdateAfterAllowedWord]]
 +
 
 +
[[UpdateScoreWithPenalty]]
 +
 
 +
[[GetChoice]]
 +
 
 +
[[GetNewTileChoice]]
 +
 
 +
[[DisplayTilesInHand]]
 +
 
 +
[[HaveTurn]]
 +
 
 +
[[DisplayWinner]]
 +
 
 +
[[PlayGame]]
  
 +
[[DisplayMenu]]
  
 
==Main Program==
 
==Main Program==

Revision as of 13:27, 18 September 2017

Introduction

THIS SECTION SHOULD RELATE ONLY TO THE SKELETON PROGRAM FOR SUMMER 2017

You are advised to spend no more than 15 minutes on this section. Questions will refer to the Preliminary Material and the Skeleton Program, but will not require programming.

This section will ask you questions about the code itself and will test your knowledge of the section A theory topics used within the skeleton program.

Skeleton Program

QueueOfTiles

This section is to explain what this class does, its methods and data values:

QueueOfTiles Purpose

QueueOfTiles Variables

QueueOfTiles Constructor

IsEmpty

Remove

Add

Show

Procedures & Functions

This section is to explain the subroutines within the skeleton program, use the pages below to explain each routine:

CreateTileDirectory

DisplayTileValues

LoadAllowedWords

CheckWordIsInTiles

CheckWordIsValid

AddEndOfTurnTiles

FillHandWithTiles

GetScoreForWord

UpdateAfterAllowedWord

UpdateScoreWithPenalty

GetChoice

GetNewTileChoice

DisplayTilesInHand

HaveTurn

DisplayWinner

PlayGame

DisplayMenu

Main Program

Click here for an explanation of the Main section:

Main Section 2018

Theory Related Terms

You may be asked to explain the following terms and identify where they are used in the skeleton program. Use the pages below to document examples within the skeleton program:


Programming Structures / Theory

You may be asked about the following programming techniques and asked to identify them in the skeleton program. Use the pages below to document examples within the skeleton program:

Constants - 2018

Selection - 2018

Repetition - 2018

Arrays - 2018

Functions - 2018

Subroutines - Methods - 2018

Parameter Passing - 2018