Resposta :
Resposta
LETRA A) 15
LIFO - Last in, firt out
PUSH - insere
POP - remove
TOP/check - consulta
TOPO - superior pilha
BASE - inferior pilha
soma < - 0;
remove(x); -------------------> topo = 5
soma < - soma + x; ---------------> 0+0+5 = 5
x < - 10;
insere (x); -------------------------- > topo = 10
x < - 12;
insere (x); --- ---------------------- > topo = 12
remove (x); ------------------------- > topo = 12
remove (x); ------------------------- > topo = 10
soma < - soma + x; ------------- > soma < - 5 + 10
Bons estudos!