1 st option is correct if we want to print the values.but inorder to store the values OPTION 2 (an array of 100 numbers) is the correct answer.
Let us assume the array indexes takes place in the range of 1 to 100.In every index we have to store marks frequency.
for example : if we consider about points scored in class ,the data of how many number of students got 10 points will be stored in 10th index.in the question we have been give with the ranger of [0,100]. so option (2).
In case of printing we have more than 50 points so array index 50 to 100 will be enough.
But in the question we are asked about storing frequency.so option 2 an array of 100 numbers is the correct answer.