The term functions grammatically as a noun phrase. More specifically, it is a compound noun where "quiz" is the head noun, and "patriots day" acts as a multi-word noun adjunct, or attributive noun, that modifies it.
The analysis of this structure begins by identifying the core element, or head, which is "quiz." This word establishes the primary object being discussed. The preceding words, "patriots day," specify the type or subject of that object. In this construction, both "patriots" and "day" are nouns, but they function adjectivally to describe the final noun. This hierarchical modification is common in English; "day" is modified by "patriots" to form a conceptual unit, which then collectively modifies "quiz."
Recognizing this phrase as a noun is essential for proper syntax and semantic interpretation. It allows the entire three-word unit to act as a single grammatical entity, capable of serving as the subject ("The quiz was challenging"), direct object ("She took the quiz"), or object of a preposition ("He studied for the quiz"). This classification is critical for applications like natural language processing, where a system must understand that the user's primary interest is a "quiz" and that "patriots day" provides its specific context.