Love You "Persistently" Worksheet

CS 107 Worksheet
Discuss the following questions with a small group and jot down some answers:

1. Define persistent data.



2. In an App inventor app, how do you store data in short term memory? Long-term memory?



3. In the Love You app, what data needs to be stored persistently and why?



4. Consider the following code:


a. The first time the app runs, what will the love message (customMessageTextBox1) be?


b. How could you fix the code so that there is a default message the first time app is run?



5. Open App Inventor and take a look at the PhoneNumberPicker component. How could you use this component to allow the user to choose the phone numbers for the love you message instead of typing them in? Sketch some blocks.

Comments