Difference between revisions of "Section D 2018"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "=Provide a method for the player to swap their entire hand= =Provide a method for the player to swap 5 random tiles from their hand= =If a player presses enter without typing...")
 
Line 1: Line 1:
=Provide a method for the player to swap their entire hand=
+
=Introduction=
=Provide a method for the player to swap 5 random tiles from their hand=
+
You are advised to spend no more than 70 minutes on this section. Questions will use the Skeleton Program and the Preliminary Material.
=If a player presses enter without typing a word it is an invalid move=
+
 
=Create a method to list the words available within a given hand=
+
This page will identify some of the alterations / improvements that can be made to the skeleton program. It is important to explain what problem the alteration is tackling, and explain how to make the improvement itself.
 +
 
 +
=Improvements=
 +
#Provide a method for the player to swap their entire hand
 +
#Provide a method for the player to swap 5 random tiles from their hand
 +
#If a player presses enter without typing a word it is an invalid move
 +
#Create a method to list the words available within a given hand

Revision as of 09:14, 21 September 2017

Introduction

You are advised to spend no more than 70 minutes on this section. Questions will use the Skeleton Program and the Preliminary Material.

This page will identify some of the alterations / improvements that can be made to the skeleton program. It is important to explain what problem the alteration is tackling, and explain how to make the improvement itself.

Improvements

  1. Provide a method for the player to swap their entire hand
  2. Provide a method for the player to swap 5 random tiles from their hand
  3. If a player presses enter without typing a word it is an invalid move
  4. Create a method to list the words available within a given hand