COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Implementation of recursion
|
|
Evaluation of a postfix expression
|
|
Job scheduling
|
|
Reverse a string
|
Detailed explanation-1: -6. Which of the following is not an inherent application of stack? Explanation: Job Scheduling is not performed using stacks.
Detailed explanation-2: -Which of the following is not an inherent application of stack? Explanation: We can use stack for string reversal, evaluation of postfix expression and most important is implementation of recursion but job scheduling is not done by stack. So, option (C) is correct.
Detailed explanation-3: -Applications of Stack are: To handle matching of parentheses. Memory Management. Evaluation of postfix/prefix expressions. Implementation of recursion.
Detailed explanation-4: -Job scheduling Was this answer helpful?
Detailed explanation-5: -Explanation: Stacks are not used for job scheduling. The stack adheres to the LIFO principle. Job scheduling: One application of queues is job scheduling.