Declare TestScore as integer
Write "Enter your Test Score and Your Grade will be Displayed"
INPUT Test Score
Write "Your Grade is an A"
Else IF TestScore>80
Write "Your Grade is an B"
Else IF TestScore>70
Write "Your Grade is an C"
Else IF TestScore>60
Write "Your Grade is an D"
Write "Your Grade is an F"
1. List variables: Declare TestScore as an integer
2. List prompts: INPUT Test Score
3. Show what PC monitor will display when values 86, 55, and 100 are used.
"Your Grade is an B" - for 86
"Your Grade is an F"-for 55
"Your Grade is an A"-100
4. Write a new program in pseudo-code, it should input and calculate the average of 5 test scores, then numbers entered.
Declare NUM1, NUM2, NUM3, NUM4, and NUM5
Declare average as real
Write "5 positive numbers"
Input NUM1, NUM2, NUM3, NUM4, NUM5
Average="The Average of 5 Numbers entered is", Average
You have made a fair attempt at the problem. I must say you have got a good understanding of the problem. I have just made cosmetic changes to your solutions. Note in 5 you have to calculate the average of the 5 numbers by adding them up and dividing by 5.
Hope that helps. If you ...
Shows a pseudo-code for Test Score Grade calculation
Statistics: Calculate z-scores for each student's test grades
One professor teaches a large section, section A, of a particular class, and on the first test of the term, the test scores in section A were approximately normally distributed with a mean of 78 and a standard deviation of 6. Another professor also teaches a large section, section B, of the same class, and on the first test of the term, the test scores in section B were also approximately normally distributed with a mean of 74 and a standard deviation of 10.
Two students, one from each section, earned a grade of 92 on the exam. The student from section B claims that he did better because the section B test, with a mean of 74, was obviously more difficult than the section A test with a mean of 78. However, the student from section A claims that because she has a higher z-score, she actually performed "better." Calculate the z-scores for each student's test grade and settle their dispute; that is, decide who had the superior performance on this test.View Full Posting Details