Professional Documents
Culture Documents
Computing
Miss Afzal
Greener and cleaner is hoping that people will realise that how
much their own carbon foot prints contribute to climate change, it is
complicated to calculate ones carbon footprint on a person account.
Greener and cleaner has produced leaflet which has been given out
to the public which helps people calculate the amount CO2 is
produced on a daily basis however from the feedback the received
the people have found that the calculations were to long and
tiresome and also too complicated to calculate their carbon foot
print.
ANALYSIS AND
DESIGN
PROBLEM DEFINITION
Adnan Hussain
Computing
Miss Afzal
OBJECTIVES
- Finished calculator will need to be completed on time before
the deadline and is fully functioning allowing the user to calculate
the current carbon footprint.
- I will need to make sure that the finished calculator is simple
to use and that the interface is suitable for its target audience.
- The finished calculator will be able to store data of the users
CO2 score and are able to load the data.
- Allow the user save and recall data.
PROGRAM JUSTIFICATION
I will be creating the calculator on Microsoft Visual Basic, I have
deciding on using Visual Basic as it will be giving me the tools
needed to create an accessible graphical user interface and also the
program gives me the freedom of making the program function the
way I have envisioned it to be. Using visual basic itself will be useful
for the client himself as they will be able to make updates and
changes to the program.
LIMITATIONS
There are drawbacks of using Microsoft visual basic because it is a
totally new programme to me so any errors that occur I have no
knowledge of how to overcome them which can be problem as it can
be time consuming finding solution of an error which can be time
used on developing the calculator.
Programs Used:
Adnan Hussain
Computing
Miss Afzal
Visual Basic:
System Requirements
Windows XP
System Requirements
Windows Vista
System Requirements:
Microsoft Office:
System Requirements
I have searched on the internet to find a laptop which you can see is
the cheapest I could I find which has the required specs to run visual
basic.
USER INTERFACE
First I had planned on paper on how the program would be use and
how it can be accessed; I thought it could be a downloadable
application, but I will need the program to be very small as I don’t
want people to wait long to download the application, I also would
want the actual program to be able to accessed over the internet as
most of the population in the UK have access to the internet and
there are a lot of devices which now can be access the internet such
as mobiles, pda, and now games consoles, I want to design the
program to work only computers that have the latest processor
instead I want this program to try to get the program to be
compatible with many devices regardless of the specs of a
computer. Before I finish the final build I will carry out beta testing
where I can receive feedback and to find out if there are anymore
bugs in the programming.
The finished design may not look like this because I may have new
ideas on to improve the initial design to make the calculator more
users friendly.
Adnan Hussain
Computing
Miss Afzal
KEY
BLUE AREAS: DATA TYPES USED FOR USER TO INTERACT WITH
GREEN AREAS: QUESTIONS
STEP 1
4 OPTIONS HERE
[] CHOICE 1 [] CHOICE 2
[] CHOICE 3 [] CHOICE 4
STEP 2
STEP 2
I have created a mind map which you can view by click on the
following
Look at existing
co2 calculators
Save Button to online
recall data
This mind map I used a plan on creating the calculator as you can
see I have included the type of tools needed for the calculator to
work as I want it to, this mind map helps me break the tasks into
smaller chunks making it easier for me to complete tasks with ease
and for it to become less complicated.
The first build of the calculators interface has just simple splash of
green background which will be redone as I have finished work on
the calculator. I have used a “survey styled” interface where the
user is given questions required for the calculator to calculate the
user’s co2 score, I made the calculator point and click style as I felt
it would be tedious for the user to input data themselves. As you
can see below I have left out all the personal information as they
wouldn’t be needed and I also felt that the user wouldn’t want their
co2 to be seen by others, I also have added a save button which
wasn’t included in the initial plan of the calculator so that users are
able to compare their previous co2 score to see whether they are
improving or not.
I want the interface to look attractive so that the users will use the
programme I don’t think the users will want to
Adnan Hussain
Computing
Miss Afzal
hours spent
Flying
Select The user Button N/A The user
calculate will click simply clicks
and it will the subtotal the subtotal
add the button to button to
amount of calculate calculate.
co2 step 3
produced
for each
question
together.
PROCESSING STAGES
Calculate the number of miles based on the type of car and
journey length.
Step 1
Add to the calculation the journey of miles and the type of car.
If the user selects Yes for Journeys travelled add 25% to the total
co2 score.
If the selects small car decrease the total co2 score by a 1/3
If user selects large car add 50% to the total co2 score.
Calculate the total co2 score depending on what the user enters in
step 1.
Step 2
Calculate the total co2 score of miles on what user types in and add
750kg to every 150 miles
Step 3
Depending on the amount of hours typed by the user, for each hour
typed by the user will add 250kg to the calculation.
Display total co2 score if the user has entered all the required fields.
Errors
Throughout the project I have come across some errors, below is a
log of the errors that occurred and mistakes and the solution I used
to fix a certain error in the calculator, if I am unable to find a
solution of a problem I may have to use different code and buttons
which will make the calculator look slightly different to my original
design.
Added Feature
On the finished product I will add a message box which will display 3
different messages depending on the co2 score for example if the
user has bad co2 score a message box will appear telling them they
have to improve their co2 score and linking to the official carbon
Adnan Hussain
Computing
Miss Afzal
EVALUATION CRITERIA
Throughout the project I have come across problems where I have
been unable to get the coding to work how I would want to so I had
to change certain parts of the calculator because of this, these
problems may have occurred because I have had zero experience
on visual basic before hand so I had to rely on what I learnt from the
tutorials I used. Because of my small experience with visual basic I
think I need more time on the project because of this I think I need
more time to work on this project to fix the problems I have found, I
used the internet as a source to fix problems with my coding to see
if anyone on the internet is having the same problems as I have.
The finished product was not how I was envisioned it would be,
because I had to change certain data types such as combo boxes to
list boxes because I was unable to get the combo boxes to function
properly, if I had more time I think I could have created more better
and easier to use calculate originally I wanted it to be a point and
click style I did not want the user to type data for themselves I felt It
would put off the user how because of my lack of knowledge I was
unable to do so.