100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Unit 4 Programming Assignment 2 Design Documentation £8.49   Add to cart

Essay

Unit 4 Programming Assignment 2 Design Documentation

 483 views  1 purchase

This is Assignment 2 for Unit 4 Programming. IT meets all the distinction Criteria allowing for an overall Distinction Grade. This is only the design documentation and will not include the program that will be necessary to pass the unit. The code will be sold separately. Use the layout of the desig...

[Show more]

Preview 2 out of 9  pages

  • October 2, 2022
  • 9
  • 2021/2022
  • Essay
  • Unknown
  • A+
All documents for this subject (91)
avatar-seller
adilhass
Assignment 2

In this assignment we were told to create a program that will be able to calculate an employee’s
commission through them inputting the number of properties they have sold for that week. Before
the employees enter their number of properties sold however, they are told to login into the
program by entering their name as well as their 4-digit unique ID. If anything over or under 4-digits
entered, then they would be denied access to the program. After the employees have entered their
information the program would order them from highest to lowest and give the employee with the
most properties sold a 15% bonus at the end. The teacher who assigned this assignment to us is Ian
Garraway.



Design documentation

Scope

This program is a sales commission system application, and it will be used to calculate the
employee's commission by multiplying the number of properties that employee has sold by £500
which is the commission for selling a single property. The employees should be able to input their
names as well as ID to access the application. After the input of properties sold, they will be given
their commission for that week. After all employees have entered their number of properties sold
for that week, they will be ranked from most properties sold to least. As well the employee with the
most properties sold will get a 15% bonus on top of their commission. At the end of this all-
employee commission should be added together to show the total sales commission for that week.
As well as displaying the total number of properties sold that week as well. The commissions should
be displayed as currency to 2 decimal places.

User interface

The user interface for this project should be easy to use as well as clear. A good user interface should
be simple and effective. All buttons should be clear and organised as well as this the user interface
should use appropriate colours and have a simple and organised way to make it efficient and easy to
use by anyone.

, Input/output

The inputs in this program will be user information as in name ID and number of properties sold. The
outputs will be the user commission and the order of employees in terms of most properties sold to
least for that week.

Algorithms

Algorithms will be designed to help produce this program. Flowcharts as well as pseudocode will be
produced to give a clear visual of what the program will do. By doing this we can see what will work
well and what won’t this makes it easier as if we did the code from the get-go and we found
something we didn’t want we would have to change the majority of code and if the program is huge
then we’ve just wasted all that time programming but by producing flowchart and pseudocode we
can do that before any code is developed and when we do start the code we know what we're going
to do. For this assignment we were asked to create both a flowchart and pseudocode and I have
created both of them. They will be uploaded as separate documents as adding screenshots of them
in this document would make this document too long. The flowchart I have created for this
assignment is simple and shows a step by step process of how things should go when running the
program from entering the name to a rough idea of where the loops may be in the code. As well as
this my pseudocode is just a plain language description of the steps in my code. It will be written in
mostly plain english but in code layout. It will be a more detailed version of my flowchart having
more description and lines but serving the same purpose as my flowchart by showing the steps
involved in my program.

Timescale

For this project we were given just over 4 weeks so for this project I intend to do all the pre-code
work before the second week starts so I have plenty of time to work on the code. This allows me to
have plenty of time to debug my code as I know it is not going to be perfect the first time so I can
improve it as I go on.


Review of design

The design created by asad looks simple and easily understandable. The requirements say that the
user needs to input their name, ID and properties sold and asad has created a box for those three
things and then has added a submission box/button so when it is clicked the program will take in the
data in the boxes above and calculate the commission and will order the employees from most
properties sold to least. On the right hand side of the design asad has put the boxes which will
display the results of the calculations and he has clearly labelled where what will be displayed in
each box. If I had a complaint about this design I would say it looks too compact as everything is kind
of squished together. I understand this was just a simple draft of what the design may have looked
like. As well as this the flowchart produced was also easy to follow and gave a clear sense of
direction and information of what the program would be about. The flowchart was easy to follow
and showed what would happen in the program in an easy step by step format. The pseudocode
produced was a good way to see what the code would be structured like and was also easy to follow.
- Reviewed by Abdullah Asim

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller adilhass. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £8.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67163 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£8.49  1x  sold
  • (0)
  Add to cart