• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Grading Program..... (part 2)

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK guys...I'm starting small. This is what I have so far...Take a peak at my code and see if you can give me some advice... The instructions are at the end of the code.



There are two quizzes, each graded on the basis of 10 points.
There is one midterm exam, and one final exam, each graded on the basis of 100 points.
The final exam counts for 50 % of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores, They should be coverted to percentages before they are averaged in.)

I need to define a class for the student record. The class should have instance variables for the quizzes, miidterm, final, overall numeric score for the course, and final letter grade. The overall numeric score is a number in the range of 0 to 100, which represents the weighted average of the students work. The class should have input and output methods. the input method should not ask for the final numeric grade, nor should it ask for the final letter grade. The class should have methods to compute the overall numeric grade and final letter grade. Thes last two methods will be void methods that set the appropriate instance variables.
________________________________________________________________________

I'd great appreciate any advice.


[ Jess added whitespace and UBB [code] tags to make things easier to read -- check 'em out ]
[ Jess also changed the subject line to differentiate it from the original thread ]
[ October 31, 2004: Message edited by: Jessica Sant ]
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm moving this to the beginner forum where its more appropriate.
Please post your replies here.

Thanks!
[ October 31, 2004: Message edited by: Jessica Sant ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic