Portfolio Reflection Questions
Make a copy of this document in your Portfolio Assignments folder and answer these questions in the spaces below. Once complete, turn in this assignment according to the steps given by your teacher.
4.2 LightsOff Tutorial Curriculum Page
Answer the following questions.
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?
Answer
The new event that this app introduces is the random movement of the imagesprite, which in this case is a light bulb. This is triggered every time the clock timer counts down, so every one 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.
Answer
Some of the events that my apps have responded to include clicking a button, scrolling, selecting a listpicker, canvas, and using a slider. Some of the other event handlers in app inventor include a time picker, spinner, pedometer, proximity sensor, and more.
3. What are the advantages of writing procedures in programming? Use the procedures you wrote for this app as examples in your response.
Answer
The advantages of writing procedures while programming are that it makes an app easier and quicker to code. For example, in the lightsoff app, instead of recoding all of the random movement commands, you can simply use the procedure which saves time while doing the same thing. A disadvantage is that when an app has many procedures, to can get confusing to keep track of them all and what they do.