Project 2: Help me select a 'Volunteer'
Objective: To build a more complex app
Due: Oct 14th at 11pm
Summary: You were a quiet class today. I won't always have a quiz
to help me randomly select a student to answer the next question so you
are going to build me an app to help with that. (as per my email,
unfortunately my original plan to have you use sensors won't work with the
default emulator that comes with appinventor so I'm backing out and trying
something easier)
What you must do:
- Represent the first names of all of the students in your class in
your program (I recommend a list like we used last week)
- Joe
- Dave
- Kathy
- Megan
- Sadie
- Max
- Jonathon
- William
- Madison
- Ryan
- Mackenzie
- Liam
- Alyssa
- Syndie
- Suman
- Joel
- Luis
- Anthony
- Lauren
- Then setup your GUI. Yours doesn't have to look exactly like mine, but
there needs to be a way to tell the program to randomly choose a student
(I used a button) and a way to show the user their selection, (I used
both a label/textbox combo and a notifier)
![my UI at the beginning of the project](Prog2Start.png)
- When the user asks the program to select a student randomly to answer
the next question, your program should:
- randomly select a student (hint, if you used a list for step 1
above, look at the list blocks - there is one for picking a random item
- then put that student's into your user interface on the screen
- put up a notification informing the student of their luck in being
chosen
- speak your congratulatory message too.
- My app looked like this when I asked it to select a random student:
![the look of my app after the apps chooses a student](Prog2MakingAChoice.png)
- after the user has used the app to choose 10 students it is time to
let the rest of the students off the hook. So change the look of the app
and inform the user that we've asked enough questions. Mine looked like
this afterward.
![at the end of the program](Program2End.png)
Submission: Save it as an aia file and submit on
blackboard
Save it? Take a look at this:
http://appinventor.mit.edu/explore/ai2/share.html