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: 1266
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: 1 year ago.
Category: Homework
Expert:  Raj replied 1 year 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 1 year ago.

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


 

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

no i need the pesudocode



(Points : 10)

Expert:  Raj replied 1 year 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 1 year 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 1 year 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 1 year ago.

yes

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

sounds good thankyou

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

ok


 

Expert:  Raj replied 1 year ago.
Ho much time is left?
Customer: replied 1 year ago.

27 minutes

Expert:  Raj replied 1 year ago.
Ok I will just need 10 mor min to Finish the final part of the Assignment.
Is that fine with you?
Customer: replied 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago.

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

Expert:  Raj replied 1 year 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 1 year 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 1 year ago.

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


 


 


thats the download link

Expert:  Raj replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
Customer: replied 1 year ago.

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

Expert:  Raj replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
Expert:  Raj replied 1 year 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 1 year 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 1 year 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 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
Customer: replied 1 year ago.

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

Expert:  Raj replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.

JustAnswer in the News:

 
 
 
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.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...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
< Last | 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
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3458
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3124
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2385
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1988
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1876
    Bachelors Degree and CPA with Accounting work experience
  • http://ww2.justanswer.com/uploads/avremote/photoa.jpg Seanna's Avatar

    Seanna

    Tutor

    Satisfied Customers:

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

Related Homework Questions

Chat Now With A Tutor
Raj
Raj
Tutor
1266 Satisfied Customers
4 + Experiance in IT Industry