Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Grading Input Program Help

    Problem
    1. Teachers assign various graded activities for their students to complete. A graded activity can be given be given a numeric score such as 70, 85, 90 and so on, and a letter grade such as A,B, C, D, or F.

    Based on the UML below, create the following files:

    GradePgm.java
    This is the driver program that the user will interact with. Use showInputDialog and showMessage

    GradedActivity.java
    The GradedActivity class represents the general characteristics of a student's graded activity. Many different types of graded activities exist, however, such as quizzes, midterm exams, final exams, lab reports, essays, and so on. Because the numeric scores might be determined differently for each of these graded activities, we can create subclasses to handle each one.

    FinalExam.java
    The FinalExam class represents a specific type of graded activity. It will take number of questions on the exam and number of questions missed. It will calculate the points for each question and the numeric score for this exam. All exams are based on 100 points.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    26,027
    Thanks
    79
    Thanked 4,436 Times in 4,401 Posts
    Read this:
    http://www.codingforums.com/rules.htm

    Read especially rule 1.5.

    Now read this:
    http://www.codingforums.com/postguide.htm

    **IF** you make a REAL attempt to do the work and show us your code, and if all it needs is a minor fix or two, then you WILL get help.

    And, finally, this is the JavaSCRIPT forum.

    You question as about JAVA.

    The two languages have the first 4 letters of their name in common and some minor syntax in common (and in common with C and C++, by the by). But that's about it.

    Try posting in the JAVA forum next time. But only AFTER you have done, say, at least 80% of the work.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    26,027
    Thanks
    79
    Thanked 4,436 Times in 4,401 Posts
    Oh, and by the way: How are *WE* supposed to see " the UML below" on which, as it says, all the code is based?
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

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