Computer Science Canada I Need Java Help Please |
Author: | Honour [ Sun Dec 16, 2007 3:05 am ] |
Post subject: | I Need Java Help Please |
How to write a java program which can tabulate and present results of a polling process. I just started learning java and can't get my head around this. Any help will be appreciated.[/b] |
Author: | Tony [ Sun Dec 16, 2007 3:30 am ] |
Post subject: | RE:I Need Java Help Please |
tabulating results doesn't sound like a Java problem. What is it that you are having trouble understanding? |
Author: | Honour [ Sun Dec 16, 2007 12:18 pm ] |
Post subject: | Re: RE:I Need Java Help Please |
Tony @ Sun Dec 16, 2007 3:30 am wrote: tabulating results doesn't sound like a Java problem. What is it that you are having trouble understanding?
Tony, thanks for your response. Im new to java/programing generally. The question asked me to write a java program which can tabulate and present the results of a poliing process. The program is to be used to generate statistics from data entered in from a stack of filled-in forms and when the operator has finished entering the data ,the program should print out a summary of the data entered. The form filled in consists of : Questioner number: AGE:[ ] SEX: F [ ] M: [ ] pOSTAL CODE OF RESIDENCE: QUESTION 1: YES: NO: NO RESPONSE: QUESTION 2: YES: NO: NO RESPONSE: and on and on Any help will be appreciated. Many thanks Honour |
Author: | HeavenAgain [ Sun Dec 16, 2007 1:34 pm ] |
Post subject: | RE:I Need Java Help Please |
well, are these info in a file? and theres tons of form like this? and you have to get the statistics? i would imagine this could be done in a hashmap kind of way, where the questioner number is the key to all these info (but hear from others, im always wrong )........ and this is no way near a beginner stuff o_o |
Author: | Honour [ Sun Dec 16, 2007 1:52 pm ] |
Post subject: | Re: RE:I Need Java Help Please |
HeavenAgain @ Sun Dec 16, 2007 1:34 pm wrote: well, are these info in a file? and theres tons of form like this? and you have to get the statistics?
i would imagine this could be done in a hashmap kind of way, where the questioner number is the key to all these info (but hear from others, im always wrong )........ and this is no way near a beginner stuff o_o HeavenAgain, thanks for the reply. I am a beginner and im so confused here and the deadline is just days away but still can't get my head around this. I have the numbers the program summary should print out . but i just want to know how to write a program that will print out exactly these figures. Any help will be appreciated |
Author: | HeavenAgain [ Sun Dec 16, 2007 2:10 pm ] |
Post subject: | RE:I Need Java Help Please |
well, statistics right? you just need to get the total number of the forms submitted, and find out how many males and females, the age group, im not sure if postal code is going to do anything, maybe the area they live around, and finally what was their answers example, the age group between 10-20 theres 70% male answered this questioner, and 40% of them answered yes, only 10% did not respond for the first question, and for the 2nd question all of them said no |