A competitive examination is an examination where candidates are ranked according to their grades. If the examination is open for n positions, then the first n candidates in ranks pass, the others are rejected. They are used as entrance examinations for university and college admissions or to secondary schools. Another types arecivil service examinations, required for positions in the public sector