Problem: Graduation Seminar Presentation

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

Hi 

can you help me to solve this question using java language , we have to use oop in this question also use string , we are not allow to use any thing inheritance 

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.
Sample Input
Enter Number of classes: 2
Enter Number of students in class# 1: 2
AHMAD BIDAS
SAMI JAWAD
Enter Number of students in class# 2: 3
SAMER WALAWI
LEEN MAHAREEQ
HANEEN DARAHMAD
Sample Output
1. Print list of student sorted for class #1,class #, etc
2. The Instructor can enter the grades for those classes.
3. After grades were entered, Print the following results at screen:
Class #1 ordering
SAMI JAWAD , email:sjawad@ritaj.birzeit.edu, 78
AHMAD BIDAS, email:abidas@ritaj.birzeit.edu ,90
AVG of class #1 :82.65%
Class #2 ordering
HANEEN DARAHMAD, email:hdarahmad@ritaj.birzeit.edu,85
LEEN MAHAREEQ, email:Imahareeq@ritaj.birzeit.edu, 76
SAMER WALAWI, email:swalawi@ritaj.birzeit.edu,82
AVG of class #2:78.75%
...
2
Transcribed Image Text:Sample Input Enter Number of classes: 2 Enter Number of students in class# 1: 2 AHMAD BIDAS SAMI JAWAD Enter Number of students in class# 2: 3 SAMER WALAWI LEEN MAHAREEQ HANEEN DARAHMAD Sample Output 1. Print list of student sorted for class #1,class #, etc 2. The Instructor can enter the grades for those classes. 3. After grades were entered, Print the following results at screen: Class #1 ordering SAMI JAWAD , email:sjawad@ritaj.birzeit.edu, 78 AHMAD BIDAS, email:abidas@ritaj.birzeit.edu ,90 AVG of class #1 :82.65% Class #2 ordering HANEEN DARAHMAD, email:hdarahmad@ritaj.birzeit.edu,85 LEEN MAHAREEQ, email:Imahareeq@ritaj.birzeit.edu, 76 SAMER WALAWI, email:swalawi@ritaj.birzeit.edu,82 AVG of class #2:78.75% ... 2
Expert Solution
steps

Step by step

Solved in 2 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