Write a program that calculates the homework assignment grade points (a 100 poin
ID: 3604178 • Letter: W
Question
Write a program that calculates the homework assignment grade points (a 100 points scale) according to the rule below:
Rule #1:
The score calculation is based on:
1. all problems are attempted (40 percent) before the due date, and
2. 75% or more are correct (40 percent proportionally to the attempted ones), and
3. all “Programming Projects” are submitted with a program that produces correct result in Netbeans REGARDLESS the verdict from MyProgrammingLab system (20 percent).
You may try to do the problems multiple times if you cannot get them right first time and you may go back to correct (and re-submit) wrong problems even after due date with no penalties.
Rule #2:
Assignment submitted after the scheduled due date will drop 1/2 of points
The program should prompt use to input the following data and calculate and output the result for each student:
Prompt for data:
1 Number of problems attempted on or before due date
2. Number of correct problems among (1) above
3. Number of problems attempted after due date
4. Number of correct problems among (3) above
5. Number of un-attempted problems
6. Number of “Programming Projects” submitted
7. Number of “Programming Projects” not submitted
Explanation / Answer
import java.util.Random;
/**
* Draws random squares
*/
public class RandomSquares
{
public static void main(String[] args)
{
final int MAX_X = 200;
final int MAX_Y = 300;
Random gen = new Random(987456789);
}
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.