Which of the following statements is INCORRECT about event in an event-driven…
2022
Which of the following statements is INCORRECT about event in an event-driven programming?
- A.
It is piece of data sent by producers.
- B.
It is piece of data that may be consumed by consumers.
- C.
An event does not occur when a key is pressed.
- D.
An event occurs when the left mouse button is clicked.
Attempted by 200 students.
Show answer & explanation
Correct answer: C
Events are signals generated by user actions or system changes. A key press generates a keyboard event, making the statement that it does not occur incorrect.