Advertisements
Online Mock Tests
Chapters
![NCERT solutions for कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ chapter 3 - Stack NCERT solutions for कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ chapter 3 - Stack - Shaalaa.com](/images/computer-science-english-class-12_6:3cc34948e1364f88bfa74088b5693c7f.jpg)
Advertisements
Solutions for Chapter 3: Stack
Below listed, you can find solutions for Chapter 3 of CBSE NCERT for कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२.
NCERT solutions for कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ 3 Stack Exercise [Page 52]
State TRUE or FALSE for the following case:
Stack is a linear data structure.
True
False
State TRUE or FALSE for the following case:
Stack does not follow LIFO rule.
True
False
State TRUE or FALSE for the following case:
PUSH operation may result into underflow condition.
True
False
State TRUE or FALSE for the following case:
In POSTFIX notation for expression, operators are placed after operands.
True
False
Find the output of the following code:
result=0
numberList=[10,20,30]
numberList.append(40)
result=result+numberList.pop()
result=result+numberList.pop()
print(“Result=”,result)Find the output of the following code:
answer=[]; output=''
answer.append('T')
answer.append('A')
answer.append('M')
ch=answer.pop()
output=output+ch
ch=answer.pop()
output=output+ch
ch=answer.pop()
output=output+ch
print(“Result=”,output)Write a program to reverse a string using stack.
For the following arithmetic expression:
((2+3)*(4/2))+2
Show step-by-step process for matching parentheses using stack data structure.
Evaluate following postfix expression while showing status of stack after the operation given A = 3, B = 5, C = 1, D = 4.
A B + C *
Evaluate following postfix expressions while showing status of stack after the operation given A = 3, B = 5, C = 1, D = 4.
A B * C / D *
Convert the following infix notations to postfix notations, showing stack and string contents at following step.
A + B - C * D
Convert the following infix notations to postfix notations, showing stack and string contents at following step.
A * ((C + D)/E)
Write a program to create a Stack for storing only odd numbers out of all the numbers entered by the user. Display the content of the Stack along with the largest odd number in the Stack. (Hint. Keep popping out the elements from stack and maintain the largest element retrieved so far in a variable. Repeat till Stack is empty).
Solutions for 3: Stack
![NCERT solutions for कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ chapter 3 - Stack NCERT solutions for कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ chapter 3 - Stack - Shaalaa.com](/images/computer-science-english-class-12_6:3cc34948e1364f88bfa74088b5693c7f.jpg)
NCERT solutions for कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ chapter 3 - Stack
Shaalaa.com has the CBSE Mathematics कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ CBSE solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. NCERT solutions for Mathematics कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ CBSE 3 (Stack) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.
Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. NCERT textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.
Concepts covered in कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ chapter 3 Stack are Concepts of Stacks in Python, Operation on Stack in Python, Implementation of Stack in Python, Notations for Arithmetic Expressions in Python, Conversion from Infix to Postfix Notation in Python, Evaluation of Postfix Expression in Python.
Using NCERT कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ solutions Stack exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in NCERT Solutions are essential questions that can be asked in the final exam. Maximum CBSE कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ students prefer NCERT Textbook Solutions to score more in exams.
Get the free view of Chapter 3, Stack कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ additional questions for Mathematics कम्प्यूटर साइंस [अंग्रेजी] कक्षा १२ CBSE, and you can use Shaalaa.com to keep it handy for your exam preparation.
