AS Computing F452 OCR What is Algorithm? What is Pseudo code? What is flow chart? Pseudo code is an informal high-level description of the operating principle of a computer program or other algorithm. 1.6 Produce Algorithms to solve problems A computer program is designed to store the results of matches in a football completions and calculate the ranking of the teams. When the results are entered, the number of points of each team are updated as follows. 1- if both teams the same number of goals (Draw) then each gets 1 point 2- if one team has more goals than the other( i.e. there is a winner) then the winning team gets 3 points, and the losing team gets 0 points. If Draw IF goals_of_First_Team = goals_of_second_team THEN Points_of(first_team) = points_of(first_team) + 1 Points_of_(seconds_team) = points_of(second_team) +1 END IF If there is a winner IF goals_of_First_Team > goals_of_second_team THEN Points_of(first_team) = points_of(first_team) + 3 ELSEIF goals_of_second_team > goals_of_first_team THEN Points_of_(seconds_team) = points_of(second_team) +3 END IF
© Copyright 2026 Paperzz