In the United Kingdom, the head of state who formally appoints the prime minister, though the prime minister is selected by Parliament.
Topic 2.1: 2.1 Parliamentary, Presidential, and Semi-Presidential Systems
monarch cheat sheet for homework