Course Hero Logo

DataStructures-Semister project documentation.docx -...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 6 out of 19 pages.

SEMISTER PROJECTDOCUMENTATIONApplication of Stacks in Expression Conversion, 2021AWINI IRENE APUSWINUGR0201810221
APPLICATION OF STACKS IN EXPRESSION CONVERSIONBYAWINI IRENE APUSWIN (UGR0201810221)ICST LEVEL 300 (IT OPTION)SUPERVISED BYMR VINCENT AMAKONA (LECTURER)A PROJECT DOCUMENTATION SUBMITTED TO MR VINCENTAMANKONA (LECTURE) DEPARTMENT OF ICST. CATHOLICUNIVERSITY COLLEGE OF GHANA IN PARTIAL FULFILMENT OFSEMESTER ASSESSMENT PROJECT ON THE SUBJECT: DATASTRUCTURES AND ALGORITHM
APPROVAL PAGEThis is to certify that this project documentation is written by Awini Irene Apuswinwith Student Registration Number UGR0201810221 and has been approved by Mr.Vincent Amankona (Lecturer) CATHOLIC UNIVERSITY COLLEGE OFGHANA, FIAPRE in partial fulfillment for the semester project…………………………….……………….(Project Supervisor).Date…………………………….……………….External SupervisorDate
AbstractThis is a program that shows expressions can be converted from one form toanother, for example; converting an expression from infix to postfix, infix toprefix, postfix to infix and prefix to infix. This program will make it easy for usersto arrive at answers easily by inputting the expression that needs to converted andselecting which type of conversion that needs to be done, and the answer isdisplayed to the console.AcknowledgementI am grateful to God almighty for the protection and guidance throughout thiswork. Also thankful to my Lecturer, Mr. Vincent Amankona for his selflesssupport. Not also forgetting my wonderful classmates. God bless you all.
INTRODUCTIONA stack is an abstract data structure. It’s just like the dequeue (double-ended queue)or the queue. The only difference is you can only add elements into the datastructure from one end, the top.To visualize what this means, I like to think of it as a tall pile of books. You canonly place one book on top of the other. You can’t add a book to the bottom of thepile, and adding one into the middle or anywhere else may not be the brightest idea.Same goes for pulling one out from the bottom of the pile. You might literally getsmacked in the face with some knowledge — don’t do it!In other words, a stack is a LIFO (last in, first out) data structure. The last book to

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 19 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
N/A
Tags
Infix notation, Reverse Polish notation

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture