ITEC 95(SIR ROWEE) Flashcards
Advantages of Modeling & Simulation
Allows for testing hypothetical scenarios without actual implementation.
- Can minimize risks and optimize performance.
- Provides a cost-effective solution for solving complex problems.
Limitations of Modeling & Simulation
Models may not accurately capture real-world behavior.
- Can be time-consuming and require expertise to create.
- Data availability and quality can greatly affect the accuracy of the simulation.
: One of the significant advantages of modeling and simulation is that it allows for extensive testing without the need for a physical prototype.
Testing
Modeling and simulation can also make upgrading an existing system or process more efficient.
Upgrading:
Another benefit of modeling and simulation is the ability to identify constraints in a system.
Identifying constraints:
Modeling and simulation can also be useful for diagnosing problems in a system.
Diagnostics:
Modeling and simulation can handle complex systems and processes that would be difficult to analyze using traditional methods.
Complexity:
One potential disadvantage of modeling and simulation is that it may not accurately represent the real-world system. This can result in false positives or false negatives during testing.
Testing:
Another disadvantage is that the simulation may not accurately predict the impact of changes on the system. This can result in unexpected consequences when the changes are made in the physical system.
Upgrading
Modeling and simulation may also fail to identify constraints that are not included in the model.
Identifying constraints
Similarly, modeling and simulation may miss problems that are not included in the model.
Diagnostics:
Modeling and simulation can also be time-consuming and require significant computational resources, particularly for complex systems.
Complexity
Modeling and simulation can have ethical implications, such as the use of virtual animal testing instead of real-life testing.
Ethical Considerations
Transparency and accountability are important in the use and development of simulations.
Ethical Considerations
Advancements in technology such as artificial intelligence and machine learning can improve the accuracy and efficiency of simulation.
Future of Modeling & Simulation
More widespread use in fields such as urban planning and climate change modeling.
Future of Modeling & Simulation
Here are some examples of ethical considerations in modeling and simulation:
Data privacy
Bias and discrimination
Safety and reliability
Intellectual property
Transparency and accountability
The use of modeling and simulation is increasing in many fields, and there is a growing demand for professionals with expertise in this area.
Career Opportunities
Deciding which process/thread should occupy the resource (CPU, disk, etc)
Process Scheduling
Switch CPU from one process to another
Performed by scheduler
Context Switch
Need hardware support
Context Switch
When should the scheduler be called?
A new process is admitted
The running process exits
The running process is blocked
I/O interrupt (some processes will be ready)
Clock interrupt (every 10 milliseconds)
The running process keeps the CPU until it voluntarily gives up the CPU
process exits
switches to blocked state
Transition 3 is only voluntar
Non-preemptive scheduling:
The running process can be interrupted and must release the CPU (can be forced to give up CPU)
Preemptive scheduling