Question: solve the problem, design and develop a program using array. Array Instructions: For submission, the students should write: The flowchart the source code (Java program)

solve the problem, design and develop a program using array.

Array

Instructions:

For submission, the students should write:

The flowchart

the source code (Java program)

Array

Based on question 3 Lab 7, modify the program by using 2-D/1-D array to summarize the data as shown in table below. Then calculate the number of students for each grade with its percentage.

this one is Q3 from lab 3

Assume that you are hired to develop application software which is designed specifically for the CSC3100 Computer Programming course. The application software will be used among the lecturers who taught the course. The application software should be able to calculate the total marks accumulated by each student registered for the course. In order to calculate the total marks, the lecturer need to input the marks obtained by each student for Quiz, Assignment, final Term Examination and Final-Examination. The following is the distribution of percentages taken for the calculation of the total mark:

Quizzes will take 15%. The full mark for a quiz test is 15.

Assignment will take 25%. The full mark for each assignment is 25.

M-Term Examination will take 20%. The full mark for the M-term examination is 50.

Fa Examination will take 40%. The full mark for the examination is 80.

The program can identify the grade of final mark for CSC3100 based on table below. The user can execute the program as long as the user types y when prompted.

Mark

Grade

80-100

A

70-79

B

55-69

C

45-54

D

<45

F

Sample output:

Enter students name: John

Enter mark for Quiz1: 65

Enter mark for Quiz2: 67

Enter mark for Quiz3: 83

Quizzes average is: 71.67

Enter mark for Assignment1: 54

Enter mark for Assignment2: 77

Assignment average is: 65.50

Enter M-TermExam mark: 89

Enter FaExam mark: 80

John, your final mark for CSC3100 is 76.93 and grade B.

More grade computation? y/n: y

Enter students name: Ah Lin

Enter mark for Quiz1: 80

Enter mark for Quiz2: 86

Enter mark for Quiz3: 78

Quizzes average is: 81.33

Enter mark for Assignment1: 70

Enter mark for Assignment2: 77

Assignment average is: 73.50

Enter M-TermExam mark: 89

Enter FAexam mark: 80

Ah Lin, your final mark for CSC3100 is 80.37 and grade A.

More grade computation? y/n: n

Questions:

Assume that 3 quizzes and 2 assignments will be given for the student

Use separate methods to:

read the marks

calculate the quizzes average

calculate the assignment average

calculate the final/total mark

determine the grade of each student based on final mark

display the final/total mark and grade obtained for each student.

Sample output: of real question

Matric\Mark

Quiz

Assign

M-Term

FExam

TotalMark

Grade

123452

15

12

23

32

82

A

112233

12

12

21

34

69

B

113333

10

10

15

30

65

B

Grade A 20 students, 60.6%

Grade B 10 students, 30.3%

Grade C 3 students, 9.09%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!