ExamVeda
Login
Home
1
Which of the following does the balancing symbols algorithm include?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
2
Find the error (if any) in the following code snippet for pop operation.
void pop() //removing an element from a stack
{
     printf(“%s”, stack[top++]);
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
3
What would be the solution to the given prefix notation?
- * 1 5 / * / 6 3 6 2
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
4
Which data structure can be used to test a palindrome?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
5
Evaluate the following statement using infix evaluation algorithm and choose the correct answer. 4*2+3-5/5
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
6
The result of the postfix expression 5 3 * 9 + 6 / 8 4 / + is . . . . . . . .
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
7
When an operand is read, which of the following is done?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
8
Find the output of the following prefix expression.
*+2-2 1/-4 2+-5 3 1
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
9
Which of the following is an example for a postfix expression?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
10
What should be done when a left parenthesis '(' is encountered?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board