Help me get codes
Posted in the Java Forum
#1 Oct 14, 2006
Help me get the following codes to finish my assignment am stuck now.
here is my mial [email protected]
A} To get a degree from the Nairobi university , a student needs to successfully complete 26 modules.A student needs to take 10 modules in year 1 and 8 modules in two subsequent years.A part-time student needs to take a maximum of 8 modules in year 1 and a maximum of of 6 modules in each of subsequent 3 year.
Design a java program that a student could use to select their module choices for each year of their study.The program should be able to inform a student of the modules which have been:
-Successfully passed to date
-Not selected to date
-Failed to date
B} The program developed in part a} is to be exetended to provide the following additional functionality:
.Each student object is to be written into a binary file.
.Display a list of students who have failed 2 or more modules in the course of their study.
.Display a list of students, in alphabetical order, who have completed their degree.
An interface has two buttons labelled "Create" and "Exit".Each time a user presses the "Create" button two circles appear at random postions on the screen.The circles need not be of the same size. Once the user presses the "Exit" button,the program is to display the number of times that:
.The area of the two circles do not Overlap.
.The areas of the two circles Overlap.
.The areas of the two circles totally overlap.
in each case the system is to emit an appropriate audio indicating the nature of the circle overlaps(the 3 diffrent scenarios decribed above).Note that the "Create" button may be pressed a number of times before the "Exit" buttonis pressed which displays the result and ends the program.
A user is interested in an alphabetical list of all the 4-letter words which have been used in a text file.To archiev this, a program is required:
.To read the lines from the text file and transferall the words into a string array whose size should not exceded 10.
.Another part of the progarmm takes the words, one at a time, from the string array and adds it into an ArrayList,provided it is a 4-letter word.Duplicate words are not allowed.
.In addition, the program should be able to provide an alpahbetical list of these 4-letter words.
Add your comments below
|HonoIT Content Management System (CMS) to the s... (Jul '16)||Jul '16||java||2|
|JRE 1.8.0_60 Certified with Oracle E-Business S... (Aug '15)||Aug '15||arthur||1|
|Java 8u20 not removing earlier version... (Aug '14)||Aug '14||prabha||1|
|Free Java book to download: Beginning J2EE 1.4,... (Sep '07)||Jul '14||suvankar||52|
|Java Architect (Jul '14)||Jul '14||Prasad||1|
|Contest 100 000€ (Jun '14)||Jun '14||kermekx||1|
|Oracle Patches 51 For Java (Oct '13)||Oct '13||java nese||1|
Find what you want!
Search Java Forum Now
Copyright © 2017 Topix LLC