answersLogoWhite

0

STACK ADT

OBJECTS: a finite ordered list with zero or more elements.

METHODS: for all stack Î Stack, item Î element, max_stack_size Î positive integer

Stack create S(max_stack_size) ::=create an empty stack whose maximum size is max_stack_size

Boolean isFull(stack, max_stack_size)::=

if (number of elements in stack CreateQ(max_queue_size))

return TRUE

else

return FALSE

Element dequeue(queue) ::=

if (IsEmptyQ(queue))

return

else

remove and return the item at front of queue.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is recovery in DBMS?

,j


The dbms or some other related software components which enforce certain recovery and concurrency control are called are?

that's auto-recovery!


Importance of data backup and recovery in DBMS?

Data backup and recovery are essential for safeguarding data, ensuring business continuity, meeting regulatory requirements


WHAT TASKS does dbms do?

A Database Management System or DBMS provides the interface between users and a database. Some of its tasks include: data integrity, security, recovery of data, support concurrent updates and update data.


What is the meaning of durability in DBMS?

Durability is the part of recovery system ,it has response to recover the failure data,it also comes under transaction managment


What are highlights of DBMS?

NA_ what are highlights of advanced DBMS what are highlights of advanced DBMS what are highlights of advanced DBMS


Where can I get more information about hard drive recovery?

To get more information on hard drive recovery for a hard drive crash, you might want to look into www.salvagedata.com as they specialize in hard drive recovery for iso systems.


What enables the smooth recovery of the file system following a system crash or disk failure?

NTFS


Is java DBMS?

no, Java is not dbms.. Java is a programming language Dbms is database


Is SQL DBMS or RDBMS?

dbms


What are three types of dbms?

Hierarchical DBMSNetwork DBMSRelational DBMS


What is the significance of disaster recovery software?

"Disaster recovery software backups your computer files in case of a crash or disaster. When your computer fails, the software has stored your information and files for retrival."