Describe the stack memory (or data) structure. Give a four-word description of the stack discipline.

What will be an ideal response?


A stack data structure is analogous to a stack of paper, where we assume we
have an inexhaustible supply of clean sheets of paper. In order to place information
on the stack, we write it on a clean piece o paper and put the paper on the stack. To
get information we can only read the top piece of paper. To get information further
down, we must remove some paper. The rule is, if a piece is removed, it is thrown
away. The four word description is last-in-first-out, or LIFO.

Computer Science & Information Technology

You might also like to view...

A Web table consists of a table element and a collection of table rows.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The outline of a shape can be completely removed

Indicate whether the statement is true or false

Computer Science & Information Technology

The ________ attribute defines how form data will be sent—either attached to a URL or back to a Web server or e-mail address

Fill in the blank(s) with correct word

Computer Science & Information Technology

Select a transition-timing-function value which configures a transition effect that begins at a constant speed and slows down at the end

a. ease b. linear c. ease-in d. ease-out

Computer Science & Information Technology