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
Event driven programming is when the flow of the program is determined by events such as user actions and building blocks. The event handler used in the App was the button inserted on MLK’s picture (Click handler). When the user taps on the picture, it is programmed that the I Have a Dream speech will start playing.
2. Is it possible to create an app without event driven programming? Explain.
Answer
Yes, it is possible to create an app without event driven programming, but the app might have a very little amount of functionality or potential interactions with the user. I think to make a better app event driven programming is definitely needed.
3. What elements and components make up the User Interface (UI) for the I Have A Dream app?
Answer
There were four elements that made up the UI: the MLK picture, the two labels ( tap to hear the speech and MLK’s name), and the black background.
4. What are some of the elements that make up the UI for a car? A vending machine?
Answer
A car is a very complex machine, it has both hardware and software for its UI. The car has many objects cush as the steering wheel that allows the driver to control the car. It has many buttons that control the temperature, radio, lights, some modern cars even have touch screens.
A vending machine’s UI mainly consist of outside buttons that allow the user to choose the snack that want to get. Some newer machines actually have a credit card reader attached on the outside to make the user experience easier.