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) data last inserted is the data first out.
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.
You might also like to view...
Each module should be tested separately in a procedure called validation testing
Indicate whether the statement is true or false.
What are some benefits to using a layered model to describe network protocols and operations?
What will be an ideal response?
Describe SMTP.
What will be an ideal response?
The devices that the computer uses to display results are called ____ devices.
A. exit B. entry C. output D. input