TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
Graphical representation of Stack
1. MINI PROJECT
CSE205
TOPIC:Graphical reperesntation of stack
Submitted by:
SANJAY KUMAR CHAKRAVARTI
ROLL:A28
SEC:K2R13
Submitted to:
Miss.Deepika sukhija
Dept. cse
Lpu,phagwara
2. Acknowledgement
Apart from the efforts of me, the success of this project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express
my gratitude to the people who have been instrumental in the successful
completion of this project.
I would like to show my greatest appreciation to Miss. Deepika sukhija I can’t say
thank you enough for his tremendous support and help. I feel motivated and
encouraged every time I attend his meeting. Without his encouragement and
guidance this project would not have materialized.
The guidance and support received from all the team members including Mr.
sanjeev kumar and Mr. Abhay kumar who contributed and are contributing to this
project, was vital for the success of the project. I am grateful for their constant
support and help.
4. ABSTRACT
This project was very important for me. In this project I have
show a graphical view of stacks for better understanding. It will
gives you many features as listed below:
1. Graphical view
2. Simple programming language
3. Source code contains comments line where needed
4. A best approach with graphics programming
5. INTRODUCTION
The Stack is a Memory Area where you can store data there and can get
back them again. In computer science, a stack is a last in, first out
(LIFO) abstract data type and linear data structure . A stack can have
any abstract data type as an element , but is characterized by two
fundamental operations, called PUSH and POP. The push operation adds
a new item to the top of the stack, or initializes the stack if it is empty. If
the stack is full and does not contain enough space to accept the given
item, the stack is then considered to be in an overflow state. The pop
operation removes an item from the top of the stack. A pop either
reveals previously concealed items, or results in an empty stack, but if
the stack is empty then it goes into underflow state (It means no items
are present in stack to be removed). A stack is a restricted data
structure , because only a small number of operations are performed on
it. The nature of the pop and push operations also means that stack
elements have a natural order. Elements are removed from the stack in
the reverse order to the order of their addition: therefore, the lower
elements are those that have been on the stack the longest.