flag

UK: /flæɡ/ | US: /flæɡ/

Definition
  1. n. a piece of cloth or similar material, typically oblong or square, attachable by one edge to a pole or rope and used as the symbol or emblem of a country or institution

  2. n. a variable used to indicate a particular condition or status in computing

  3. vt. to mark or signal something for attention

Structure

No data yet.

Etymology

The word "flag" traces back to Old Norse flaga, meaning "a slab of stone" or "a piece of cloth." Over time, it evolved to specifically denote a piece of fabric used as a symbol or signal. The connection between cloth and signaling likely arose from the practical use of banners in medieval warfare and heraldry. The computing sense ("flagging" data) emerged metaphorically in the 20th century, borrowing the idea of marking something visibly.

Examples
  1. The national flag fluttered proudly in the wind.

  2. The system raises a flag when an error is detected.

  3. She flagged the email as urgent.

  4. The referee flagged a penalty during the match.

  5. The ship hoisted a red flag to signal distress.