 # Students' Grades Using Java Programming

## Question

In this project, you will be assisting your course instructor to compile the class final grades, based on the students’ scores obtained in the classwork, mid-term, and final exams. According to the course syllabus, the classwork accounts for 65%, the mid-term exam accounts for 15% and the final exam account for 20% of the total class score.
A. Write program to calculate the following:
a. Students’ average score (taking into account the three weights provided above).
b. Students’ grade (A, B, C, D or F)
c. Class average (sum of all students’ average score divided by total number of students)
d. Highest students’ average score
e. Pass rate (total number of students who passed divided by the total number of students)

Assumptions:
- Grading: Assume the following grade scale: 90% - 100% (A); 80% - 89.99% (B)70% - 79.99% (C); 60% - 69.99 % (D); and 0 – 59.99% (F). Also, as per the course policy, if the student achieves less than 55% in the final exam, he will fail the course even if the average score is above 60%.
- Input Data: You may assume the following input data. Please note that the scores correspond to classwork, midterm and final exam scores, respectively (in this order).
Naji Hasan 90 85 87
Lisa Smith 80 67 70
Andy Malik 75 80 52
Ravi Gupta 90 95 98
Dave Blair 50 61 70
Sara Clark 70 65 81
Sami Moosa 55 50 71
Kira Sunny 65 70 69
Hind Ahmed 70 81 88

You must use arrays to store each of the above records.
Your JAVA program should output data as close as possible to the sample output.

Section 1: Problem Analysis:
In this section, you should define your input variables, and their type. You should also define your output variables and their type. Use a table to summarize your answers.

Section 2: Solution Design:
In this section you should provide a Pseudo-code or a flowchart to explain your algorithm and the logic that will drive your Java code.

Section 3: Implementation:
In this section, you should list your complete Java Code. Make sure that your code is optimized for speed and efficiency.

Section 4: Evaluation
In this section, you should include a screenshot of your program’s output, based on the sample input.

Section 5: Self-reflection
In this section, you should reflect on what you have learned in this project, and outline the challenges that you have faced while working on this project, and how you overcame them.

## Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

import java.util.Scanner;

public class TERM_Project {

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String [] firstNames = new String;
String [] lastNames = new String;
double [] classworkSocres = new double;
double [] midtermScores = new double;
double [] finalExamScores = new double;
double [] average = new double;
char [] grades = new char;
double classAverage = 0;
double highestScore = 0;
double passRate = 0;

Scanner console = new Scanner(System.in);

for (int i = 0; i < grades.length; i++) {...
\$60.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

### Find A Tutor

View available Java Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.