MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is not an inherent application of stack?
A
Implementation of recursion
B
Evaluation of a postfix expression
C
Job scheduling
D
Reverse a string
Explanation: 

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.

There is 1 question to complete.