1. This app presents a new type of event which you haven't encountered before. What is that new event? How often is it triggered?
The app presents the clock event, which activates every time that the clock ticks. In this case, the clock is set to tick every 1000 milliseconds, or every 1 second.
2. Consider the apps you've developed so far. Can you list all the different events your apps have responded to? What other events do you think an app can respond to? Explore some of the components in App Inventor and see what event handlers they have.
The simplest thing the app has responded to is a button press. It can also react to shaking, selection from a list, drawing, and dragging your finger across the screen. Apps can respond to all kinds of inputs, including the ticking of an internal clock, hearing a sound, or even just opening the app itself.
3. What are the advantages of writing procedures in programming? Use the procedures you wrote for this app as examples in your response.
The main advantage to writing procedures in programming is that it keeps your code concise and easy to understand, and reduces the chance of an error occurring. For example, I created a procedure that moves the light bulb to a random place on the screen using a random number generator. Because I needed to perform this action multiple times, it made sense to make it a procedure. This would reduce repetition in my code and make it easier to understand.