CSCI 448 - Mobile Application Development (Android)Spring 2020 - Assignment 1 - This Is Jeopardy!Quick Links: Canvas | CS @ Mines | Mines | Piazza |
|||||||||||||||||||||||
| Home | Syllabus | Assignments | Schedule | Resources | | |||||||||||||||||||||||
This assignment is due
by February 11, 2020 by 11:59pm.
For this assignment, you will take your completed Lab02B (feel free to
start from Lab03 or Lab04 to have extra features!) and allow for
multiple question types. Currently, we can only ask the user a True or
False (Yes/No, A or B) question. It would be much better if we could
prompt the user with more options or even better yet - have the user
provide their own answer. You will need to make changes to the entire
MVC stack to accomplish this task.
When you create this project, set the package to include <userName_A1> and name the app <userName>_A1 where userName is your name (for instance, mine would be jpaone_A1).
An example of the completed app is shown below:
Part I - Model: Create a Multiple Choice QuestionFirst, add a way for your app to
store Questions that have four answer choices and which is the correct
answer. We are only concerned with the Model side of the MC Question
at this point.
Part II - Model: Create a Fill-in-the-Blank QuestionNext, add a way for your app to store
Questions that have a free response (one word) answer and what the
correct answer is. When we check the correct answer, we will not worry
about the letter case. Again, we are only concerned with the Model.
Part III - Controller Updates View Appropriately
Now we'll start to see the changes. Create at least one of each type
of question and store them in your question array. Pressing the "Next" button
should display the new question every time. Additionally, add a "Previous"
button to go to the prior question.
Previously, we created a new layout by modifying the View XML. This time, we need to have the Controller create the new View layout. It may be wise to have a layout component that contains the answer options and its contents are modified via the Controller. When a user chooses an option or enters an answer (maybe you need a Submit button for the Fill-in-the-Blank questions???), be sure to validate their response and display the appropriate Toast. Part IV - Keep Score
Finally, you will need to make changes to all of the MVC components.
When a user answers a question right, keep track of their progress and
increment their score. Display the user's current score somewhere in
your layout.
While not required, you are encouraged to only give credit for a correct question once. That is if the user answers the same question correctly five times, then their score is only incremented one time. Part XC - Extra Credit
There are three extensions you can do for extra credit:
Part V - Exit Interview
Be sure to include a
README.txt
file containing any comments, notes to run, etc. In addition, answer
the following questions in your
README.txt
:
Grading Rubric
Your submission will be graded according to the following rubric.
SubmissionPlease update your project so it
produces an executable with the name userName_A1. When you are
completed with the assignment zip together your full source code (the Android
Studio project), and README.txt. Name the zip file,
userName_A1.zip. Upload this file to Canvas under A1.
This assignment is due
by February 11, 2020 by 11:59pm.
| |||||||||||||||||||||||
Last Updated: 01/16/20 16:17
|