Question

Explain the two types of behavioral modeling: data-driven modeling and event-driven modeling (state diagram) providing examples...

Explain the two types of behavioral modeling: data-driven modeling and event-driven modeling (state diagram) providing examples showing the internal and external interation for each.

Homework Answers

Answer #1

Answer)

The data-driven programming is defined to be the kind of programming model wherein the data would control the program's flow. Whereas in the Event-driven programming the data would control the flow of the program and not the event.

The data-driven programming refers to the general code that is present which would not contain any of the business logic involved and also would not have a control flow. This would just read the data, process it and provide the output result. Here the logic, as well as the control flow, is the data itself and any change needed for the business logic is done by changing the data and not the code. Here code refers to the pipelining of the executable command that depends on the input data.

Example: Refilling the water bottle which has the framework intact whereas the water gets to be changed which means the data is being changed.

The internal and external interaction here would happen from state to state where only the data is being changed and every time the data is changed the output is given.

While on the other hand the event-driven programming logic is being controlled by the events which refer that the data, as well as the other business rule, gets placed in the code where event would have some data, as well as logic that can change with regards to the event's data but any change to the logic rule, would need the data or the code related change as the logic is in the code.

Example: Microven would show the event-driven modeling where the action is to heat and there is a stimulus which causes the transition from one state to the other.

The events are waiting to full power, the power to set the timer when the timer is enabled then the operation starts and finally ends when the timer is stopped or it has been manually stopped.

Internal and external interaction for event-driven modeling is with minimal data processing and in real-time systems which is mostly based on the assumption that the system would have a finite number of the state as well as events which might create a transition from one of the state to the other state and finally produces the output when the transition is completed.

Hope this answer helps.
Please hit like if you find the answer useful.
Thanks

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
3. Explain the concept of Data Flow Diagram and also state the different types of flow...
3. Explain the concept of Data Flow Diagram and also state the different types of flow charts?
List the three types of functional joints and two examples of each. Please explain how each...
List the three types of functional joints and two examples of each. Please explain how each functional joints moves or does not move and give two or more examples of each. Take a picture of your drawing and upload it.
Give the two main types of minerals and provide three examples in each case. b) State...
Give the two main types of minerals and provide three examples in each case. b) State the major functions of minerals in the body of any grazing animal. c) Which mineral element is the most limiting in grazing animal productivity throughout the world?
Use two examples that explain the relative effects of gene and the environment on different types...
Use two examples that explain the relative effects of gene and the environment on different types of variations
State two examples of business segments and explain why these would be feasible business segments. You...
State two examples of business segments and explain why these would be feasible business segments. You can use examples from your work or pick a publicly held company and describe the segments that company may have.
In relation to data modeling and ERD design, explain comprehensively what is meant by the term...
In relation to data modeling and ERD design, explain comprehensively what is meant by the term cardinality (1 mark). In relation to this same issue, how do we represent in our ERD the minimum cardinality? (1 mark)   How do we represent the maximum cardinality? (1 mark). Consider the two relationships: “a student can enrol in either 1, 2, 3, or 4 courses each semester AND a course can have student enrolments from zero to 500”. How would we represent the...
Job Order and Process Costing a.Select two (2) of the following types of companies and explain...
Job Order and Process Costing a.Select two (2) of the following types of companies and explain whether each would use job order or process costing. Be sure to explain and support your answers. 1.A law firm 2.An oil refinery 3.A soda manufacturer 4.A custom-home builder b.For each of the two types of companies selected above, give at least one example each of the following costs each company might incur. Fully explain your examples. 1.Direct material 2.Direct labor 3.Manufacturing overhead 4.Selling...
In your own words explain the difference between two types of cloud computing: Platform as a...
In your own words explain the difference between two types of cloud computing: Platform as a service (PaaS) and .Infrastructure as a service (IaaS). Give at least 2 examples of PaaS and 1 example of IaaS AWS solutions implemented by Zillow. Describe main features and benefits of each .
1a. Explain the process of plastic deformation of metals by twinning b. List the forms in...
1a. Explain the process of plastic deformation of metals by twinning b. List the forms in which iron ores can exist with two examples each and their chemical composition c. State two principal ores with their chemical composition for these non ferrous metals: 1. Magnesium. 2. Copper d. List and describe two types of surface defect with appropriate diagram. e. Describe interstitial diffusion mechanism
Can you reply to these replies from the question? Explain how the application of spreadsheets could...
Can you reply to these replies from the question? Explain how the application of spreadsheets could differ between a product-driven organization and a service-driven organization. Conduct your own research and provide specific examples to illustrate your ideas. “I think that a product based spreadsheet would contain information based on inventory levels, re-order levels, cost, sales price, quantity of sales and similar tracking information. A service based spreadsheet would contain information on customers, sales amount by customer, product sales by customer,...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • 4. List and describe the THREE (3) necessary conditions for complete similarity between a model and...
    asked 26 minutes ago
  • In C++ Complete the template Integer Average program. // Calculate the average of several integers. #include...
    asked 31 minutes ago
  • A uniform rod is set up so that it can rotate about a perpendicular axis at...
    asked 33 minutes ago
  • To the TwoDArray, add a method called transpose() that generates the transpose of a 2D array...
    asked 54 minutes ago
  • How could your result from GC (retention time, percent area, etc.) be affected by these following...
    asked 1 hour ago
  • QUESTION 17 What are the tasks in Logical Network Design phase? (Select five. ) Design a...
    asked 1 hour ago
  • What is the temperature of N2 gas if the average speed (actually the root-mean-square speed) of...
    asked 1 hour ago
  • Question One: Basic security concepts and terminology                         (2 marks) Computer security is the protection of...
    asked 1 hour ago
  • In program P83.cpp, make the above changes, save the program as ex83.cpp, compile and run the...
    asked 1 hour ago
  • the determination of aspirin in commercial preparations experment explain why the FeCl3-KCl-HCl solution was ased as...
    asked 1 hour ago
  • Describe important events and influences in the life of Wolfgang Amadeus Mozart. What styles, genres, and...
    asked 1 hour ago
  • 3.12 Grade Statistics Write a python module "school.py" that prints school information (first 3 lines of...
    asked 1 hour ago