• 100% Satisfaction Guarantee

Raj, Engineer
Category: Homework
Satisfied Customers: 1281
Experience:  4 + Experiance in IT Industry
16752232
Raj is online now

# 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%
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: 2 years ago.
Category: Homework
Expert:  Raj replied 2 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 2 years ago.

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

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

no i need the pesudocode

(Points : 10)

Expert:  Raj replied 2 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 2 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 2 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 2 years ago.

yes

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

sounds good thankyou

Expert:  Raj replied 2 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 2 years ago.

ok

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

27 minutes

Expert:  Raj replied 2 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 2 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%
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 2 years ago.
Done.

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 2 years ago.
I think my last post containing the solution did not get posted so I am posting it again:

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 2 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%
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 2 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 3: When Upload is 100% Complete it will provide the following details for the file:
STEP 4: Copy both the details and post them here.

Thank You.

Customer: replied 2 years ago.

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

Expert:  Raj replied 2 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 3: When Upload is 100% Complete it will provide the following details for the file:
STEP 4: Copy both the details and post them here.

Thank You.
Expert:  Raj replied 2 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 2 years ago.

Expert:  Raj replied 2 years ago.

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

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

Expert:  Raj replied 2 years ago.

You need to spend \$3 to view this post. Add Funds to your account and buy credits.
Expert:  Raj replied 2 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 2 years ago.

I was thinking of somthing like this

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
scoreExam = student(avgExam) * weightExam
scoreQuiz = student(avgQuiz) * weightQuiz
scoreLab = student(avgLab) * weightLab
finalScore = scoreExam + scoreQuiz + scoreLab
IF (final_score > 90) THEN
ELSE
IF (finalScore >= 80) AND (finalScore <= 89) THEN
ELSE
IF (finalScore >= 70) AND (finalScore <= 79) THEN
ELSE
IF (finalScore >= 60) AND (finalScore <= 69) THEN
ELSE
IF (finalScore < 59) THEN
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)
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

InputStudentData(studentName, examAverage, quizAverage, labAverage)
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

Set score = (exam * .6) + (quiz * .2) + (lab * .2)
if (score >= 90) then
else if (score >= 80) then
else if (score >= 70) then
else if (score >= 60) then
else
end if
End

Display “Student Name: “ + name
Display “Final Average: “ + score
End

Expert:  Raj replied 2 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 2 years ago.

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

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

Expert:  Raj replied 2 years ago.

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

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
• He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

• ### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >

### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML

### Manal Elkhoshkhany

#### Satisfied Customers:

4538
More than 5000 online tutoring sessions.

### Linda_us

#### Satisfied Customers:

3138
Post Graduate Diploma in Management (MBA)

### Chris M.

#### Satisfied Customers:

2602
Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

### F. Naz

#### Satisfied Customers:

2126
Experience with chartered accountancy

### Bizhelp

#### Satisfied Customers:

1887
Bachelors Degree and CPA with Accounting work experience

### Seanna

#### Satisfied Customers:

1781
3,000+ satisfied customers, all topics, A+ work