Data structure/Data Structure (DS) MCQ Set 2 MCQs :- multiple choice questions and answers. e.g Data structure MCQS,Data structure Mock Tests , Data structure Practice Papers ,Data structure Sample Test,Data structure Sample questions

Your Session ID :-Guest1776385

Question 1: Suppose implementation supports an instruction REVERSE, which reverses the order of elements on the stack, in addition to the PUSH and POP instructions. Which one of the following statements is TRUE with respect to this modified stack?

a queue cannot be implemented using this stack.

a queue can be implemented where enqueue takes a single instruction and dequeue takes a sequence of two instructions.

a queue can be implemented where enqueue takes a sequence of three instructions and dequeue takes a single instruction.

a queue can be implemented where both enqueue and dequeue take a single instruction each.

Total MCQS Questions are 50 in this paper Data Structure (DS) MCQ Set 2