Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Quit (exit the program) 2. Add (to the array) all information about an undergraduate or postgraduate student (except the overall mark and the grade)

image text in transcribed
1. Quit (exit the program) 2. Add (to the array) all information about an undergraduate or postgraduate student (except the overall mark and the grade) by reading it from the keyboard or from another text le and determine the student's overall mark and grade. 3. Output from the array the details (all information including the overall mark and the grade) of all students currently held in the array 4. Compute and output the average overall mark for undergraduate or postgraduate students Determine and display how many undergraduate or postgraduate students obtained an overall mark equal to or above the average overall mark and how many obtained an overall mark below the average overall mark ti. Given an undergraduate or postgraduate student number (ID), vievi.r all details of the student with that number. If the student is not found in the array, an appropriate error message is to be displayed 7. Given an undergraduate or postgraduate student's name (both surname and given name ignoring case), view all details of that student. If the student is not found in the array, an appropriate error message is to be displayed 3. Sort the array of the student objects into ascending order of the students' numbers (IDs), and output the sorted array 9. Output the sorted array 'om (8) to a CSV le. Note that the program will loop around until the user selects the rst option (Quit). Set up a student array of N student objects, and test it with N = 6 (at least). You have to store your test data in a le so that your program can read them. The client class should be well-stmctured and should have a reasonable number of methods in addition to the main method. The interaction with the user can be via the command line (i.e._. no graphical user interface is expected). Devise suitable test data to test all sections of program code. You will need to provide all the test data used. Tfour program should also include a method (e.g., Studentlnfo( )) to output your student details {name5 student number, mode of enrolment, tutor name, tutorial attendance day and time) at the start of program results. Note: The question requires you to use an array (not ArrayList} and not any Java library class to store students' details. Also, the sorting algorithms used must be coded within your program and not called from any Java libraries

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions