Answer:
Advantages
- It allows for more interactive programs. Almost all modern GUI programs use event driven programming.
- It can be implemented using hardware interrupts, which will reduce the power used by the computer.
- It allows sensors and other hardware to easily interact with software.
Disadvantages
- For simple programs, event driven programming is often more complex and cumbersome than batch programming.
- The flow of the program is usually less logical and obvious