My Report (&Account)

Prefix to Infix Conversion Test


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. What would be the solution to the given prefix notation?

- + 1 2 * 3 / 6 2

2. What would be the solution to the given prefix notation?

- + 5 / 10 5 5

3. What would be the solution to the given prefix notation?

* / + 1 2 / 4 2 + 3 5

4. What would be the solution to the given prefix notation?

- * 1 5 / * / 6 3 6 2

5. Given a prefix and a postfix notation what are the difference between them?

6. The time complexity of converting a prefix notation to infix notation is _________

7. Given two processes (conversion of postfix equation to infix notation and conversion of prefix notation to infix notation), which of the following is easier to implement?

8. What would be the solution to the given prefix notation?

+ 9 * 3 / 8 4

9. When converting the prefix notation into an infix notation, the first step to be followed is ________

10. What would be the solution to the given prefix notation?

/ / / 16 4 2 1

 

Start practicing “1000 MCQs on Data Structure”, and once you are ready, you can take tests on all topics by attempting our “Data Structure Test Series”.

advertisement
advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.