The discipline for a stack is:
a. data first inserted is the data first out.
b. for a misbehaving stack, 30 lashes.
c. data last inserted is the data first out.
d. depends on the application of the stack.
c)
Explanation:
Part a) is for a queue, which we haven't studied, b) is a joke, c) A stack is LIFO, last-in/first-out. Part d) is nonsense.
Computer Science & Information Technology
You might also like to view...
What is the basic purpose of the infrastructure management process?
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Borders are the lines that divide the columns and rows on a worksheet and define the structure of the worksheet.?
Answer the following statement true (T) or false (F)
Computer Science & Information Technology