Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is an event?
Think of an example of something that may happen in a program.
What does an event listener do?
What happens when you click a button in an app?
What is an event in programming?
Think about what triggers a response in a program.
True or False: An event source is the component that generates an event.
Recall what generates events in your applications.
Design a simple interactive GUI that has multiple buttons triggering different actions.
Consider how each button acts as an event source.
You have a program that processes keyboard events. Discuss how the program could manage multiple key presses for a game controller.
Think about how games respond to potentially simultaneous key presses.
4 more questions in this section. Enroll free to practise them all.
Enroll free