Click to See Complete Forum and Search --> : need help urgent please
pablo30
March 24th, 2010, 02:21 PM
hi guys i need a help on this part of my program this is the most difficult part of it as it is a group work but me and my mates r stuck on this part of the program if some body could help me with that will be great..........
i need to Implement a piece of software that records the coursework and exam marks for the
SD2054 module.
The software should allow students to be added and removed to
the list and for their marks to be recorded. The student should be able to produce a
final report card for each student indicating the marks recorded and the overall
module decision (pass, fail, retake coursework and so on).
please please if you can please help me with that cos i have already tried and just didn't work as it supposed to be working.
dlorde
March 24th, 2010, 02:46 PM
Post your code, with comments, and explain exactly how it is going wrong.
Bad code isn't bad, its just misunderstood...
Anon.
Deliverance
March 24th, 2010, 02:47 PM
I also tried without getting it to work. Mostly because I don't know what a SD2054 module is, and I don't care to look it up myself.
Let's see what you tried and what didn't work instead.
Battle Programmer Rii
March 24th, 2010, 03:54 PM
Hi,
I am not sure what a SD2054 module is, but what are you trying to save this data to?
pablo30
March 25th, 2010, 05:34 AM
the module means just a school subject like maths and the SD2054 is just the course code.
many thx....for your quick reply guys......
ProgramThis
March 25th, 2010, 07:15 AM
You still haven't shown us your attempt. Nobody is going to do your homework for you kid. If you want to pass your class, graduate and make good money, YOU have to do the work. :rolleyes:
dlorde
March 25th, 2010, 08:09 AM
You'd think if it was that urgent, he'd have posted it up hours ago...
One must learn by doing the thing; for though you think you know it, you have no certainty, until you try...
Sophocles
pablo30
April 1st, 2010, 07:34 AM
Msr programthis this is not a university work this is something for a work experience and i will be working for free just to let you know.....
I came here asking for help not asking to be critesized......thx for your reply anyway.....
and to let you knoe this is just the first part of the program....
people I still need your reply please, please i need you help.
dlorde
April 1st, 2010, 09:52 AM
people I still need your reply please, please i need you help.
We can't help unless you tell us what you're having trouble with - we don't teach Java and we won't write the code for you, but we can help you fix it yourself.
Post your code, with comments, and explain exactly how it is going wrong, or where you're stuck, or what you don't understand.
I came here asking for help not asking to be critesized...
I don't see any criticism - would you care to post a link?
The outcome of any serious research can only be to make two questions grow where only one grew before...
T. Veblen
jcaccia
April 1st, 2010, 10:31 AM
i will be working for free
And the professionals that will help you here will do it for free as well. Just to let you know.
jnpnshr411
April 15th, 2010, 11:25 AM
hey so you guys know, this question those guys are asking is something posted on freelancer.com
They must've seen it bid on it without having any idea what to do.
keang
April 15th, 2010, 01:43 PM
hey so you guys know, this question those guys are asking is something posted on freelancer.com
Thanks for the warning.
They must've seen it bid on it without having any idea what to do.Or they couldn't get their homework done for them for free on a forum and so have resorted to offering to pay for it to be done. Either way this thread is dead unless the OP adds more information.
pablo30
April 16th, 2010, 04:40 AM
guys i already had 2 classes done because i`m beguinner that`s why i asked for help my mistake is that i didn`t post for you guys to see.
i have 2 classes done but the rest is like chinese for me because i need to do the other classes and i don`t know how to do it and also need to make all the tables work together.
the post on freelancer is just because i coun`t find any forum to help me out and i need it done.
i have no other options.....
this is the classes i managed to do so far......
public class Students
{
{
this.name = name;
this.studentId = studentId;
}
public String getName()
{
return name;
}
public int getStudentID()
{
return studentId;
}
public String getInfo()
{
return name + " (" + studentId + ")";
}
}
and the second class is
import java.util.ArrayList;
import java.util.Iterator;
public class SD2054Module
{
public SD2054Module(String Code,int courseWork , int examMark , ArrayList students )
{
// setcode(Code);
// initialise instance variables
this.courseWork= 0;
this.examMark = examMark;
this.students = new ArrayList <Students>();
}
public void add(Students st)
{
if (st==null) {
students.add(st);
}
}
public void remove(Students st)
{
if ( st==null) {
students.remove(st);
}
}
i still need help......
just stuk on this 2 classes can`t go throught the rest need some light to carry on.
pablo30
April 16th, 2010, 04:43 AM
guys i` have already said that this is a voluntary work that i`m doing ....... sorry if you understand it wrongly.......
dlorde
April 16th, 2010, 07:23 AM
if ( st==null) {
students.remove(st);
}
Please post code inside [CODE]...[/CODE] tags. Your 'if' conditions need more thought.
i still need help......
So ask some specific Java questions - exactly what is it you are stuck on or don't understand?
As soon as we started programming, we found out to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs...
M. Wilkes
ajhampson
April 16th, 2010, 09:18 AM
i still need help......
just stuk on this 2 classes can`t go throught the rest need some light to carry on.
Well, what does your design look like? What are you trying to accomplish? If you haven't sat down with your "mates" and put a good plan together for your work, you will remain in the dark. You can't just throw code a a problem description and see what sticks.
You have two classes so far, but your design even for them doesn't seem well thought out. For example, your SD2054Module class constructor
public SD2054Module(String Code,int courseWork , int examMark , ArrayList students )
{
// setcode(Code);
// initialise instance variables
this.courseWork= 0;
this.examMark = examMark;
this.students = new ArrayList <Students>();
}
takes a list of students, but only one grade for course work and exams, and only one code, whatever that is. This constructor initializes the exam grade to the passed in value, but the course work grade to zero.
These are a class of issues that show little or no planning or forethought went into the design before coding started. This leads to buggy, unmaintainable code.
Take some time to figure out exactly what you are trying to do, write it down in words and/or pictures, and then translate that to code. Once you've done this, you can post here with code and specific questions you have about the code.
As others have said, we volunteer here. We help you discover what you need to know. We don't teach Java 101, nor do we write your code for you.
Good Luck!
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.