Software Engineering What is the role of interface in a clas
Software Engineering
What is the role of interface in a class-based component-level design? You have been asked to develop a Web-based home banking system. Develop a user model, design model, mental model, and an implementation model.
Solution
ROLE OF COMPONENT LEVEL DESIGN
It
is used to determine whether the data structures , algorithms, interfaces will work properly.
Note that a component can be defined as a modular building block for the softwre.
RoLE OF INTERFACE:
I nterfaces decrease the number of interactions. note that the number of interactions taken that the account while determining whether the softwareperforms the desired function. Interface also provides the support for reusability of components which reduce the cost to a graeter extent. It not only decreases the time involved in design, coding, and testing but the overall sofaware development cost is also liquidated gradually with several projects.
MENTAL MODEL:
A mental model is aexplanation of someone\'s thought process about how something works in the real world. It is a representation of the surrouding world. Mental model can help to shape behavior and set an approach to solve problems and doing tasks. A mental model is a kind of internal symbol or representation of external raelity, hypotherized to play major role in cognition, reasoning and decision making.
EXAMPLE:
The world of the world around us,which we carry in our head, is justa model, nobody in his head imagines al the world, or country.
USER MODEL:
User model allow system to provide personalized services to their users. Now a days user model developed ad-hoc, as part of specifis applications,thus requiring repetitive develoopment efforts.
DESIGN MODEL:
It is the process of defining software methods,functions,objects and the overall structure and interaction of user code so that the resulting functionality will satisfy user requirements.
