solve this question while using java, you need only two classes as the question said ,you can use 2 diminsion array instead of arraylist

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

solve this question while using java, you need only two classes as the question said ,you can use 2 diminsion array instead of arraylist 

sample input:

2
4
anas ayman
1203051
2 8 2002
mahdi ayman
1200000
13 3 2003
mahdi taleeb
1201111
14 4 2004
ahmad altaleeb
1233333
24 7 2008
5
sopnj bob
1211111
29 9 2009
mester saltaa
1255555
30 3 2013
spider man
1277777
27 7 2017
anas taleeb
1203030
2 8 2002
bat man
bat maan
1299999
9 9 2019

Problem: Graduation Seminar Presentation
Your course instructor tired to sort the students
the class in regular alphabetical order, since this means
that certain students (first name, last name, id, date of birth, grade,email) always go first for presentations.
He/She has an idea to mix up the order of the students by sorting them in a different manner. In particular,
he/she doesn't care about the order of the letters in the last name of a student. Instead, he/she will put the
student who has the highest number of A's in his or her last name first. If there is a tie between two students
based on this value, she'll compare the number of B's in their last names. If this is tied also, she will go on to
C's, then D's, etc. The second student will be found using the same method, and so on until all of the students
have presented. Your job is to sort a list of student names based on this criterion.
It is guaranteed that no class has two students who have names that are anagrams of one another; thus, there
will not be any ties between two students (an anagram is a different arrangement of the same exact
letters).For example, "abcd" and "dabc" are an anagram of each other.
Write a method to generate an email automatically for student by take the first letter for his/her name
followed by last name followed by @ special character and then ritaj server name with extension
"birzeit.edu", i.e nkhader@ritaj.birzeit.edu
The first line of the input consists of a single positive integer, n, representing the number of classes. Each
class contains a single positive integer, m (1 <m < 100), which represents the number of students in that class.
Each of the following m lines will contain (first name, last name ,id and date of birth). ( you have to take
care about cases of letters )Then, for ordered list name according to this scheme, instructor can record the
grade of presentation for each student.
• Use proper constructor (s), setter(s) and getter(s) for defined student class.
• Write a test driver that contains:
1. a method to calculate the average for each class.
2. a print method to will display the list of student and average at screen , i.e ( student name,email, grade,
and AVG of class)
3. The sort method mentioned above.
• Be aware of all concepts of object oriented you have been learned in these chapters.
Transcribed Image Text:Problem: Graduation Seminar Presentation Your course instructor tired to sort the students the class in regular alphabetical order, since this means that certain students (first name, last name, id, date of birth, grade,email) always go first for presentations. He/She has an idea to mix up the order of the students by sorting them in a different manner. In particular, he/she doesn't care about the order of the letters in the last name of a student. Instead, he/she will put the student who has the highest number of A's in his or her last name first. If there is a tie between two students based on this value, she'll compare the number of B's in their last names. If this is tied also, she will go on to C's, then D's, etc. The second student will be found using the same method, and so on until all of the students have presented. Your job is to sort a list of student names based on this criterion. It is guaranteed that no class has two students who have names that are anagrams of one another; thus, there will not be any ties between two students (an anagram is a different arrangement of the same exact letters).For example, "abcd" and "dabc" are an anagram of each other. Write a method to generate an email automatically for student by take the first letter for his/her name followed by last name followed by @ special character and then ritaj server name with extension "birzeit.edu", i.e nkhader@ritaj.birzeit.edu The first line of the input consists of a single positive integer, n, representing the number of classes. Each class contains a single positive integer, m (1 <m < 100), which represents the number of students in that class. Each of the following m lines will contain (first name, last name ,id and date of birth). ( you have to take care about cases of letters )Then, for ordered list name according to this scheme, instructor can record the grade of presentation for each student. • Use proper constructor (s), setter(s) and getter(s) for defined student class. • Write a test driver that contains: 1. a method to calculate the average for each class. 2. a print method to will display the list of student and average at screen , i.e ( student name,email, grade, and AVG of class) 3. The sort method mentioned above. • Be aware of all concepts of object oriented you have been learned in these chapters.
The avg of the 1st class is: 100.e
The students in the class:
Name
Mohammad Alayman
Ahmad Altaleeb
Anas Ayman
Mahdi Taleeb
ID
Date of birth
13/3/2003
24/7/2008
2/8/2002
14/4/2004
Email
Grade
1200000
malayman@ritaj.birzeit.edu
aaltaleeb@ritaj.birzeit.edu
aayman@ritaj.birzeit.edu
mtaleeb@ritaj.birzeit.edu
100.00
1233333
100.00
1203051
100.00
1201111
100.00
The avg of the 2nd class is: 100.e
The students in the class:
Name
ID
Date of birth
Email
Grade
Mester Saltaa
Bat Maan
Anas Taleeb
Spider Man
Sopnj Bob
1255555
30/3/2013
9/9/2019
2/8/2002
msaltaa@ritaj.birzeit.edu
bmaan@ritaj.birzeit.edu
ataleeb@ritaj.birzeit.edu
sman@ritaj.birzeit.edu
sbob@ritaj.birzeit.edu
100.00
1299999
100.00
1203030
100.00
1277777
27/7/2017
29/9/2009
100.00
1211111
100.00
Transcribed Image Text:The avg of the 1st class is: 100.e The students in the class: Name Mohammad Alayman Ahmad Altaleeb Anas Ayman Mahdi Taleeb ID Date of birth 13/3/2003 24/7/2008 2/8/2002 14/4/2004 Email Grade 1200000 malayman@ritaj.birzeit.edu aaltaleeb@ritaj.birzeit.edu aayman@ritaj.birzeit.edu mtaleeb@ritaj.birzeit.edu 100.00 1233333 100.00 1203051 100.00 1201111 100.00 The avg of the 2nd class is: 100.e The students in the class: Name ID Date of birth Email Grade Mester Saltaa Bat Maan Anas Taleeb Spider Man Sopnj Bob 1255555 30/3/2013 9/9/2019 2/8/2002 msaltaa@ritaj.birzeit.edu bmaan@ritaj.birzeit.edu ataleeb@ritaj.birzeit.edu sman@ritaj.birzeit.edu sbob@ritaj.birzeit.edu 100.00 1299999 100.00 1203030 100.00 1277777 27/7/2017 29/9/2009 100.00 1211111 100.00
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY