QI: The Following table represents the grades of students in their course assignments. Each row consists of student's ID and additional 5 scores in assignments I to 5. You are asked to do the following; a. create a 2D array of type [int] with the values shown in the table. (Make some changes if needed). b. Print the 2D array as close as shown in the sample output. c. Print the list of students with any missing assignment and which assignment number are they missing, d. Print total numbers of assignments scored more than 4 points. e. Print the average score of assignment 3. Student IDAssignment Al A2 121 35000 02345 122 123 Sample output: 122 3 123 2 List of studenta missing Assigna Student:121 is minsing Asnignme atudenti122 is miasing Assign Student:122 is minsing Assignm atudenti122 is sissing Assignnenti 15 Student:123 in miasing Assignment: #1 ata: 13 atatatica Total numkber of ansignmenta scored more than 4 pointa: 7 The Average score of assignment 13 ia: 2.67

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question
QL: The Following table represents the grades of students in their course
assignments. Each row consists of student's ID and additional 5 scores in
assignments I to 5.
You are asked to do the following:
a. create a 2D array of type [int] with the values shown in the table.
(Make some changes if needed).
b. Print the 2D array as close as shown in the sample output.
c. Print the list of students with any missing assignment and which
assignment number are they missing,
d. Print total numbers of assignments scored more than 4 points.
e. Print the average score of assignment 3.
Student ID/AssignmentA A2A3A4AS
55550
33000
02345
121
122
123
Sample output:
SID I A1 I A2
AJ I
A4 |
121
122
5
123
2
3
List of studenta missing Assignmenta:
atudent:121 in minning Annignnent 15
atudenti 122 is mianing Assignmenti 13
Student i 122 is mianing Assignnent: #4
atudenti122 in miasing Assignment 15
student:123 ia missing Aasignment: #1
statatica:
Total number of aanignanenta scored more than 4 pointa: 7
The Average score of assignment 13 is: 2.67
Please Note:
All values in an array must be of the same data type.
Transcribed Image Text:QL: The Following table represents the grades of students in their course assignments. Each row consists of student's ID and additional 5 scores in assignments I to 5. You are asked to do the following: a. create a 2D array of type [int] with the values shown in the table. (Make some changes if needed). b. Print the 2D array as close as shown in the sample output. c. Print the list of students with any missing assignment and which assignment number are they missing, d. Print total numbers of assignments scored more than 4 points. e. Print the average score of assignment 3. Student ID/AssignmentA A2A3A4AS 55550 33000 02345 121 122 123 Sample output: SID I A1 I A2 AJ I A4 | 121 122 5 123 2 3 List of studenta missing Assignmenta: atudent:121 in minning Annignnent 15 atudenti 122 is mianing Assignmenti 13 Student i 122 is mianing Assignnent: #4 atudenti122 in miasing Assignment 15 student:123 ia missing Aasignment: #1 statatica: Total number of aanignanenta scored more than 4 pointa: 7 The Average score of assignment 13 is: 2.67 Please Note: All values in an array must be of the same data type.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Quicksort
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT