In gymnastics, a "compulsory" routine refers to a routine that every gymnast performs. The skills and order of skills are compulsory for a good score. They are written by the main organization for the competition (such as USA Gymnastics for the Junior Olympic competitions or the International Gymnastics Federation for international meets).
In many countries, beginning gymnasts have a series of compulsory routines they perform as they learn the sport. This ensures that all gymnasts are learning the same basic skills and have a good grounding before moving up to more difficult routines.
In women's artistic gymnastics, compulsory routines were part of team competition at the international level. These routines would involve very simple skills and be artistic rather than technically difficult. The last Olympics with compulsory routines was 1996.