Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Task 1 Investigation in to two
types of programs
By Connor Stevenson
Final Version
21/05/2015 Connor Stevenson
Type of programs
• The programs I am going to be analysing are
both event driven programs, this is a program
that’s outcome can change depending on
what the user inputs. There will be many
examples of this shown by the errors that can
occur in these programs and what values you
are able to enter.
21/05/2015 Connor Stevenson
Program 1
• Program one is a printing program, this
program is very basic. It asks you to input your
name and a number, after completing these
steps it will tell you that you are ready to
print. Clicking print will bring up a preview,
here you will notice that the number you
entered has been entered into a multiplication
table and will show you the values of the
number you entered multiplied by 1 to 20.
21/05/2015 Connor Stevenson
Purpose
• The purpose of this first program is to show
the user multiplication tables. This could be a
useful program for children of a young age for
educational purposes.
21/05/2015 Connor Stevenson
Advantages
• This program could be put to good use if the
user is in a rush or of a young age.
• Another advantage of this program is that it
displays a print preview rather than just going
ahead and printing the multiplication table.
• This program is also presented very well and is
easy to use. I could highly recommend this
program to somebody of a young age.
21/05/2015 Connor Stevenson
Disadvantages
• This program is very limited and you can only
enter a number between 1 and 20.
• Also when closing this program it does not
have an X in the top right corner. You just have
to manually close it.
• This program can not be minimised either,
which if you could it would instantly make the
program seem a lot more complex.
21/05/2015 Connor Stevenson
Constructs and Techniques
• This program mostly just consists of basic
strings and notes, this is because the program
is not very complex and is just intended for
basic quick use. This could be seen as a
problem because it is limited, but it does the
job that it is made for.
21/05/2015 Connor Stevenson
Code for program 1
• All the different types of code in this program mean a different thing.
• Blue- Visual Studio
• Black- Code you choose
• Green- Comments
• Aqua- Major Asset
21/05/2015 Connor Stevenson
Here is an example of an
event, this tells you that
you must enter a number
between 1 and 20, if you
don’t it will show you an
error message.
Flowchart
21/05/2015 Connor Stevenson
Error message
• This is the error message that is displayed on program 1 if you do not enter a number between 1 and 20. If I was to enter a letter or a number over 20 or below 1 then the program would not run and would display this error message.
21/05/2015 Connor Stevenson
How to improve.
• This program could be improved by making it
more complex and increasing the value that
you are able to enter because at the moment
it is very limited. Also the font on the print
preview could be a lot clearer as at the
moment it is very small and hard to read.
21/05/2015 Connor Stevenson
Review
• After using this program I was left fairly
satisfied because it did what it was supposed
to do. But I thought it was a bit lack-lustre due
to it being so basic, it left me wanting more.
But it performed very well with no faults.
21/05/2015 Connor Stevenson
Program 2
• Program 2 is an invoicing program. This program allows you to enter a date for when a customers debt is paid. It also shows you if they are entitled to a discount, if the customer is entitled to a discount it shows you the percentage discount followed by the amount owed followed by the amount after the discount is taken away.
21/05/2015 Connor Stevenson
Purpose
• The purpose of this program is to create
invoices for discounts that can be acquired
when paying for products from “Jane’s
Sawmill” early. If you pay early you are
entitled to a discount.
21/05/2015 Connor Stevenson
Splash Screen
• This program has a Splash Screen, this
automatically shows that the program is quite
complex upon first glance. Compared to
Program 1, Program 2 is a huge leap in a
forward direction and shows a lot of
complexity. The Splash Screen is used to
display a picture and a program model
number. This makes the program seem
interesting and very legitimate.
21/05/2015 Connor Stevenson
Help function
• This program has a help function which the first program did not. This makes it a lot easier for first time users because they don’t then have to trial and error they can read the help and it will give them instructions on how to use the program.
21/05/2015 Connor Stevenson
Advantages
• An advantage of using this program is the
discount option. This is very good to have as it
shows you that if the customers pays their
debt in a day or two, then they are entitled to
a discount.
• Another advantage is that even though the
program is quite complex it is also easy to use
and is very well presented.
21/05/2015 Connor Stevenson
Disadvantages
• I could not really find any disadvantages other
than the loading time. Even though the
program loads quite fast it could load a lot
faster due to it only being a small program.]
• Also the program can not be minimised or X’d
off which is a slight annoyance.
21/05/2015 Connor Stevenson
Constructs and Techniques
• This program consists of a lot of strings of
codes and notes, for somebody to write this
code they would have to have a quite a good
knowledge of coding. This would them help
them to understand the complex calculations
that are going to be used.
21/05/2015 Connor Stevenson
Code for program 2• This is the code
that makes program 2 “Jane’s sawmill” run.
• Blue- Visual Studio
• Black- Code you choose
• Green-Comments
• Aqua- Major Asset
21/05/2015 Connor Stevenson
Here is an example of an event, it
tells you to pick a date for when
invoice is due. This is done by using a
little drop down calendar then
picking what date the invoice is due.
Error message.
• This is the error message that is displayed for program 2. It tells us that you cannot enter a value below £1 or above £10,000. If we was to try and enter a number above or below the values shown then the program would not run and would display this error message.
21/05/2015 Connor Stevenson
How to improve.
• This program could be improved by making
certain values like the value after deductions
clearer because it is very important and needs
to be seen by the admin that would be using
this program. The font need to be clearer or in
a brighter colour because if you can not see
the deductions then you may over charge a
customer. This could lead to a drop in
business.
21/05/2015 Connor Stevenson
Review
• I think this program is very good as it suits a
purpose that is often needed in day to day
working life. It is also a very good program
because it has a help page which is good for
first time users and stops errors. All round I
think this is a very good well made program
and can be used in common scenarios.
21/05/2015 Connor Stevenson