MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which one of the following is an application of Stack Data Structure?
A
Managing function calls
B
The stock span problem
C
Arithmetic expression evaluation
D
All of the above
Explanation: 

Detailed explanation-1: -Following is the various Applications of Stack in Data Structure: Evaluation of Arithmetic Expressions. Backtracking. Delimiter Checking.

Detailed explanation-2: -Applications of Stack are: Memory Management. Evaluation of postfix/prefix expressions. Implementation of recursion.

Detailed explanation-3: -6. Which of the following is not the application of stack? Explanation: Data transfer between the two asynchronous process uses the queue data structure for synchronisation. The rest are all stack applications.

Detailed explanation-4: -Which of the following is not an inherent application of stack? Explanation: Job Scheduling is not performed using stacks.

There is 1 question to complete.