Event and event handler
This assignment tests your understanding of the terms event and event handler.
Run this payroll program, and answer the following questions.
- One event that this program handles is the user clicking on the button that says "stop." What has it been programmed to do when that event occurs?
- What has it been programmed to do in the event that the user clicks on the button that says "calculate pay?"
- The program handles three other events, what are they?
- How many event handlers did the programmer have to write?
Run payroll program 2. Be sure to try extreme values like 99 for hours worked and pay rate.
This program handles two events that were not handled by the first program. What are those two events and what has the computer been programmed to do when they occur?