CS2210 Oct Nov 2024 Paper 2 Variant 2 Marking Scheme
CS2210 Oct Nov 2024 Paper 2 Variant 2 Marking Scheme
PUBLISHED
Question Answer Marks
Data Structures required names shown underlined must match those given in the scenario
2D Array or list PickerName[], PickedWeight[], PickerCertificate[]
Variables
Requirements (techniques)
R1 Input and validate the weights (input and iteration)
R2 sort the PickerName[], and PickedWeight[]arrays in descending order of weight (nested iteration and sorting)
R3 Output top two members and the weights. Storing the members names who will receive a certificate and outputting the
number of certificates (iteration, selection, assignment, counting and output with appropriate messages)