How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Raj Your Own Question
Raj
Raj, Engineer
Category: Homework
Satisfied Customers: 1290
Experience:  4 + Experiance in IT Industry
16752232
Type Your Homework Question Here...
Raj is online now
A new question is answered every 9 seconds

Professor Robinson has asked you to design the logic that will

Customer Question

Professor Robinson has asked you to design the logic that will be used to calculate final class averages and grades for his students. His grading algorithm is as follows:
Exam average: 60%
Quiz average: 20%
Lab average: 20%
For each student, Professor Robinson will enter the value for each of the averages (exam, quiz, and lab). Then, using the weighting above, the program will calculate the final student class average and store each student’s final average into an array. The program will then determine the letter grade for each student using the following criteria:
90 – 100: A
80 – 89: B
70 – 79: C
60 – 69: D
Less than 59: F
The program should produce the following output for the student:
Student Name: XXXXXXXXXXXXX
Final Average: 80.5%
Final Grade: X
The program should use separate procedures for:
· inputting the data;
· determining the Final Grade; and
· displaying the results.

The following is the Hierarchy Chart for the design, and notice that modules should pass data between them to perform the necessary processing.
Submitted: 3 years ago.
Category: Homework
Expert:  Raj replied 3 years ago.
Hi There,

I will be helping you with the solution.
Let me know the deadline and the software in which you need the solution?
Customer: replied 3 years ago.

dead line is at 12am its 11;07 right now


 

Expert:  Raj replied 3 years ago.
Ok And you need it in Visual Logic?
Customer: replied 3 years ago.

no i need the pesudocode



(Points : 10)

Expert:  Raj replied 3 years ago.
Ok I am working on it and Will have Pseudocode ready in next 20 min.

Is there any format to be used for Pseudocode or is it to be written in general Pseudocode terms.
Customer: replied 3 years ago.

i think its general psedocode term if you can show me a sample i will be able to tell you if its the right way


 

Expert:  Raj replied 3 years ago.
Its Something Like as follows:

START
Main Module
Declare number as Integer

Display "Enter a Number to Display : "
Get number

Display "You Entered : " + number
End Main Module
STOP

The Above Pseudocode sample will ask user for a number of type Integer and than print that number on the screen.

Is the above sample format fine to be used?
Customer: replied 3 years ago.

yes

Expert:  Raj replied 3 years ago.
Ok As We Speek I have almost completed half the Pseudocode of the Requirement.
Customer: replied 3 years ago.

sounds good thankyou

Expert:  Raj replied 3 years ago.
Please stay online for next 10 min and I will provide you Pseudocode for the requirement in an MS Word file.
Customer: replied 3 years ago.

ok


 

Expert:  Raj replied 3 years ago.
Ho much time is left?
Customer: replied 3 years ago.

27 minutes

Expert:  Raj replied 3 years ago.
Ok I will just need 10 mor min to Finish the final part of the Assignment.
Is that fine with you?
Customer: replied 3 years ago.

1. (TCO 3, 10) Review the following scenario and complete the modular design where the main module only controls the execution of the modules.
Scenario:

Professor Robinson has asked you to design the logic that will be used to calculate final class averages and grades for his students. His grading algorithm is as follows:
Exam average: 60%
Quiz average: 20%
Lab average: 20%
For each student, Professor Robinson will enter the value for each of the averages (exam, quiz, and lab). Then, using the weighting above, the program will calculate the final student class average and store each student’s final average into an array. The program will then determine the letter grade for each student using the following criteria:
90 – 100: A
80 – 89: B
70 – 79: C
60 – 69: D
Less than 59: F
The program should produce the following output for the student:
Student Name: XXXXXXXXXXXXX
Final Average: 80.5%
Final Grade: X
The program should use separate procedures for:
· inputting the data;
· determining the Final Grade; and
· displaying the results.

The following is the Hierarchy Chart for the design, and notice that modules should pass data between them to perform the necessary processing.


(Points : 10)

Expert:  Raj replied 3 years ago.
Done.

Solution Pseudocode is ready and I have made it presentable.

Please download the Pseudocode in MS Word file from the link below:
CLICK HERE TO DOWNLOAD

If you face any difficulty than feel free to ask for help.

If the solution file is satisfactory than Please don't forget to RATE the Answer.
It will hardly take few seconds to RATE my Answer

Thank You and Have a Good Day.
Expert:  Raj replied 3 years ago.
I think my last post containing the solution did not get posted so I am posting it again:

Solution Pseudocode is ready and I have made it presentable.

Please download the Pseudocode in MS Word file from the link below:
CLICK HERE TO DOWNLOAD

If you face any difficulty than feel free to ask for help.

If the solution file is satisfactory than Please don't forget to RATE the Answer.
It will hardly take few seconds to RATE my Answer

Thank You and Have a Good Day.
Customer: replied 3 years ago.

last part of the question is what i really need to finish.


 


 


1. (TCO 3, 10) Review the following scenario and complete the modular design where the main module only controls the execution of the modules.
Scenario:

Professor Robinson has asked you to design the logic that will be used to calculate final class averages and grades for his students. His grading algorithm is as follows:
Exam average: 60%
Quiz average: 20%
Lab average: 20%
For each student, Professor Robinson will enter the value for each of the averages (exam, quiz, and lab). Then, using the weighting above, the program will calculate the final student class average and store each student’s final average into an array. The program will then determine the letter grade for each student using the following criteria:
90 – 100: A
80 – 89: B
70 – 79: C
60 – 69: D
Less than 59: F
The program should produce the following output for the student:
Student Name: XXXXXXXXXXXXX
Final Average: 80.5%
Final Grade: X
The program should use separate procedures for:
· inputting the data;
· determining the Final Grade; and
· displaying the results.

The following is the Hierarchy Chart for the design, and notice that modules should pass data between them to perform the necessary processing.


(Points : 10)


 


 


 

Expert:  Raj replied 3 years ago.

What last part??

 

Is there any Image??

 

Please let me know full detail of last part as its not visible

 

If you have any MS Word file than you can post it to me using the following steps:

 

STEP 1: GOTO Website www.wikisend.com
STEP 2: Upload your file there.
STEP 3: When Upload is 100% Complete it will provide the following details for the file:
FILE ID and Download Link
STEP 4: Copy both the details and post them here.

Thank You.

Customer: replied 3 years ago.

the image this pseudo code is different then ours ill show u an example

Expert:  Raj replied 3 years ago.

If you have any MS Word file than you can post it to me using the following steps:

 

STEP 1: GOTO Website www.wikisend.com
STEP 2: Upload your file there.
STEP 3: When Upload is 100% Complete it will provide the following details for the file:
FILE ID and Download Link
STEP 4: Copy both the details and post them here.

Thank You.
Expert:  Raj replied 3 years ago.
Does Modules in your Pseudocode looks like as follows:

Input Module (Name[] ByRef, Score[] ByRef, count ByRef)

End Input Module

Do you mean that change??
Customer: replied 3 years ago.

http://wikisend.com/download/468780/2013-08-26Waqas_pseudocode_solution_for_student_grading.doc


 


 


thats the download link

Expert:  Raj replied 3 years ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Customer: replied 3 years ago.

For (i = 0 ; i < count ; i++) whaT does i stands for??

Expert:  Raj replied 3 years ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Expert:  Raj replied 3 years ago.
If you want I can convert it to DO WHILE which is explained in the document provided by you..

Will that be fine??
Customer: replied 3 years ago.

I was thinking of somthing like this


 


BEGIN DetermineGrade
START
DECLARE ARRAY student
DECALRE INTEGER count = 0
DECALRE INTEGER weightExam = 0.60
DECALRE INTEGER weightQuiz = 0.20
DECALRE INTEGER weightLab = 0.20
DECLARE REAL avgExam = 0
DECLARE REAL avgQuiz = 0
DECLARE REAL avgLab = 0
DECLARE INTEGER sumExam = 0
DECLARE INTEGER sumQuiz = 0
DECLARE INTEGER sumLab = 0
STOP
START InputStudentData
PROMPT "Enter students name: "
GET student(name)
PROMPT "Exam average: "
GET student(avgExam)
PROMPT " Quiz average: "
GET student(avgQuiz)
PROMPT " Lab average: "
GET student(avgLab)
count = count + 1
sumExam = sumExam + student(avgExam)
sumQuiz = sumQuiz + student(avgQuiz)
sumLab = sumLab + student(avgLab)
STOP
START CalculateGrade
scoreExam = student(avgExam) * weightExam
scoreQuiz = student(avgQuiz) * weightQuiz
scoreLab = student(avgLab) * weightLab
finalScore = scoreExam + scoreQuiz + scoreLab
IF (final_score > 90) THEN
student(grade) = "A"
ELSE
IF (finalScore >= 80) AND (finalScore <= 89) THEN
student(grade) = "B"
ELSE
IF (finalScore >= 70) AND (finalScore <= 79) THEN
student(grade) = "C"
ELSE
IF (finalScore >= 60) AND (finalScore <= 69) THEN
student(grade) = "D"
ELSE
IF (finalScore < 59) THEN
student(grade) = "F"
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
avgExam= sumExam / count
avgQuiz = sumQuiz / count
avgLab = sumLab / count
STOP
START DisplayResult
DISPLAY "Student Name: " + student(name)
DISPLAY "Final Average: " + student(finalScore)
DISPLAY "Final Grade: " + student(grade)
STOP
END


Instructor Explanation: Answers may vary, and the following is one possible solution:

start main module
Declare string studentName
Declare real examAverage
Declare real quizAverage
Declare real labAverage
Declare real finalAverage
Declare character finalGrade

InputStudentData(studentName, examAverage, quizAverage, labAverage)
CalculateGrade DisplayResult(examAverage, quizAverage, labAverage, finalAverage, finalGrade)
DisplayResult(studentName, finalAverage, finalGrade)
end main
InputStudentData(name, exam, quiz, lab)
Display “Enter student name: “
Input name

Display “Enter exam average: “
Input exam

Display “Enter quiz average: “
Input quiz

Display “Enter lab average: “
Input lab

End

CalculateGrade(exam, quiz, lab, score, grade)

Set score = (exam * .6) + (quiz * .2) + (lab * .2)
if (score >= 90) then
grade = “A”
else if (score >= 80) then
grade = “B”
else if (score >= 70) then
grade = “C”
else if (score >= 60) then
grade = “D”
else
grade = “F”
end if
End

DisplayResult(name, score, grade)
Display “Student Name: “ + name
Display “Final Average: “ + score
Display “Final Grade: “ + grade
End

Expert:  Raj replied 3 years ago.
Ok So In your requirement Array is represented as () instead of []

So Do you want me to go ahead with the changes to be done in the code?
Expert:  Raj replied 3 years ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Customer: replied 3 years ago.

its 12:30 im not able to submit after 12 but thnx anyways

Expert:  Raj replied 3 years ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.

Related Homework Questions