Demerit

A Demerit is a mark given for infractions given to people in educational institutions or serving in the military.

At Starfleet Academy in the 2250s demerits were issued to cadets who violated institutional rules or behaved in undesirable ways. Accumulating 100 demerits was grounds for expulsion from the institution. After reprogramming the simulator to beat the Kobayashi Maru scenario future USS Enterprise (NCC-1701) Captain James T. Kirk was issued 99 demerits along with a commendation for original thinking. (SS TOS (A Test of Character))

In an alternate timeline, Kirk joked with Captain Hunter of the USS Afren that she still appeared to be collecting demerits when the pair met up at the station Aleph Prime. Hunter responded that Kirk was still quite regular military. 

In his early career DS9 security chief Jefferson Blackmer accumulated several demerits.