A program $P$ reads in $500$ integers in the range $[0, 100]$ representing the scores of $500$ students. It then prints the frequency of each score above $50$. What would be the best way for $P$ to store the frequencies?
An array of $50$ numbers
An array of $100$ numbers
An array of $500$ numbers
A dynamically allocated array of $550$ numbers
https://gateoverflow.in/1347/gate2005_5 you goy it.
frequency : Number of times score is repeated i.e. 51 marks are getting by 10 students so the frequency of 51 is 10.
@ saxena0612 i understood that ,but A[0] can be 60 rather than 51?
Gatecse
Can we challenge this question? We ...