Multiple choice technology programming languages

The PUSH keyword is used to place data on the ?

  1. Top of stack

  2. Bottom of stack

  3. Middle of stack

  4. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The PUSH instruction in REXX places data onto the top of the external data stack. This is a Last-In-First-Out (LIFO) structure where PUSH adds elements to the top, and PULL retrieves from the top. The stack grows upward, so new items are always placed 'on top' of existing items. Option B (bottom) and C (middle) are incorrect because PUSH always operates on the top of the stack.