Reference no: EM13693707
Make this program using java programming. Make this application in simple way.
Enhance the Test Score applicaion so it uses a "while" or a "do-while" loop plus a for loop.
NEED THE JAVA CODE
Part 1: Open the project named ch04_ex3_TestScore that stored in the ex_starts directory. Then, run the application to see how it works.
Part 2: Change the while statement to a do-while statement, andtest this change. Does this work any better than the while loop?
Part 3: Enhance the program so it uses a while or do-while loop that lets the user enter more than one set of test scores. When you do that, be sure to move the declaratios for the variables inside the loop so these variables ar einitialized each time through the loop. Test the application to make sure it works.
Part 4: Add code at the beginning of the while or do-while loop that asks the user how many test scores are going to be entered. Then, use this number in a for loop to get that many test score entries from the user. When the for loop ends, the program should display the sumamry data for the test scores. Test these enhancements.
Part 5: If you didn't alread do it, make sure that the code in the for loop doesn't count an invalid entry. In that case, an error message should be displayed and the counter should be decremented by one. Now, test to make sure this works.
Add comments in code section that will be useful in the future.
How many bits should immediate field of i-type instruction
: By how many bits should the immediate field of an I-type instruction be reduced to match the length on an R-type instruction for the follow modifications to the MIPS architecture?
|
Provide the structure of the major organic product
: Problem- Provide the structure of the major organic product that results when 4-methlhexanal is heated in base and undergoes an aldol addition followed by dehydration
|
Prepare a java program draws a chess board
: Write a Java program "chess.java" that draws a chess board with 8 x 8 squares, half of the squares are filled black and are interleaved with the white squares.
|
Define how many millmoles of acetate need to add to solution
: Problem- you need to to produce a buffer solution that has a pH of 5.17 You already have a solution that contains 10 mmol (millimoles) of acetic acid. How many millmoles of acetate (the conjugate base of acetic acid) will you need to add to this s..
|
Enhance the test score applicaion
: Enhance the Test Score applicaion so it uses a "while" or a "do-while" loop plus a for loop - Change the while statement to a do-while statement, andtest this change. Does this work any better than the while loop?
|
How a firewall can distinguish between two incoming requests
: Explain how a firewall can distinguish between two incoming requests allowing one while denying the other - Can someone provide the answer with reference to computer networking?
|
Describe the process for reporting a computer crime
: From the e-Activity, list the agencies that enforce the computer crime laws for your state. Describe the process for reporting a computer crime and the resources available to assist victims of computer crime in your state.
|
What fraction of hydrogen bonds are broken
: Problem- Suppose a hydrogen bond in water has an energy of about 2 kcal/mol. Suppose a "made" bond is the ground state in a two state model and a "broken" bond is the excited state. At T = 300K, what fraction of hydrogen bonds are broken
|
Describe the various levels of penalties
: Describe the various levels of penalties that someone can face for breaking the following laws including the Computer Fraud and Abuse Act of 1986 and the Florida Criminal Use of Personal Identification Information.
|