Please answer the following questions on these sheets. Please put your name at the top of each sheet. You may use any printed material. Electronic devices are prohibited.
@Persistentin AppEngine contain an instance of another
@Persistentobject as a member? Why or why not?
time person activitywhere
timeis a timestamp of the event in seconds since Jan 1, 1970 00:00:00 GMT.
personis the name of a person.
activityis the name of the activity that was started at this time, e.g., "sleeping", "running", "walking", "working", etc.
sleeping. This is the sum of the differences between times that
Georgestarted sleeping and times that
Georgestarted doing something else. For example, for the data
10001 George sleeping 10006 George walking 10100 George sleeping 10200 George showering 10500 George runningyour program should output the number 105, which is 10006 - 10001 + 10200 - 10100. You may assume that every time George starts sleeping, there is another subsequent event when George stops sleeping.
time stock changewhere:
timeis a time of day.
stockis a stock code.
changeis the change in value (in + or - points).