Lab Assignment 3 (Expression - Stack)
Lab Assignment 3 (Expression - Stack)
Data Structures
LABORATORY WRITE UP
Experiment Number: 03
PROBLEM STATEMENT:
Implement stack as an ADT and apply it for different expression conversions (infix to postfix or
infix to prefix (Any one), prefix to postfix or prefix to infix, postfix to infix or postfix to prefix
(Any one)).
OBJECTIVE:
IMPLEMENTATION:
● PLATFORM:
o 64-bit Open source Linux or its derivatives.
o Open Source C Programming tool like gcc/Eclipse Editor.
● TEST CONDITIONS:-
● CONCLUSION:
Thus, implemented Stack Operations assignment using Array concepts. This System is
able to apply different expression conversions.
● PRACTICE ASSIGNMENTS
1. Write a program for evaluation of postfix expressions.
2. Write a program to check whether a string is a palindrome or not using stack.
3. Write a program to convert decimal to binary using stack.