Grade Calculation of Test Score
Not what you're looking for?
START
Declare TestScore as integer
Write "Enter your Test Score and Your Grade will be Displayed"
INPUT Test Score
If TestScore>90
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"
Else
Write "Your Grade is an F"
End IF
Questions
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
Stop
Purchase this Solution
Solution Summary
Shows a pseudo-code for Test Score Grade calculation
Solution Preview
Very Good!
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 ...
Purchase this Solution
Free BrainMass Quizzes
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Basic Networking Questions
This quiz consists of some basic networking questions.
C# variables and classes
This quiz contains questions about C# classes and variables.