Define this abstract data type using an algebraic specification.

An abstract data type representing a stack has the following operations
associated with it:
New: Bring a stack into existence
Push: Add an element to the top of the stack
Top: Evaluate the element on top of the stack
Retract: Remove the top element from the stack and return the
modified stack
Empty: True if there are no elements on the stack

Computer Science & Information Technology

You might also like to view...

The name of a slide master cannot be changed

Indicate whether the statement is true or false

Computer Science & Information Technology

What Windows tool is used to monitor memory utilization?

A) Device Manager B) Task Manager C) Memory Manager D) System Configuration tool

Computer Science & Information Technology