Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help needed in java program

0 views
Skip to first unread message

Vlasis Kosmas

unread,
Nov 22, 1999, 3:00:00 AM11/22/99
to
Hi there, i am pretty new in the java programming, and i would like some
help with an assignment that i have. Here it is:

A university department needs an interactive program to analyse the marks
received by its students in a semester. The marks are stored in a file and
the program must be capable of calculating an average of all the marks a
student has obtained. It should then be possible to display the data in a
number of ways.

Each student has a unique identification number and takes six modules in a
semester. There are ten modules to be chosen from, so each student may be
doing a different set of six modules. A module has a code number of the form
COM???0 (where ??? is a 3 digit sequence) and a title. A module can be
examined by (i) coursework alone (100%), (ii) by exam alone (100%), or (iii)
by a mixture of coursework and written examination (for which the weighting
is always 40% coursework and 60% examination). Coursework is composed of one
or more assignments – if there is more than one assignment, then each
assignment mark is recorded. The final average percentage mark for a student
over all six modules is calculated using a simple average of the six module
percentage marks that a student has obtained.

The program must be capable of reading all of the relevant data from a file
and then displaying it in a number of different ways, chosen from a menu. It
should be possible to (i) display an individual student’s marks, (ii)
display all the marks for a single module (coursework and/or exam), sorted
by student identification number or sorted by final module percentage mark,
(iii) display the final average marks for all students, again sorted by
either student identification number or by final average percentage mark, or
(iv) display the module average for each of the modules delivered by the
department.

It is sufficient for the program to produce textual output and use a simple
keyboard-based text menu – you do not have to use the Java AWT to handle
display. You may use SimpleReader and SimpleWriter for input and output.

You could generate data files for testing your system by using an
appropriate text editor, or by writing a second program to automatically
generate some random data (but this program will not be marked). In
generating your data files, you should consider that the details of each
module, e.g. module code and title, the list of modules a student is taking
and the marks in each module need to be stored. Do not use large class
sizes – use a maximum of 10 students to test the system. However, as part of
your design, you should discuss any problems in extending the system to cope
with large classes of students.

Any help would be appreciated!

You can contact me via email in the following address:
vla...@ministryofsound.net

Thanks for your time.

amcc...@my-deja.com

unread,
Nov 23, 1999, 3:00:00 AM11/23/99
to
What, in particular, do you need help with?

In article <81c8cq$6gv$1...@gxsn.com>,


"Vlasis Kosmas" <vla...@ministryofsound.net> wrote:
> Hi there, i am pretty new in the java programming, and i would like
some
> help with an assignment that i have. Here it is:

Sent via Deja.com http://www.deja.com/
Before you buy.

0 new messages