+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2008
    Posts
    30
    Points
    45,747.00
    Rep Power
    199

    Default Java Programming--Help----

    CAN SOMEONE PLEASE HELP ME MAKE THIS PROGRAM I DONT GET IT!!

    Write a grading program to be used by a teacher that has the following grading policies. The program should allow the teacher to insert the name of student, the student’s id number, and the grade for each assignment. The program should calculate and display the students totals and the class totals:


    There are two quizzes, each graded on the basis of 10 points (display an error message if the user doesn’t enter a number from 1-10 and prompt them to renter the correct value).
    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 converted to a percent before they are averaged in.)


    Any grade of 90 or more is an A, and grade of 80 or more (but less than 90) is a B, any grade of 70 or more (but less than 80) is a C, any grade of 60 or more (but less than 70) is a D, and any grade below 60 is an F. The program will read in the student’s scores and output the student’s record, which consist of two quizzes and two exam scores as well as the student’s overall numeric score for the entire course and final letter grade.



    Define and use a class for the students’ records. The class should have:

    · Private instance variables for the quizzes, midterm, final, course overall numeric score, and course final letter grade.

    · The overall numeric score is a number in the range from 0 to 100, which represents the weighted average of the student’s work.

    · Various methods

    o Mutator and accessor

    · Arrays

    · Loops (do, for, and do while)

    · If statements

    · Case statements



    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 the final letter grade. Remember, one method can call another method. If you prefer, you can define a single method that sets both the overall numeric score and the final letter grade, but if you do this, use a helping method. Your class should include mutator methods that set a students name and points scored on the two quizzes, the midterm, and final.



    Allow multiple students grades to be computed. After the student’s individual scores are entered and calculated, display the student’s final grade. Use an array to hold the students attributes. After each student's grade is tabulated list the following options for the user to select from (the following should be in the form of a menu):


    a.) Input student personal information

    a. Name

    b. Classification

    c. Id #

    b.) Overall Class Grades

    · Before the class grades are displayed, give the user the option to either display the students name or id number next to their corresponding grade

    o Display each student’s overall grade (just their overall grade, not the grade for each assignment)

    c.) Class Statistics:

    This will display a graph to represent the number of A’s, B’s, C’s, D’s, and E’s for following (once the user has selected this option give them the choice to view the graph for the items listed below):

    · Quizzes

    · Midterm exams

    · Final exams

    · Final grades


    Before you display the graph output the actual number of A’s, B’s, C’s, D’s, and E’s. Your output should look as follows (the number increments are up to you):



    A’s: 7

    B’s: 30

    C’s: 45

    D’s: 15

    E’s: 10


    0 10 20 30 40 50 60 70 80 90 100%

    | | | | | | | | | | |

    ************************************************** *

    *** A

    ************** B

    ********************* C

    ******* D

    **** E



    d.) Class Summary

    · Display all students grades

    a. Before the class grades are displayed, give the user the option to either display the students name or id number next to their corresponding grades:

    i. Display each score on the two quizzes, the midterm, final exam, and final grade.



    e.) Student Summary (individual):

    Look up student using their id number and display the following:

    · The name of the student

    · The students classification

    · The student’s numeric score from each assignment (quiz, midterm, and final).

    · The student’s final letter grade.

    f.) Exit



    You may add other methods if you wish. Your program should start and end with the menu above. Include a demo program to test the class.



    Set two students (including their grades) in the demo program. If I run the program and choose option b the two students will be displayed.

    Thanks In Advance!
    Last edited by c_t_r_h34dsh0t; 01-20-2009 at 01:04 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    Your mom's fresh shaven Cun+.
    Posts
    2,598
    Points
    2,408,762.43
    Rep Power
    216

    Default

    Java's easy, I just finished my 3rd year.

    Unfortunately for you, I don't feel like reading all that.





  3. #3
    Join Date
    Jun 2008
    Posts
    30
    Points
    45,747.00
    Rep Power
    199

    Default

    Quote Originally Posted by xWhite_Shadowx View Post
    Java's easy, I just finished my 3rd year.

    Unfortunately for you, I don't feel like reading all that.
    sorry for my late reply but it's ok. I just don't get programming at all....C++ visualBasics all that lmao. And that was my midterm...emailed it to myself hoping to do it at home.

  4. #4
    Join Date
    May 2008
    Posts
    196
    Points
    116,207.47
    Rep Power
    201

    Default

    yea i dont think anyone is going to read all of it....sum it up to a question???

  5. #5
    Join Date
    Jan 2008
    Posts
    1,401
    Points
    2,129,738.79
    Rep Power
    218

    Default

    I think it's an assignment for his class, and he wants someone to do it for him.


    ◕‿ ◕

  6. #6
    Join Date
    May 2008
    Posts
    196
    Points
    116,207.47
    Rep Power
    201

    Default

    lol probably
    Last edited by solowestside; 01-23-2009 at 08:25 PM.

  7. #7
    Join Date
    Jun 2008
    Posts
    30
    Points
    45,747.00
    Rep Power
    199

    Default

    Quote Originally Posted by KiLL3R View Post
    I think it's an assignment for his class, and he wants someone to do it for him.
    yeah it was my midterm. I wanted a response from someone to help me with it because I really don't get programming at all.

  8. #8
    Join Date
    May 2008
    Posts
    196
    Points
    116,207.47
    Rep Power
    201

    Default

    well i would help but i dont wanna read it all

  9. #9
    Join Date
    Jun 2008
    Location
    Yes.
    Posts
    477
    Points
    325,443.80
    Rep Power
    200

    Default

    Someone should have paid attention in class... xD

  10. #10
    Join Date
    Jun 2008
    Posts
    30
    Points
    45,747.00
    Rep Power
    199

    Default

    Quote Originally Posted by BlaZe_FiRE View Post
    Someone should have paid attention in class... xD
    no no I actually study...read over my notes...practice... all that stuff and it didnt help at all. Programming just doesn't come to me like other subjects.

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts