A453 - Controlled Assessment Preparation
A453 - Controlled Assessment Preparation
Presentation.................................................................................................... 2
1.1.
Cover page................................................................................................ 2
1.2.
Table of contents....................................................................................... 2
1.3.
1.4.
Styles........................................................................................................ 2
The Project...................................................................................................... 3
2.1.
Design (9 marks)....................................................................................... 3
2.1.1.
Problem definition............................................................................... 3
2.1.2.
Proposed solution................................................................................3
2.1.3.
Program design................................................................................... 3
2.1.4
2.1.5
Programming Techniques................................................................................ 4
Development................................................................................................... 5
Testing............................................................................................................. 6
Page 1 of 8
1. Presentation
1.1. Cover page
You will need a cover page for each task. Each cover page must have the
following:
Centre Number
Centre Name
Candidate Number
Candidate Name
Unit Code And Title
Assignment Title
Candidate Name
Page Number
1.4. Styles
Use Heading styles (Heading 1, Heading 2, ) so that you can have them appear
correctly in your table of contents. Its quite effective to start each main section
on a new page. It helps mark to out the flow in the readers mind.
Use a special style for your code. It will make it stand out. Courier 10 is good.
Like this:
while guess != randomNo:
if guess <0 or guess>100:
guess = int(input("Invalid number. Please enter a number between 1-100: "))
else:
if guess > randomNo:
print(guess, " is too high")
else:
print(guess, " is too low")
Page 2 of 8
2 The Project
2.1. Design (9 marks)
2.1.1.
Problem definition
Present the problem for each task:
2.1.2.
Proposed solution
List the programming languages/tools/environments you are going to use
State why you have chosen to use the above
Will you need to research or learn anything in order to undertake the task?
2.1.3.
Program design
You will need to produce algorithms and/or flowcharts for each of your proposed
solutions. You will need to use the standard flowchart symbols. These will need to
be detailed for the higher mark bands. You will need to provide evidence of how
you have tested your algorithm. For the highest mark band there will need to be
some evidence of validation in your algorithms and flowcharts. Subroutines for
flowcharts should be included on a separate page.
You may also wish to state any navigation methods, such as menus, and how
your program will look (give examples of the menu structure).
2.1.4 Data structures, variables and validation
State the variables (including name and data types) you will need in your
solution
Describe how any data structures (such as CSV files) will be used in your
solution
Page 3 of 8
Explain any validation that will be put in place (telephone numbers must
not exceed 11 characters; gender may only be M or F)
Page 4 of 8
Type
String
Validation
Must only contain
characters a-z/A-Z.
Description
Will be used to
store the users
name.
It is good practice to use a test plan like the one below. Tests outlined in this
table will be undertaken later in the testing section.
Test
Check
range of
users
guess.
Reason
Ensure that the
user can only
enter numbers
between 1-100
in guess the
number.
Test data
101
Expected Outcome
Program to output Invalid
number. Please enter a
number between 1-100.
3 Programming Techniques
Page 5 of 8
Again, this section will be assessed through your coded solution. Things to
consider for this section: if searching a file will the search stop if the file is found,
or will it continue to search until EOF? Would an IF-ELSEIF statement be better
than multiple IFs?
5 Development
Page 6 of 8
As well as documenting each stage you will need to comment your code,
explaining the purpose of each section/subroutine.
Your code wont work first time. Do be sure to details problems you encountered
in your development section and how you overcame them.
6 Testing
In this part of your documentation you will need to complete your test plan from
your Design section. For example:
Test
Reason
Test data
Check
Ensure that
101
Expected
Outcome
Program to
Actual
Outcome
Program
Comments
No action
Page 7 of 8
the user
can only
enter
numbers
between 1100 for
their guess.
output
Invalid
number.
Please
enter a
number
between 1100.
output
invalid
number.
necessary.
If a test fails you will need to explain what action you took as a result and then
re-test you program to ensure the amendment worked. Sometimes it will not be
possible to fix the problem in the time scale, so detail how it could be fixed.
In addition to the test plan you should include the following:
Page 8 of 8