ExamVeda
Login
Home
71
The time complexity of converting a prefix notation to infix notation is . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
72
What will be the output of the following program?
main()  
{  
   char str[]="hello india";  
   int len = strlen(str);  
   int i;  
 
   for(i=0;i<len;i++)  
        push(str[i]);  // pushes an element into stack
 
   for(i=0;i<len;i++)  
      pop();  //pops an element from the stack
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
73
Which is the most appropriate data structure for reversing a word?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
74
What is the number of moves required to solve Tower of Hanoi problem for k disks?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
75
The postfix expression abc+de/*- is equivalent to which of the following infix expression?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
76
An error is thrown if the character '\n' is pushed in to the character stack.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
77
Which of the following is valid reverse polish expression?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
78
The prefix expression of the postfix expression AB+CD-* is . . . . . . . .
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
79
Which of these operators have the highest order of precedence?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
80
From the given expression tree, identify the infix expression, evaluate it and choose the correct result.
Stacks in Data Structures mcq question image
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board