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
1.proggraming that is based on particular events. it requires particular commands that will be executed by choosing a particular trigger.
2.when button 1 . click - do
3. when the used clicks on the picture MLK is played
2. Is it possible to create an app without event driven programming? Explain.
Answer
no, app is set of events
its only possible if you want to have just an image and you dont want anything to do with it.
3. What elements and components make up the User Interface (UI) for the I Have A Dream app?
Answer
image, label, button, player,
4. What are some of the elements that make up the UI for a car? A vending machine?
Answer
car: steering wheel, brake, dashboard, horn, etc
vending machine: buttons, card reader, screen,