DPSD HW10 - Android Project 3

Database Technology is Android Room Persistence

Write an Android Application to keep records and perform statistical analysis for 3 different courses. Each course may have up to 40 students. There are five quizzes during the term. Each student is identified by a four-digit student ID number.

The program is to allow a user to select the course to view, then show the student scores and calculate and print the statistics for each quiz in the class. No sorting is needed, although you may sort if you wish. The output from the program should be similar to the following:

Course Title: Programming 101

Student      Q1         Q2         Q3         Q4         Q5
1234         78         83         87         91         86
2134         67         77         84         82         79
1852         77         89         93         87         71

High Score     78     89     93     91     86
Low Score      67     77     84     82     71
Average        73.4   83.0   88.2   86.6   78.6

This application must by done using Room.

You may work together to get the DB setup on your systems.

Try to design and code your app so as to NOT hard-code the 5 quizzes.

Note: You will pre-populate your database, but be sure to provide a way in the UI to select an individual course.

Additional Requirements:

  1. Look for and use Fragments. You should have at least one in your App.
  2. Make sure to use packages to properly organize your components.
  3. Use and follow the design for your Model package we learned in Project 1 - you may use any Container as the backing data when needed.
  4. Handle and allow logging of Exceptions.

Resources: