Data Structure Questions and Answers-Stack Operations

YOU CAN DOWNLOAD 200+ SUBJECTS PDF BOOK FOR COMPETITIVE EXAMINATIONS

CLICK HERE TO DOWNLOAD

Data Structure Questions and Answers-Stack Operations

Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Process of inserting an element in stack is called .....
A
Create
B
Push
C
Evaluation
D
Pop
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Process of removing an element from stack is called .....
A
Create
B
Push
C
Evaluation
D
Pod
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In a stack, if a user tries to remove an element from empty stack it is called .....
A
Underflow
B
Empty collection
C
Overflow
D
Garbage Collection
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Pushing an element into stack already having five elements and stack size of 5, then stack becomes
A
Overflow
B
Crash
C
Underflow
D
User flow
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following applications may use a stack?
A
A parentheses balancing program
B
Tracking of local variables at run time
C
Compiler Syntax Analyzer
D
All of the mentioned
Question 5 Explanation: 
All are applications of stack.

There are 5 questions to complete.