Wednesday, 25 June 2014

Things to include in your design section

Okay today is a pressure day - we are writing up our Reports for our A453 Controlled assessment.

A little formatting guidance - Please put in the page header your name,  center name, center number and candidate number.

Please also include the page number.

Things to include;

User requirements

These are an analysis of the task - what are you expected to produce in your development stage.  Don't try to get too clever here - read the task, and extract the things that you need to do.  Don't be afraid of using bulleted lists here.

Success Criteria

Your success criteria are questions that have True or False answers that you can test for.  Note that these should be done before you start the development section.  Again these could be in bulleted statements.  These could be in the form of test data and expected results.  ie squaring 3 should return 9.

Algorithm

Your design section should include an algorithm.  You could use pseudocode or, a flow chart, or both.

Example design section from last year, at C standard


Task Number 1:
For task 1 I have to design code and test a programme that will simulate a dice with the side numbers of 4, 6 and 12. The programme needs to output the dice outcome. There needs to be a loop to allow the user to roll the dice as many times as required. To attempt this question I will initially create a flowchart to represent the thought process behind the programme and how it will operate. To work alongside the flowchart I will also write some pseudo code. I will then research similar programmes used on scratch and represent what I’ve found in a table. After my research and my planning are completed I will start to write my code and test it.  
Success Criteria
To be successful the program should:
·      Show the dice being rolled
·      The six sided dice when being rolled 100 time should
o   Never roll a number higher than a 6
o   Never roll a 0 or below
o   Each number [1-6] should appear about the same number of times, the lowest frequency should not be less than half of the highest frequency number
o   No number should not be rolled in 100 rolls.
The same criteria apply to the other dice.

 

                          
Pseudo code:
SELECT DICE
IF DICE = 4SD
     OUTPUT “4 Sided Dice!!”outcome =”1-4 ROLL”
IF DICE = 6SD
     OUTPUT “6 Sided Dice!!”outcome =”1-6 ROLL”
IF DICE = 12SD

     OUTPUT “12 Sided Dice!!” outcome =”1-12 ROLL”

No comments:

Post a Comment