My Raptor chart is a quiz grader. What I did all the work and it works well. Wit
ID: 3720370 • Letter: M
Question
My Raptor chart is a quiz grader. What I did all the work and it works well. With the flowchart I get the wrong answers first and the grade average last. I need for the flowchart to display the answers the other way around.
In the output should first display The final grade average and then at the end The wrong answers.
I have attached pictures of my Raptor Flowchart and will like to know how to flip the answers output. Thank You.
Start (out givenAnswers) index ? 1 Loop "Please enter your answer for question # "+index GET givenAn] swers index index ? index + 1 index>10 No EndExplanation / Answer
We need to keep track of the index whenever a student answered a question incorrectly. We can implement this as a check list which keeps track of all indexes and whether the answered question was correct ot not. We will mark every incorrect answer in this checklist as 0 and every correct answer as 1.
Let us have an array (let's call it checklist[ ] ). While checking in the loop for correctness we can then make checklist[index]=1 if the answer was correct or make checklist[index]=0 if the answer was incorrect.
We can then print the final grade average first in the main flowchart and then print the messages for the incorrect answers by making a separate loop for checklist[ ] and checking if checklist[index] = 0.
If checklist[index] == 0 then we print that the question at this index was answered incorrectly else we don't need to do anything.
You can implement this easily seeing how far you've already gotten.
Hope you understood. Good luck!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.