Answer the following questions:
1. In your own words, describe what event driven programming is. What event handler was used in the I Have a Dream app? How was it used?
Answer
With event-driven programming, when an "event" occurs on the device, it triggers a response from the app. The Button1 (Soundboard) event handler was used in the I Have Dream app in order to playback the famous speech when pressed.
2. Is it possible to create an app without event driven programming? Explain.
Answer
It is probably possible to have an app that is not event-driven, but it would probably not be very popular because it would lack any interactive function that would make users interested in using it.
3. What elements and components make up the User Interface (UI) for the I Have A Dream app?
Answer
Button1, the Soundboard Media Player, and the Labels make up the UI in this app.
4. What are some of the elements that make up the UI for a car? A vending machine?
Answer
The UI elements in a car would be any of the buttons, switches, dials, or screens that allow for the car and driver/passenger to interact. The UI elements on a vending machine would be any of the option buttons, LCD readers, cash/coin devices, or item counters.