Results 1 to 5 of 5
Thread: Urgent Help required!
- 01-10-2008, 12:13 AM #1
Member
- Join Date
- Jan 2008
- Posts
- 1
- Rep Power
- 0
Urgent Help required!
ey Guys, i need help with this, it's not that i haven't payed attention at the lecture's it's simply, that i just dont get it, i've been to every lecture and every tutorial, but still it's a mystery to me, but i need to pass this yr!!
Here's the deal, if someone can help me with this, i'll pay them through paypal or a similar online payment thingy!!
Detailed task description
Task 1
You are required to implement a menu-based Java program called StudentContactManager.java to manage a list of at most 10 student contact details.
Task 2
You are required to produce an “Expected results/Testing” document. This document will identify the tests you recommend should be performed upon the final implementation in order to prove the correct operation/functionality of the solution.
Task 3
You are required to produce an “Evidence of testing against Expected results/Testing” document. This document will present appropriate screen shots of the run-time execution of the implementation for each of the tests identified in the “Expected results/Testing” document of task 2.
Task 4
You are required to provide pseudo code or flowcharts documenting your design of the “Delete entry” logic.
..................
We have been given the following code to start off with, i have been sitting here for days, basically trying lots of different things, but i just cant get it to work, here's the example Pseudocode:-
Code:
import java.io.*; public class StudentContactManager { public static void main(String[] args) throws IOException { final int maxStudents = 10; String [] /* ? */ = new String [maxStudents]; String [] /* ? */= new String [maxStudents]; String [] /* ? */= new String [maxStudents]; String [] /* ? */= new String [maxStudents]; int activeEntries = 0; System.exit ( 0 ); }//main }//StudentContactManager
.................. .................... .............. .................
Contact detail manager
Code:
BEGIN Input valid user option WHILE user option not exit DO CASE user option OF 1: Initialise contact detail list 2: Display contact details list 3: Insert new entry into contact detail list 4: Delete entry from contact detail list 5: Search contact detail list END-CASE Input valid user option END-WHILE END
Input valid user option
Code:
BEGIN Display menu; Input user option WHILE user option invalid Display “User option invalid” message Display menu Input user option END-WHILE END
Initialise contact detail list
Code:
BEGIN Initialise active entry counter to zero //No need to initialise/reset individual entries END
Display contact details list
Code:
BEGIN IF contact detail list contains entries THEN Display “Contact detail list heading” FOR each stored contact DO Display one/current contact detail END-FOR ELSE Display “Contact detail list empty” message END-IF END /[CODE] Insert new entry into contact detail list [CODE] BEGIN IF contact detail list is not full THEN Input enrolment number Search contact detail list to determine if enrolment number exists IF enrolment number does not exist THEN Input first name Input last name Input telephone number Insert new contact details into contact detail list Increment active entry count ELSE Display “Enrolment number already exists” message END-IF ELSE Display “Contact detail list full” message END-IF END
Delete entry from contact detail list
Code:
BEGIN To be designed by student and submitted with final submission END
Search contact detail list
Code:
BEGIN IF contact detail list contains entries THEN Input enrolment number Search contact detail list to determine if enrolment number exists IF enrolment number exists THEN Display “Contact detail” message ELSE Display “Enrolment number unknown” message END-IF ELSE Display “Contact detail list empty” message END-IF END
Insert new contact details into contact detail list
Code:
BEGIN IF contact detail list is empty THEN Set insertion point of new entry to first entry ELSE IF Enrolment number is greater than enrolment number in last entry THEN Set insertion point of new entry to entry after current last entry ELSE Locate insertion point of new contact detail Move subsequent existing contact detail entries one position END-IF END-IF Insert new contact detail at insertion point over-writing any previous contact detail entry END
Locate insertion point of new contact detail
Code:
BEGIN Set insertion point identifier to first position WHILE enrolment number to insert is greater than enrolment number stored at position identified by insertion point identifier DO Increment insertion point identifier END-WHILE END
I am willing to pay as I need it by tomorrow by 11.00amGMT
- 01-10-2008, 01:43 AM #2
Have you even attempted to solve this on your own? You're never gonna learn if you expect people to just hand you answers.
- 01-10-2008, 01:54 AM #3
- 01-10-2008, 08:29 AM #4
Then go to a freelancing site. What you'll find here is people who enjoy computing for the fun of it and sometimes even helping others learn. If you don't want to learn, then that to me translates to - you don't want to have fun; looks like you're at the wrong site, in my opinion.
Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
- 01-10-2008, 11:26 AM #5
Similar Threads
-
what is required for EJB
By mmc18 in forum Enterprise JavaBeans (EJB)Replies: 2Last Post: 07-15-2008, 06:16 PM -
Help required
By Azndaddy in forum New To JavaReplies: 0Last Post: 03-27-2008, 01:57 AM -
Blx.tld required
By anki1234 in forum JavaServer Pages (JSP) and JSTLReplies: 5Last Post: 01-24-2008, 04:17 AM -
Quick Job required in Java
By taxman in forum Jobs OfferedReplies: 0Last Post: 01-02-2008, 11:46 AM -
Help required: regarding java.net.URL api
By tarzan007 in forum New To JavaReplies: 3Last Post: 11-07-2007, 04:46 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks