The stack uses which policy out of the following-- LIFO, FIFO, Round Robin or none of these ?

This question is related to Cisco Interview

Showing Answers 1 - 16 of 16 Answers

Shaik

  • Jun 30th, 2005
 

i am sorry i do not agree with fifo concept in STACK 
It in fact is LIFO where as FIFO applies for qeues

vikas s kulkarni

  • Aug 3rd, 2005
 

lifo stratergy is used

  Was this answer useful?  Yes

Praveen

  • Aug 15th, 2005
 

LIFO

  Was this answer useful?  Yes

mamathi

  • Sep 2nd, 2005
 

LIFO

  Was this answer useful?  Yes

Neha

  • Oct 31st, 2005
 

LIFO

  Was this answer useful?  Yes

Neha Sinha

  • Oct 31st, 2005
 

LIFO

  Was this answer useful?  Yes

prakhar

  • Apr 19th, 2006
 

LIFO(last in fast out)

  Was this answer useful?  Yes

sateesh

  • Jun 11th, 2006
 

it is absolutely uses LIFO ,means LastInFisrtOut

  Was this answer useful?  Yes

RINWAZ

  • Oct 13th, 2006
 

HI,

The answer for this question is  LIFO.

  Was this answer useful?  Yes

AC Metz

  • Feb 1st, 2007
 

LIFO - Last In First Out - in a stack you stack things on top of each other. The last thing that you stacked on is the first thing that you can take off. LIFO.

  Was this answer useful?  Yes

Jagadish

  • Apr 20th, 2007
 

When you stack up objects say plates, first plate which goes at the bottom of the stack can only be removed last.

FILO ( First In Last Out)

  Was this answer useful?  Yes

prabhat1988

  • Jun 12th, 2010
 

LIFO is the right answer, Practically we see STACK is keeping number of CDs on each other in that scenario the last CD we kept in a box will be out first but in queue the person who is first in a queue where choclate is being distributed will get the choclate first so STACK is on LIFO and QUEUE is on FIFO

  Was this answer useful?  Yes

subash

  • Sep 11th, 2012
 

The operation is dependent upon the microprocessor and the stack operation is simplified as first in last out(filo)

  Was this answer useful?  Yes

raji

  • Mar 13th, 2013
 

Stack uses LIFO. Example for LIFO is collection of coins arranged one by one.

  Was this answer useful?  Yes

rashs

  • Jun 5th, 2015
 

Stack uses LIFO policy.

  Was this answer useful?  Yes

k.v.bhavani

  • Jul 11th, 2015
 

LIFO. Last in first out. Stack has two operations in one place that is push and pop.
Push means it inserts the value or data one bye one.
Pop means it removes the data one by one

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions