In: Computer Science
answer each question separately.
Question-1
Answer-
Behavioral Modeling describes the interaction in the system (means how each system sub-system /will communicate as per design ).It shows the interaction among the structural digram.It shows the dynamic nature of the system.
It contains
-Active diagram
-Interaction diagrams
-use case
-Aspect diagram
-Control Commanding etc.
Where Structural modeling consists of static /fixed features of a system.It has bellow info like
-Class diagrams
-Objects diagrams
-Deployment diagrams
-Individual/all components diagrams
Structural models show the frameworks for the actual system.Structural models never describe the dynamic behaviour of the system.
-In the Functional Modeling s/f(software) converts all information and to accomplish this,it must perform some common tasks like input,processing,output.
Question-2
Answer-
For a System the architecture first decides what are the main
thing suuposed to do by the system .Functional modeling is a
structure represents the things like activity, process,
actions.operations...
when for a system we decided the functionality then we need to
decide each behavior of an activity or an operation.Thats comes
under behavioral model.
For a system behavioral models are dynamic behavior that should
executing inside a system.
It shows what is supposed ot happen when a system responds to a
stimulus from t's own enviroment. Basically the stimuli cab of two
types-
data-when some sata arrives that needs to processed by the system
or that need to store through the system
Events- when any events haapens then system should start some
processing and there can be possibiliy a event may have associated
data.
After deciding behavior for an each activity or an operation we
need to implements those activity or operation based on the their
behavior by designig structure.That comes under structural
modeling..
Structural modeling of a system is combine of all components of
system, how all components are interacting with each other how the
data flow goes inside all the components. It shows the picture of
enitre system. We can describe structural modeling of a system
using daigrams like
UML diagrams, individual components diagram, class diagram...
Question-3
Answer
Functional model for an ATM System:
In modern age we can re-design functionality for an ATM like,
Common functionality :
-Cash withdrawl
-Balance check
- Transaction Staements
etc.
Advance functionality :
-Instant cash lone(limited)
-Phone rechrage
-cheque submit
UseCase for ATM System:
-System setup usecase- for this usecase you can take object like ATMCreential- Here we got the credentials like ATM PIN from the ATM machine and from ATM card the machine will fetch the account number , then we can pass the account number and atm pin to internal system for processing.
-Balance check usecase -the object you can take UserAcoountDetails- Based on your ATM card number , The internal system will fetch UuserAccountDetails from database and stored in UserAccountDetails Object.After that we can show the balance detalis to user.
-Transcation usecase- The object you can consider like UserTranscationDetails
-Cash withdrawl usecase- The object you can take WithdrawlAmount, here you can recieve the withdrwa amount from ATM machine and you can pass this amount to your system for processing.
-Deposite usecase- The object you can take DepositeAmount - Here you can recieve the deposite amount fro ATM machine and you can pass this amount to your system fro processing.