Data Structure Questions and Answers-Stack Operations

 

 Buy/Download all MCQ Ebook   >>>Click Here<<<

Data Structure Questions and Answers-Stack Operations

Click on any option to know the CORRECT ANSWERS

Question 1
Process of inserting an element in stack is called .....
A
Create
B
Push
C
Evaluation
D
Pop


Question 2
Process of removing an element from stack is called .....
A
Create
B
Push
C
Evaluation
D
Pod


Question 3
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
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
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.

 

 Buy/Download all MCQ Ebook >>>CLICK HERE<<<