First of all, when a computer has peripherals attached to it, the operating system tracks what each of these devices does. For example when you move your mouse this is considered an event, then if you click on something like a file the operating system would respond to that by opening the file or even running a program which can open the file like windows explorer.
Doing simple things that we don't even realise are events happen all the time, like when the start menu is opened, this is caused when you either click on the windows button or press the windows key on your keyboard.
Another reason why I think a operating system con be considered an event driven application is because of things like being able to things like the drag and drop feature which allows you to move files into different locations without needing to do anything like you would have to do on a command-line interface. The operating system does all of these things for you by controlling events.
Another way in which a operating system can be described as a event driven application is because when things like USB pens are plugged into a computer, it opens up a window asking what to do with the device. Also when you plug in peripherals such as keyboards, mice, webcams etc... The operating system realises if the device needs to have drivers installed to use the device and does this without the user needing to do anything.
My final point is that when you are on the start menu, the operating system is able to handle a lot of events like for example, if you click on the power off button then the computer activates and event where it goes through a process of shutting down all of the processes and then turns of the computer in a way to make sure no damaged is caused to the system/ the system's data unlike when you hold the power button and do a force shut down.
No comments:
Post a Comment