answersLogoWhite

0


Best Answer

The word 'stack' is a verb and a noun.

  • The verb to 'stack' is to place one thing on top of another to form a pile; to direct aircraft to circle a landing area waiting to land; to arrange cards, facts, or circumstances that will result in an outcome is overwhelmingly likely; a word for an action.
  • The noun 'stack' is a word for a pile of neatly arranged things; a word for a quantity of hay or straw piled for future use; a word for a chimney on a factory, or a vertical exhaust pipe on a vehicle; a word for an area of a library in which most of the books are shelved; a word for a thing.

In computer science (or computer technology or computer programming) a stack is a data structure (how multiple pieces of data are stored internally) so that information is entered into a stack by a computer program and when retrieved, the most recent item put into the stack is the next item to be removed. This kind of stack is also called a push down stack or a Last in First out (LIFO) structure. This is different from a queue where information is retrieved in the order that it was stored, also know as a First in First out (FIFO) structure..

User Avatar

Wiki User

โˆ™ 2016-12-11 17:40:57
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar

Add your answer:

Earn +20 pts
Q: What is a stack?
Write your answer...
Submit
Related questions

How do you create a stack in java?

Stack myStack = new Stack<Object>();


What is implicit stack?

A stack created by the user or a programmer is an implicit stack


What is the Difference between stack and stack pointer?

The stack is a memory structure where your programs can store data. The stack pointer is the variable that "points" to the current location of the top of the stack.


What is a short stack of pancakes?

A stack is 3 pancakes, a short stack is 2.


What is mean by stack?

What is the software in stack ?


How much in a stack?

$1000 in a stack


What is the collective noun of stack?

The noun 'stack' is a standard collective noun for:a stack of booksa stack of carsa stack of dishesa stack of haya stack of librariansa stack of pancakesa stack of planesa stack of platesa stack of suitcasesa stack of wood


How do you use the word stack in a sentence?

Stack these boxes over there, please.There was a stack of cards sitting on the table.


What has the author Gael Stack written?

Gael Stack has written: 'Gael Stack' 'Gael Stack' -- subject(s): Themes, motives


What are the disadvantage of array implementation of stack?

stack using array first not declare stack size and not limited data store in stack.


What is hardware stack and software stack?

hardware stack - a stack implemented in and entirely managed by hardware, this stack will have dedicated memory and registers in the physical hardware of the system.software stack - a stack implemented with and entirely managed by software, this stack will use a small piece of main RAM and variables declared in the program software (making it much easier to modify if necessary than a hardware stack).


How is the stack and stack pointer work?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


Role of stack pointer in stack segment?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


What is the stack algorithm to push an item?

what is stack


What is the use of stack pointer and program counter?

stack pointer is used to find the address of the stack


When was Brian 'Stack' Stevens born?

Brian 'Stack' Stevens was born in 1941.


Can stack be as a pointer?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


What is the function of the stack counter?

Its not a stack counter - its a stack pointer. The stack pointer is a register that points to the top of the stack. In the Intel configuration, it points to the next item to be popped off the stack. To push an item requires that the stack pointer be decremented first, and then the item is written. The inverse operation - the pop - requires read then increment.


An algorithm to Reversing the order of elements on stack S using 1 additional stacks?

// stack to contain content Stack sourceStack = new Stack(); // ... fill sourceStack with content // stack to contain reversed content Stack targetStack = new Stack(); while (!sourceStack.empty()) { targetStack.push(sourceStack.pop()); } // targetStack contains the reversed content of sourceStack


What are the operations on stack?

The main operations of a stack are:1. push - To insert the element into the stack2. pop - To remove an element from the stackOther additional functions can also be performed:3. top - To display the element at the top of the stack4. size - To display the size of the stack5. isempty - To determine whether the stack if empty or not


Installing a second sink more than 5 feet from the stack?

WASTE STACK or VENT STACK?


What is the collective noun for plates?

The collective noun is a stack of plates.


How stack pointer registers are involved in the execution of push and pop instruction?

If the stack is empty assume the stack pointer has a value of P. when you push something on the stack you increment P. when you pull something from stack you decrement P.


What is stack memory?

part of memory organized in stack


How many stack used in DOS?

1 stack