2. C++ Classes Encapsulation
Encapsulation Allows
• Classes Encapsulate (i.e. wrap) attributes and member functions into objects.
• Objects attributes and members functions are intimately related.
• Objects can communicate with each other, but normally they are not allowed cause
objects
• implementation details are hidden within the objects themselves.
Reference C++ How to program eighth edition by Paul Deitel and Harvey Deitel page 13
3. Inheritance
Inheritance
Inheritance – taking 100% of the attributes from other functions, making it the same as the superclass.
You get all the function and the variable from the super class
Super class(parent class) is called based class
Sub class(child class) - derived class
Inheritance a form of software reuses which you create a class that takes existing class capabilities,
allowing you to customise or enhance them.
Saves time and produces higher quality of software.
Reference C++ How to program eighth edition by Paul Deitel and Harvey Deitel page 13
4. Polymorphism
Brief explanation
Polymorphism- allows you to call same function on different objects.
Uses same function but they have many different outcomes
Polymorphism allows you to program in general, rather than specific, allowing you to
process objects of classes that are part of the same class hierarchy.
Reference from C++ How to program eighth edition by Paul Deitel and Harvey Deitel
Page 535
5. Feedback on the system
design
Positive
Feedback
Negative
Feedback
Simple and
straight
forward
design
Most of the
requirements
have been
meet
Like how each
stage how
message
confirming the
users progress
Needs to
have option
on the menu
The system
design looks
dull and
boring
The system
design looks
dull and
boring
Should add a
welcome
page at the
start
6. Now we are going to give you a
demonstration of our program in
action
7. Usability results
Many complained and though that the menu should have been at the top of the screen
rather than been at the very bottom of the screen and many found the empty space to be of
putting.
On average each of the five users took about 5 seconds to adjust to the new screen
position, from what I could see, the movement of the text was cause a lot of confusion
amongst the users.
8. From the admin page, a lot of people struggle to read the information because the
information was cluttered, with no space this made it hard to read and for them to
understand that each line was a different option.
Due to the fact that all of the information was together, a lot of the users I saw that they
struggled to make out the differences between what was a statement and what was
available as an option.
9. One of the things which I saw that did not work particularly well was
the search function for the products. Every time the user would enter
a product name which included spaces, the program would
continuously loop over the messages above.
This crash meant that people could not continue on their search
and they had to stop using the program because it was no longer
functional.
10. To conclude, the program has its problems, make the right changes will
ensure that the users has a better experiences on it.
From what I could see many of the users were happy with some of the
features which we had on the system and they felt that once the program
was explained they started to have a better experience