Membel
German NOUN B2 Rank 15390

der Stack

stack

Checking...

Loading your saved state.

Meanings

01 / 03
01

der Stack

stack

In computer science, a data structure that works according to the Last-In-First-Out principle (LIFO). Elements are placed on top of the stack and removed from there as well.

example

Bei einem Funktionsaufruf werden die lokalen Variablen auf dem Stack gespeichert.

During a function call, the local variables are stored on the stack.

Visual example for Stack: der Stack

Usage tips

Compare with

near_synonym · confusable

Stack vs Keller

basement

'der Keller' and 'der Stack' can both have to do with storing things, but they do not mean the same thing. A 'Keller' is a room in the lower part of a building, often underground. It is where you store things like boxes, tools, or drinks. A 'Stack' is a pile or bundled amount of identical things, especially in computer games. Learners might confuse the words when the topic is stored items in general. In practice: 'der Keller' is the place, while 'der Stack' is the amount or pile.

Visual example for Keller
Stack

Im Spiel legt der Gast einen neuen Stack Holz in sein Inventar.

In the game, the guest puts a new stack of wood in his inventory.

Keller

Am Abend holt er die Winterjacken aus dem Keller.

In the evening, he gets the winter jackets from the basement.

Open full lesson: Keller →

In real life

Loading video examples...