+91-9350504919 support@wiredfaculty.com
Wired Faculty Logo
Wired Faculty Logo Wired Faculty

NCERT Classes

  • NCERT Solutions
  • Class 7
  • Class 8
  • Class 9
  • Class 10
  • Class 11
  • Class 12

Previous Year Papers

  • Previous Year Papers
  • CBSE Class 10 and 12
  • NEET Class 12
  • IIT JEE-Main Class 12
  • ICSE Class 10 Class 12
  • CLAT Class 12

Entrance Exams

  • Competition Exams
  • IIT-JEE
  • NEET
  • CLAT
  • SSC-CGL
  • SSC-CHSL

State Boards

  • NCERT Solutions
  • Assam Board
  • UP Board English Medium
  • Up Board Hindi Medium
  • CBSE Board English Medium
  • CBSE Board Hindi Medium
  • Manipur Board
  • Goa Board
  • Gujrat Board
  • Haryana Board English Medium
  • Haryana Board Hindi Medium
  • Uttarakhand Board English Medium
  • Uttarakhand Board Hindi Medium
  • Himachal Board English Medium
  • Himachal Board Hindi Medium
  • ICSE Board
  • Jharkhand Board English Medium
  • Jharkhand Board Hindi Medium
  • Karnataka Board
  • Meghalya Board
  • Nagaland Board
  • Punjab Board
  • Rajasthan Board English Medium
  • Rajasthan Board Hindi Medium

For Daily Free Study Material Join wiredfaculty

Home > Stacks & Queues In List

whatsapp-icon
WhatsApp Group
whatsapp-icon
Download Android App
whatsapp-icon
Ncert Book Download

Sponsor Area

Stacks & Queues In List

Question
CBSEENCO12011593
Wired Faculty App

Evaluate the following Postfix notation of expression:
4,2,*,22,5,6,+,/,-

Solution
Short Answer
Element Stack Contents  
4 4
2 4,2
* 8
22 8, 22
5 8, 22, 5
6 8, 22, 5, 6
+ 8, 22, 11
/ 8, 2
- 6

  • Bookmark
  • Facebook
  • WhatsApp
  • Twitter
  • Linkedin
  • Copy Link
  • twitter button
  • facebook logo
  • watsapp logo

Some More Questions From Stacks & Queues in list Chapter

Write a statement in Python to perform the following operations:

  • To open a text file “BOOK.TXT” in read mode
  • To open a text file “BOOK.TXT” in write mode

Write a method in python to write multiple line of text contents into a text file myfile.txt line.

Consider the following definition of class Staff, write a method in python to search and display the content in a pickled file staff.dat, where Staff code is matching with ‘S0105’.

class Staff:

	def __init__(self,S,SNM):
		self.Staffcode=S
		self.Name=SNM
	def Show(self):
		print(self.Staffcode,' ',
			self.Name)

 

Write PUSH (Books) and POP (Books) methods in python to add Books and remove Books considering them to act as Push and Pop operations of Stack.

Write a method in python to find and display the prime numbers between 2 to N. Pass N as an argument to the method.

Evaluate the following postfix notation of expression. Show status of the stack after every operation.
84, 62, –, 14, 3, *, +

Sponsor Area

Mock Test Series

Mock Test Series

  • NEET Mock Test Series
  • IIT-JEE Mock Test Series
  • CLAT Mock Test Series
  • SSC-CGL Mock Test Series
  • SSC-CHSL Mock Test Series

NCERT Sample Papers

  • CBSE English Medium
  • CBSE Hindi Medium
  • ICSE

Entrance Exams Preparation

  • NEET
  • IIT-JEE
  • CLAT
  • SSC-CGL
  • SSC-CHSL
Wired Faculty Logo

At Wired Faculty, we bring students a complete digital learning experience with easy-to-understand NCERT solutions, detailed notes, question papers, and syllabus updates. Our mission is to empower learners with accurate, updated, and interactive study content to help them achieve academic excellence.

whatsapp-icon whatsapp-icon

Popular goals

  • IIT-JEE NEET CLAT SSC-CGL SSC-CHSL

Study Material

  • NCERT Classes Previous Year Papers Entrance Exams State Boards

Company

  • Blog Term of Use Privacy Policy

Reach out to us

  • Call +91-9350504919 Mail - support@wiredfaculty.com Location - A2/44 Sector-3 Rohini Delhi 110085

Rated 3 / 5.0 by 36000+ satisfied students on 350+ tutoring projects

Copyright © 2025 wiredfaculty. Powered by - wiredfaculty.com