A program P reads in 500 integers in the range [0,...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
RPSC Prelims previous year questions

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?

Asked in RPSC 23Feb 2016Question Paper for VicePrincipal/Superintendent ITI Screening Test 2012(Computer Science)VICE PRINCIPAL/SUPDT. ITI - 2012

  1. An array of 50 numbers
  2. An array of 100 numbers
  3. An array of 500 numbers
  4. A dynamically allocated array of 550 numbers

Answer under review: our editors are checking this question. Try the other RPSC Prelims previous year questions questions meanwhile.

More RPSC Prelims previous year questions questions

All 11,309 RPSC Prelims previous year questions questions →