1) The following procedure finds the highest marks in Mathematics scored by a "male" student and a "female" 3.5 points
student from the "Scores" dataset. But the programmer may have made mistakes in one or more steps. Identify all such
steps (if any). It is a Multiple Select Question (MSQ).
Step 1. Arrange all cards in a single pile called Pile 1
Step 2. Maintain two variables Mmax, Fmax and initialize them to 0
Step 3. If Pile 1 is empty then stop the iteration
Step 4. Read the top card in Pile 1
Step 5. If Gender is "M" and Mmax > Mathematics marks then store Mathematics marks in Mmax
Step 6. If Gender is "F" and Fmax > Mathematics marks then store Mathematics marks in Fmax
Step 7. Move the current card to another pile called Pile 2 and repeat from step 3
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
No mistake
Answers
Answered by
0
Answer:
just a few days ago I was a little k
Similar questions