Input (grade 6): They are called "shorts" because they are a shortened version of trousers, which cover the entire leg.
Output (grade 11): They are called "shorts" because they are a shortened version of trousers (as they are called in British English, or pants in American English) which cover the entire leg.