Membel
German NOUN B1 Rank 10093

die Flag

flag

Checking...

Loading your saved state.

Meanings

01

die Flag

flag

In computer science, a signal, variable, or marker that indicates a specific state, often as a binary switch (e.g., on/off, true/false).

example

Der Programmierer setzte eine Flag, um zu markieren, dass die Datei bereits bearbeitet wurde.

The programmer set a flag to mark that the file had already been processed.

Visual example for Flag: die Flag

Usage tips

Compare with

near_synonym · confusable

Flag vs Signal

signal

'das Signal' and 'die Flag' can both indicate information in technical contexts. However, 'Signal' is much more general: it can transmit technical information, for example as an electrical or digital signal. 'Flag' is more specific and belongs mainly to computer science. It is a marker or variable that shows a state, often simply on or off, true or false. The words can be confused because a flag acts like a small signal in a program. Strictly speaking, however, a flag is not just any signal, but a specific state indicator.

Visual example for Signal
Flag

Die Entwicklerin setzt eine Flag, damit das Programm den Fehler nur einmal meldet.

The developer sets a flag so that the program reports the error only once.

Signal

Das Signal vom Sensor kommt zu spät am Computer an.

The signal from the sensor reaches the computer too late.

Open full lesson: Signal →

In real life

Loading video examples...