1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Please Help ....i'm paying through Paypal

Discussion in 'Java' started by skarecrowster, Jan 2, 2008.

  1. skarecrowster

    skarecrowster New Member

    Joined:
    Jan 2, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hey 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
     
    Last edited by a moderator: Jan 2, 2008
  2. gameyharp

    gameyharp New Member

    Joined:
    Sep 4, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I have a friend that is pretty fluent in java, send me a PM with how much you are paying.
     

Share This Page