give an example application of each of the following programming model
- Functional model
- Procedural model
- Object - oriented model
- Event - driven modle
Answers
Answer:
1. functional model
Functional models represent a form independent blueprint of a product. ... An example is pro- vided for using the functional basis to form a functional model.
2 procedural model
L-Systems, fractals, and generative modeling are procedural modeling techniques since they apply algorithms for producing scenes. The set of rules may either be embedded into the algorithm, configurable by parameters, or the set of rules is separate from the evaluation engine.
3 object orient model
Example. Shape, Circle, Rectangle and Triangle are all objects in this model. Circle has the attributes Center and Radius.
4 event driven model
Examples of events include: An HTML message has been received (web server) ... A loan application has been accepted/rejected (commercial businesses)
hope it helps
thanku