tHE FOLLOWING PROCEDURE FINDS THE HIGHEST 3.5 POINTS MARKS IN MATHEMATICS SCORED BY MALE STUDENTS
Answers
Answered by
0
Answer:
The following procedure finds the highest marks in Mathematics scored by a male student and a "female'
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 Arrange all cards in a single pile called Pileli
Step 2. Maintain two variables Mmax, Fmax and initialize them to 0
Step 5. If Pile 1 is empty then stop the iteration
Step 4. Read the top card in Pile 1
Step 5. If Gender is Mr and Mmax » Mathematics marks then store Mathematics marks in Mmax
Step 6. If Gender is 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 ss
Similar questions