0% found this document useful (0 votes)
13 views7 pages

Dice Roll Game Project Documentation

Computing coursework template

Uploaded by

fatimah.hey
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views7 pages

Dice Roll Game Project Documentation

Computing coursework template

Uploaded by

fatimah.hey
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Centre Name: Centre Number:

Task completed: Dice Roll Game


Date started Date completed

Analysis
Try and create 3 or more key success criteria for your program.

Success Criteria:

1.

2.

3.

Candidate Name:
Candidate Number:
Date:
Version 1 1© OCR 2018
Centre Name: Centre Number:

Design
✔ You may like to create a flow chart which will show broadly how your program will work. If so
include your flow chart in this section.

✔ You must create pseudocode for a part of your program (minimum of 15 lines)

Candidate Name:
Candidate Number:
Date:
Version 1 2© OCR 2018
Centre Name: Centre Number:

Test design [Please delete my test examples and write your own – Ms Hashmi]
✔ Think of tests that you can carry out to see if your system works

✔ Remember to try and use normal, boundary and erroneous tests.

✔ If you wish to, you may add more tests to the table.

My tests:

Test What am I testing? What data will I use? Normal/Boundary/Erroneous? Expected Result
1 Each player is able Test Data: Enter is Invalid Players roll the dice and obtain 2 random numbers
to roll the die per pressed between 1 and 6.
round
Test Data: ‘r’ A message prompt to remind the user to press ‘r’ to
Valid
roll the die

2 Login Registered user Valid Test If the user types in the correct username and
password of a registered user, they will be able to
mhashmi/Password
move on to the next screen/stage.
User not recognised, please register for new users or
‘hagdwaefj vegj’ Invalid: re-enter your credentials.
3
4
5

Candidate Name:
Candidate Number:
Date:
Version 1 3 © OCR 2018
Centre Name: Centre Number:

Development
✔ Copy and paste your code into this section

✔ Remember to try and add comments to your code to make it more readable!

My program code:

EXAMPLE (MS HASHMI) – YOU MUST DELETE THIS AFTER

Code: Outcome

I attempted to create a password generator so that the passwords for the end user are consistent.
Unfortunately, when creating this subroutine, I came across a syntax error and noticed that I did not import the
Random Module.

Code: Outcome:

I have now been able to generate a random pin for the end user, however I now need to store this password
and username for the end user in a text file.

Candidate Name:
Candidate Number:
Date:
Version 1 4© OCR 2018
Centre Name: Centre Number:

Candidate Name:
Candidate Number:
Date:
Version 1 5© OCR 2018
Centre Name: Centre Number:

Testing
✔ Show you have completed the tests you thought of

✔ Identify if you needed to make changes to your program

✔ Include the screenshots of the tests

My tests:

Do I need to change
Test What am I testing? Expected result Pass/Fail my program?
If so, how?
1
2
3
4
5

My test screenshots:

Candidate Name:
Candidate Number:
Date:
Version 1 6 © OCR 2018
Centre Name: Centre Number:
Evaluation
✔ Evaluate how successful your program was. You may find it useful to refer back to your tests

✔ You should reflect on any new skills you have developed

This section should be approximately 200-500 words.

How successful was my program?

What new skills have I developed?

Candidate Name:
Candidate Number:
Date:
Version 1 7© OCR 2018

You might also like