Professional Documents
Culture Documents
Rating Students: Requirements
Rating Students: Requirements
Rating Students: Requirements
For each subject, the overall rating is determined by ratings on various categories, including tests, quizzes,
lab works, projects, etc. The percentages of the categories should add to 100%. The number of assignments
from each category is unspecified and can change at any time.
Requirements
1. Compute & display student average score per assignment category & overall rating for assigned
subject(s).
2. Compute & Display subject average score per assignment category & overall rating for assigned
student(s).
3. Basic features
a. Add/remove assignment to an existing list
b. Add/remove assignment category with weights to an existing list. Ensure no duplicates of
assignment category.
c. Display all assignment categories with their weights.
d. CRUD operations for student enrollment to subject(s)
e. CRUD operations for enrolling assignment(s) to a student
Note:
✓ Refer below for design & computation tips.
✓ Sample data to be preloaded for demonstration
Consider the following tables, Table 1 “Distributions” containing information about assignment
category weights and Table 2 “Assignments” having student submission of assignment details with points for
each assignment.
Note: Given data are indicative only. Refer formula/processing technique for programming
Use any additional column(s) & suitable constraints for any column if required.
Table 1: Distributions
Assignment Category Weight (%)
Test 40
Quiz 20
lab work 10
Project 30
Table 2: Assignments
Serial No. student Name subject assignment Category Date of Submission points
1 Ananth Electro Fields test_1 21-Jul-16 100
2 Bhagath Electro Fields test_1 21-Jul-16 78
3 Chaya Electro Fields test_1 21-Jul-16 68
4 Esharath Electro Fields test_1 21-Jul-16 87
5 Bhagath Electro Fields quiz_1 22-Jul-16 20
6 Chaya Electro Fields lab_1 23-Jul-16 10
7 Ananth Electro Fields project_1 24-Jul-16 100
8 Davanth Electro Fields project_1 24-Jul-16 100
9 Bhagath Electro Fields quiz_2 25-Jul-16 50
10 Ananth Electro Fields quiz_1 26-Jul-16 100
11 Bhagath Electro Fields lab_1 27-Jul-16 10
12 Chaya Electro Fields project_1 28-Jul-16 100
13 Bhagath Electro Fields project_1 28-Jul-16 100
14 Ananth Computing Techniques test_1 29-Jul-16 86
15 Ananth Electro Fields quiz_2 29-Jul-16 100
16 Bhagath Computing Techniques project_1 30-Jul-16 100
17 Ananth Electro Fields lab_1 30-Jul-16 100
18 Chaya Computing Techniques quiz_1 31-Jul-16 20
19 Ananth Electro Fields test_2 1-Aug-16 80
20 Chaya Electro Fields test_2 1-Aug-16 92
Note: each assignment category is suffixed with underscore followed by number.
You may assume that the array(s) initialized with above mentioned details.
Develop a Java application, which accepts student name or subject title to display the following details as
output (below output data is based on above referenced data)
Student: Ananth
Subject Test Score Quiz Score Lab Score Project Score Overall Rating (%)
Electro Fields 36 20 10 30 100
Computing Techniques 34.4 NA NA NA 34.4
Explanation:
Calculation of Test Score
Number of tests submitted by Ananth for subject Electro Fields: 2 (test_1 & test_2; row 1 and 19)
Hence, Test score = ((40/2)* row 1 points + (40/2)*row 19 points)/100
= ((40/2)*100+(40/2)*80)/100
=36
Number of tests submitted by Ananth for subject Computing Techniques: 1 (row 14)
Test score = ((40/1)*row 14 points
= ((40/2)*86
=34.4